Friday, February 8, 2019

Switch becoming unreachable when issuing switchport mode trunk

A port on an upstream switch connected to a downstream switch is set to an access port. The port on the downstream switch was left at it's defaults. When issuing switchport mode trunk on the downstream switch, I can no longer ping the downstream switch. I issued the commands below on the upstream switch right after configuring the downstream switch as a trunk port and still can't ping the downstream switch. Before making changes to the downstream switch I issue the reload in 5 command, to wipe out any changes that cause loss of access. Both switches using VLAN 1 as the native VLAN. Does anyone think that deleting the vlan.dat file on the downstream switch would help? Has anyone encountered this situation before?

The only error messages that the switches give is a mismatched native VLAN on ports g1/0/12 (525) and g1/1/1(1)

interface GigabitEthernet1/0/12- G1/1/1switchport trunk allowed vlan 11,220,525switchport mode trunkswitchport trunk encapsulation dot1qspanning-tree bpduguard disableservice-policy output 2P6Q3Tend

The working configs are as follows:

Upstream switch:

interface GigabitEthernet1/0/12description to Downstream switch G1/1/1switchport access vlan 525switchport mode accessswitchport nonegotiateno logging event link-statusstorm-control broadcast level 5.00spanning-tree bpduguard disableservice-policy input IPPHONE+PC-DATAend

Downstream switch:

interface GigabitEthernet1/1/1switchport trunk allowed vlan 1,525spanning-tree portfast disablespanning-tree bpduguard disableend



No comments:

Post a Comment