I have 2 ICX 1750 switches(1st ICX7150-24P & 2nd ICX7150-C12P) and trying to connection them by a trunk port(1st:1/1/24 & 2nd:1/1/12).But, I don't know the configuration commands.
My target is trying to ping through the PC on Same Vlan 2 of 2 switches and the connection topology as below:
Ping test: PC2 ping 192.168.1.100
Thanks in advanced!
You can only stack using 10G, which can be done across floors however you would need fiber cable and transceivers. Looks like you just want to connect them via 1G RJ45 Ethernet instead of a stack. No Problem!
Your trunk ports should carry all relevant VLANs. In this case I guess it is only vlan2? so then for ports 1/1/12 and 1/1/24 need to add tagged vlan2;
config-vlan2#tagged eth 1/1/12 [and tagged eth 1/1/24 on other switch)
you should now be able to ping between them. Also, I'm assuming that port 1/1/1 is set as untagged i.e.
config-vlan2#untagged eth 1/1/1