mode access to mode trunk
I got a Cisco 2950 swicth where a port is configured "access vlan 54". I want to make vlan 54 native on this and put a vlan 150 over it.
I then have to enter something like:
interface FastEthernet0/4 description vers switch admin1 fa0/17 switchport trunk encapsulation dot1q switchport trunk native vlan 54 switchport trunk allowed vlan 54,150 no cdp enableUnfortunately, when runnnig the configuration, I get:
interface FastEthernet0/4 description vers switch admin1 fa0/17 switchport trunk encapsulation dot1q switchport trunk native vlan 54 switchport trunk allowed vlan 54,150 switchport mode dynamic desirable no cdp enableWhatever I tried, I always got the "switchport mode dynamic desirable"...
no, then mode trunk
The solution was to negate the dynamic and directly force trunk. I entered the configuration in this order:
interface FastEthernet0/4 no switchport mode dynamic desirable switchport mode trunk switchport trunk encapsulation dot1q switchport trunk native vlan 54 switchport trunk allowed vlan 54,150 no cdp enableI'm done!