Help! I'm trying to setup a trunk between 2 x 2950 switches so that I can access all vlans from both switches. Devices patched into vlan1 can see each other no problem but I can't seem to get any other vlans working over the trunk. I'm testing by pinging the devices patched into the appropriate vlans on the other switch - there's no routing involved. Configs of both switches are below - any help would be greatly appreciated!
Cheers, John
SWITCH1#show running-config Building configuration...
Current configuration : 3339 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log datetime no service password-encryption service sequence-numbers ! hostname SWITCH1 ! enable secret 5 ------------------- enable password ------------------- ! ip subnet-zero no ip finger ! ! no spanning-tree vlan 2 no spanning-tree vlan 3 no spanning-tree vlan 4 no spanning-tree vlan 5 no spanning-tree vlan 6 ! ! interface FastEthernet0/1 switchport mode access duplex full speed 100 ! interface FastEthernet0/2 switchport access vlan 5 switchport mode access duplex full speed 100 ! interface FastEthernet0/3 switchport mode access ! interface FastEthernet0/4 switchport mode access duplex full speed 100 ! interface FastEthernet0/5 switchport mode access duplex full speed 100 ! interface FastEthernet0/6 switchport mode access ! interface FastEthernet0/7 switchport mode access ! interface FastEthernet0/8 switchport mode access ! interface FastEthernet0/9 switchport access vlan 3 switchport mode access duplex full speed 10 ! interface FastEthernet0/10 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/11 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/12 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/13 switchport access vlan 3 switchport mode access duplex full speed 10 ! interface FastEthernet0/14 switchport access vlan 2 switchport mode access duplex full speed 10 ! interface FastEthernet0/15 switchport access vlan 2 switchport mode access duplex full speed 10 ! interface FastEthernet0/16 switchport access vlan 2 switchport mode access duplex full speed 10 ! interface FastEthernet0/17 switchport access vlan 2 switchport mode access duplex full speed 10 ! interface FastEthernet0/18 switchport access vlan 5 switchport mode access duplex full speed 100 ! interface FastEthernet0/19 switchport access vlan 5 switchport mode access duplex full speed 100 ! interface FastEthernet0/20 switchport mode trunk switchport nonegotiate duplex full speed 10 ! interface FastEthernet0/21 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/22 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/23 switchport access vlan 4 switchport mode access duplex full speed 100 ! interface FastEthernet0/24 switchport access vlan 6 switchport mode access ! interface Vlan1 ip address 192.168.1.3 255.255.255.0 no ip route-cache ! ip http server ! line con 0 transport input none line vty 0 4 password ---------- login line vty 5 15 password M---------- login ! end
SWITCH1#show interface trunk
Port Mode Encapsulation Status Native vlan Fa0/20 on 802.1q trunking 1
Port Vlans allowed on trunk Fa0/20 1-1005
Port Vlans allowed and active in management domain Fa0/20 1-5,99
Port Vlans in spanning tree forwarding state and not pruned Fa0/20 1-5,99
----------------------------------------------------------------------------------------
SWITCH2#show running-config Building configuration...
Current configuration : 1346 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SWITCH2 ! enable secret 5 ------------------- enable password ------------------- ! ip subnet-zero ! ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id no spanning-tree vlan 2-6 ! ! ! ! interface FastEthernet0/1 switchport mode trunk switchport nonegotiate speed 10 duplex full spanning-tree bpduguard disable ! interface FastEthernet0/2 switchport mode access speed 100 duplex full ! interface FastEthernet0/3 switchport mode access speed 100 duplex full ! interface FastEthernet0/4 switchport access vlan 2 switchport mode access duplex full speed 100 ! interface FastEthernet0/5 switchport access vlan 2 switchport mode access duplex full speed 100 ! interface FastEthernet0/6 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/7 switchport access vlan 3 switchport mode access duplex full speed 100 ! interface FastEthernet0/8 switchport access vlan 4 switchport mode access duplex full speed 100 ! interface FastEthernet0/9 switchport access vlan 4 switchport mode access duplex full speed 100 ! interface FastEthernet0/10 switchport access vlan 5 switchport mode access duplex full speed 100 ! interface FastEthernet0/11 switchport access vlan 5 switchport mode access duplex full speed 100 ! interface FastEthernet0/12 speed 100 duplex full ! interface Vlan1 ip address 192.168.1.2 255.255.255.0 no ip route-cache ! ip http server ! line con 0 line vty 0 4 password ---------- login line vty 5 15 password ---------- login ! ! end
SWITCH2#show interface trunk
Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1
Port Vlans allowed on trunk Fa0/1 1-4094
Port Vlans allowed and active in management domain Fa0/1 1-5,99
Port Vlans in spanning tree forwarding state and not pruned