How to set policy for drop STP packet

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered

How to setting policy for deny STP packet?
Our network become very slow, because our wireless APs has transmit a lot STP packet.

Our switch is b5 series and K series.
Photo of Shuo Tseng

Shuo Tseng

  • 370 Points 250 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Paul Poyant

Paul Poyant, Employee

  • 3,516 Points 3k badge 2x thumb
The 'set spantree portadmin  <port-string{enable | disable}' command will enable/disable the Spanning Tree protocol on a per-port basis as long as STP is globally enabled (this is the default). If per-port spantree portadmin is disabled, any received BPDUs will be discarded and no BPDUs will be transmitted out this port. This command has no effect if STP is globally disabled ('set spantree stpmode none').

So, with spantree remaining globally enabled on the B5-Series or K-Series switch, just...

set spantree portadmin  <AP-connected portdisable

Two additional points:
  • Upon initial configuration, the resulting change to the existing Spanning Tree topology may be detected and reported as such.
  • With this firewalling of STP intercommunication, the protocol will no longer protect against network loops made possible by a combination of wired and wireless redundancy.