08-24-2008 06:20 AM - edited 03-06-2019 12:58 AM
I am having the problem to do the trunking between cisco switch 2960 and 3com switch 4500? Seems both of them cannot communicate with each other. Anyone can help? Below is the command from both of the switches.
Cisco :
switchport access vlan 50
switchport mode trunk
3Com:
port link-type trunk
port trunk permit vlan 50
08-24-2008 08:07 AM
Hi,
You have to define trunk encapsulation on the port:
switchport trunk encapsulation dot1q
Also, "switchport access vlan 50" is not necessary since it is uses for access port, not on trunk port.
HTH,
jerry
08-25-2008 06:05 AM
if i do not assign "switchport access vlan 50", how I know that particular trunk port is for vlan 50?
08-25-2008 07:12 AM
Hi,
first you define this Cisco port as an uplink port to the 3Com Switch and put .1q encapsualation on it:
- switchport mode trunk
- switchport trunk encapsulation dot1q
Then you define the vlans which shall run over this port (not necessary when all vlans shall be allowed):
- switchport trunk allowed vlan add 1,2,10
or you say allow all vlans except...
- switchport trunk allowed vlan except 1,2,10
maybe you should define speed and duplex on both port statically - not auto!
Greetz from Germany ;)
08-25-2008 11:26 AM
Like described in Alexander's post, by default, all VLAN's will allow to traverse a trunk port. If you want to limit/control a specific VLAN's to traverse over the trunk port, you can configure with the command:
switchport trunk allowed vlan x,y,z
HTH,
jerry
08-25-2008 11:31 AM
Just to clarify, as others have said you need to remove the "switchport access vlan 50" part of your config.
However the 2960 only supports 802.1q encapsulation so the command "switchport trunk encapsulation dot1q" is not necessary and won't be available.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide