[c-nsp] 2900 -> 2960 config question

Joseph Mays mays at win.net
Thu Sep 20 16:52:23 EDT 2012


I'm replacing a Cisco 2900XL running  12.0(5)WC13 with a Cisco 2960 running 12.2(25r)FX. I just cut and pasted the config from the 2900 into the 2960, and it all seemed to work fine, except the new IOS on the 2960 does not accept one command --


Enter configuration commands, one per line.  End with CNTL/Z.
sw1.dist(config)#interface FastEthernet0/1
sw1.dist(config-if)# description Trunk port to gw1.dist.win.net
sw1.dist(config-if)# duplex full
sw1.dist(config-if)# speed 100
sw1.dist(config-if)# switchport trunk encapsulation dot1q
                                      ^
% Invalid input detected at '^' marker.

sw1.dist(config-if)# switchport mode trunk
sw1.dist(config-if)# no cdp enable

The port still gets set to trunk mode in the switch. Is it a problem that the encapsulation is not set?

In the 2900XL --

interface FastEthernet0/1
 description Trunk port to gw1.dist.win.net
 duplex full
 speed 100
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no cdp enable

In the 2960 --

interface FastEthernet0/1
 description Trunk port to gw1.dist.win.net
 switchport mode trunk
 speed 100
 duplex full
 no cdp enable



More information about the cisco-nsp mailing list