cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
206
Views
0
Helpful
2
Replies

Very basic question about 3550 switchport behavior

wsanders1
Level 1
Level 1

I have an old 3550 at my desk here, IOS 12.1(13), newly restored to default configuration. When I connect it to my LAN, which is a port on another 3550 running 12.1(22), the other 3550 immediately shuts down its port with a SPANTREE-7-RECV_1Q_NON_TRUNK and SPANTREE-7-BLOCK_PORT_TYPE error.

The port on my LAN switch is configured in "switchport access" mode, with "switchport access vlan 120", so I understand why this would happen if it was connected to a trunk port on my deskside switch.

However, I thought the default switchport mode for my deskside switch was "dynamic desirable"? In which case the port does not trunk unless the other side tells it to?

Obviously my deskside switch is sending out BPDUs for VLAN 1, and the other side is VLAN 120, but I get a separate CDP-4-NATIVE_VLAN_MISMATCH error for that, and I don't think that's the condition shutting the LAN port down.

My question is - it this the way "dynamic desirable" is supposed to work?

Of course I can fix this by setting both ports to access mode and VLAN 120 but I'm curious about the root cause. Thanks.

(I am not trying to trunk between the switches, I'm just trying to set up deskside to upgrade the IOS.)

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Wiley

"However, I thought the default switchport mode for my deskside switch was "dynamic desirable"? In which case the port does not trunk unless the other side tells it to?"

The above description applies to a port set to auto mode. Dynamic desirable means the port will actively try and form a trunk -

http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a0080094713.shtml#dtp

Jon

FWIW, on the 3550 your choices of switchport modes are: access, dot1q-tunnel, trunk, dynamic auto, and dynamic desirable.

A newly cleared config, at least in 12.2, has "switchport mode dynamic desirable" in every interface subconfig.

Anyway, setting "switchport mode access" and setting up the correct vlan on the port prevents any problems, it's just interesting that tossing a newly cleared box on your network can bring it down.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card