Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

STP port disable

Is it possible to keep a particular port (access or trunk) out of the spanning tree even though STP is enabled on the VLAN that the port belongs to? If so, how?

I would like to have no control protocols enabled on a particular NNI, and I can do this on other non-cisco switches.

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: STP port disable

You can effectively disable STP for a port if you use the "spanning-tree bpdufilter.." command - see attached link

http://www.cisco.com/en/US/docs/ios/lanswitch/command/reference/lsw_s2.html#wp1014574

Jon

7 REPLIES
Bronze

Re: STP port disable

when an access port is configured with span portf, that port no longer participate in the STP.

rgds,

Purple

Re: STP port disable

That is incorrect , spantree portfast does not turn off spanning tree it just eliminates a couple of the spanning tree states so the port comes active faster, spanning tree is still running on that port...

Silver

Re: STP port disable

On access port if you define portfast & bpduguard.

Port will be disabled if it gets BPDU means tries to take part in STP.

Hall of Fame Super Blue

Re: STP port disable

You can effectively disable STP for a port if you use the "spanning-tree bpdufilter.." command - see attached link

http://www.cisco.com/en/US/docs/ios/lanswitch/command/reference/lsw_s2.html#wp1014574

Jon

New Member

Re: STP port disable

The spanning-tree bpdufilter seemed the best option to me, because the port never actually gets to the disabled/blocked state. Thanks for your help.

Here are some details I found on a different site -

The "spanning-tree bpdufilter enable" command on an interface is approximately equivalent to disabling the spanning tree for an interface.

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.1E/native/command/reference/S1.html#wp1179280

BPDU filtering allows you to prevent a port from sending and receiving BPDUs. The configuration is applicable to the whole interface, whether it is trunking or not. This command has three states:

•spanning-tree bpdufilter enable-This state unconditionally enables the BPDU filter feature on the interface.

•spanning-tree bpdufilter disable-This state unconditionally disables the BPDU filter feature on the interface.

•no spanning-tree bpdufilter-This state enables the BPDU filter feature on the interface if the interface is in operational PortFast state and if the spanning-tree portfast bpdufilter default command is configured.

Blue

Re: STP port disable

Thanks for getting back to the board with that extra information.

Rated...

Victor

New Member

Re: STP port disable

no spanning-tree vlan X

will turn off STP for the vlan

271
Views
3
Helpful
7
Replies
CreatePlease to create content