ZXR10 5250 Series Command Reference
4.12.7 set stp port bpdu-guard
Purpose
This command enables or disables the Bridge Protocol Data Unit (
) protection
function for ports.
Command Mode
Global configuration mode
Syntax
set stp port
<
portlist
>
bpdu-guard
{
enable
|
disable
}
Parameter Description
Parameter
Description
<
portlist
>
Port list.
enable
Enables the BPDU protection function for ports.
disable
Disables the BPDU protection function for ports.
Guidelines
If the protection function is enabled, when the ports receive a BPDU message, the ports
will be disconnected.
Default
The BPDU protection function is disabled.
Example
The following example enables the BPDU protection function for port 2:
zte(cfg)#set stp port 2 bpdu-guard enable
4.12.8 set stp bpdu-interval
Purpose
This command sets the interval for BPDU protection recovery.
Command Mode
Global configuration mode
Syntax
set stp bpdu-interval
<
10-65535
>
4-198
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential