Disabling Spanning-Tree of a port by port basis

Answered Question

Hi There,

Is it possible to completely disable spanning-tree on a trunk port. I have a situation were a Sun server will be connected to a trunk port and will be tagging packets with various vlan ids. I have been told that the port must have spanning-tree disabled (yes I know its madness).

I had previously thought that it was only possible to turn vlan off on a vlan by vlan basis on a switch.

Is it possible to turn spanning-tree off on an individual port basis.

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 7 years 11 months ago

Jim

You can effectively turn off STP for a port by using the "spanning-tree bpdufilter enable" command under the interface -

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

Do you know why you have to disable it. If it is an issue with the NIC taking 45 seconds to begin forwarding you could look to use "spanning-tree portfast trunk" which allows the trunk port to begin forwarding immmediately but still runs STP - it's like normal portfast but for trunk links. It should never really be used on switch to switch links but it is fine for servers with trunk links.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (1 ratings)
Loading.
Correct Answer
Jon Marshall Tue, 12/16/2008 - 08:02

Jim

You can effectively turn off STP for a port by using the "spanning-tree bpdufilter enable" command under the interface -

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

Do you know why you have to disable it. If it is an issue with the NIC taking 45 seconds to begin forwarding you could look to use "spanning-tree portfast trunk" which allows the trunk port to begin forwarding immmediately but still runs STP - it's like normal portfast but for trunk links. It should never really be used on switch to switch links but it is fine for servers with trunk links.

Jon

Actions

This Discussion