Multiple Instance Spanning-Tree Operation

Configuring MSTP

Example. To configure BPDU protection on ports 1 to 10 with SNMP traps enabled, enter:

ProCurve(config)# spanning-tree 1-10 bpdu protection

ProCurve(config)# spanning-tree trap errant-bpdu

The following steps will then be set in process:

1.When an STP BPDU packet is received on ports 1-10, STP treats it as an unauthorized transmission attempt and shuts down the port that the BPDU came in on.

2.An event message is logged and an SNMP notification trap is generated.

3.The port remains disabled until re-enabled manually by a network admin- istrator using the interface <port-list>enable command.

N o t e

To re-enable the bpdu-protected ports automatically, configure a timeout

 

period using the spanning-tree bpdu-protection-timeout command.

 

 

Viewing BPDU Protection Status. The show spanning-treebpdu-protectioncommand displays a summary listing of ports with BPDU protection enabled. To display detailed per port status information, enter the specific port number(s) as shown in Figure 4-8below.

ProCurve(config)# show spanning-tree bpdu-protection a1

Status and Counters - STP BPDU Protection Information

BPDU Protection Timeout (sec) : 0

Protected Ports : A1

Specifying the port displays additional status information for the designated ports.

Port

Type

Protection

State

Errant BPDUs

----

------------

-------------

--------------

---------------

A1

100/1000T

Yes

Bpdu Error

1

Figure 4-8. Example of Show Spanning Tree BPDU Protection Command

4-33