DGS-1100/ME Metro Ethernet Managed Switch CLI Reference Guide
25
SPANNING TREE PROTOCOL COMMANDS
The Spanning Tree Protocol commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameter
config stp ports
<portlist> edge [true | false | auto]
show stp ports
{portlist <portlist>}
config stp trap
{ new_root [ enable | disable ] | topo_change [ enable | disable ] } (1)
config stp version
[rstp | stp]
enable stp
disable stp
show stp
Each command is listed in detail, as follows:
config stp ports
Purpose
To set the edge state of each port.
Syntax
config stp ports <portlist> edge [true | false | auto]
Description
The
config stp ports
command sets the edge mode of each port.
The default value is true mode.
Parameters
<portlist> –
Specifies the port list to be configured.
edge [true | false | auto] –
To set the STP mode of the ports. The
mode specified below:
•
true –
The port will connect to a network immediately, rather
than waiting for the spanning tree to converge.
•
false –
The port cannot enter forwarding state until the
spanning tree converge.
•
auto –
The port will delay for a period and become edge port
if no bridge BPUD is received.
Restrictions
Only administrator-level users can issue this command.
130