Chapter 4 Service Configuration
4.12.23 set stp instance port/trunk root-guard
Purpose
This command enables or disables the root-guard function of a port or trunks in an instance.
Command Mode
Global configuration mode
Syntax
set stp instance
<
0-63
>{
port
<
1-52
>|
trunk
<
trunklist
>}
root-guard
{
enable
|
disable
}
Parameter Description
Parameter
Description
<
0-63
>
Instance ID.
port
<
1-52
>
Port number. Different devices have different port number ranges.
In the syntax, the 2952E device is used as an example.
trunk
<
trunklist
>
Trunk list.
enable
Enables the root-guard function.
disable
Disables the root-guard function.
Guidelines
The root-guard function is generally used in the condition that a root switch requires to
be specified. When the port enabling root-guard receives a BPDU message with a higher
priority, the port will be blocked for network protection.
4.12.24 set stp instance port/trunk loop-guard
Purpose
This command enables or disables the loop-guard function of a port or trunks in an
instance.
Command Mode
Global configuration mode
Syntax
set stp instance
<
0-63
>{
port
<
1-52
>|
trunk
<
trunklist
>}
loop-guard
{
enable
|
disable
}
4-207
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential