Skip to main content
K

Mon, Dec 14, 2020 8:38 AM

How to config the trunk port between 2 ICX 7150 switches for pinging through same vlan id and the configuration commands

Hi all,


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:


2nd:

       PC1(192.168.1.100)----2nd:1/1/1(vlan 2)

                    Trunk port-----2nd:1/1/12(untagged)

                                            |

                    Trunk port-----1st:1/1/24(untagged)

       PC2(192.168.1.101)-----1st:1/1/1(vlan 2)


Ping test: PC2 ping 192.168.1.100

Thanks in advanced!

Responses

5 Messages

 • 

62 Points

3 months ago

Physical connection

9 Messages

 • 

148 Points

I can recommend making them in to a stack. They are then just managed as a single switch so you do not have to manage trunks.

5 Messages

 • 

62 Points

Hi Greg,

Thank you for your advice. But, I am not sure whether I can apply it on my case since these 2 switches are located on 2 different floors. Therefore, I am try to connect them via trunk port instead of switch stacking as one switch.

Employee

 • 

58 Messages

 • 

940 Points

3 months ago

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#vlan 2

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

Cheers,

Sunny

5 Messages

 • 

62 Points

Hi Sunny,

After applied your steps, I success to ping between them.

You are correct:

I want to connect the vlan 2's ports(e.g.1/1/1-1/1/4 on 12p switch) to another switch vlan 2's ports(e.g.1/1/1-1/1/8 on 24p switch) for same department staff PCs communication.

But, I don't understand why should i need untagging the eth 1/1/1? Is it because I need to remove the extra header/tag during the trunk transportation.

Cheers,

Kelvin

Employee

 • 

58 Messages

 • 

940 Points

Hi Kelvin,

When you set the port to untag VLAN-2 any traffic received on the port with no 802.1q header will have a header added for VLAN-2.  This will then allow the packet to be sent to the other ports of the same VLAN#.

Any devices that don't do VLAN tagging should be connected to an UNTAGGED port.  Between switches you can set up trunked ports as TAGGED on all the relevant VLANs.

All the best!

5 Messages

 • 

62 Points

Hi Sunny,

Thank you for your detail explanation.

Regards,

Kelvin