Switch 7700 Command reference Guide, v2.0

Table Of Contents
MSTP Configuration Commands 325
stp edged-port Syntax
stp edged-port { enable | disable }
undo stp edged-port
View
Ethernet port view
Parameter
enable: Configure the current port as an edge port.
disable: Configure the current port as a non-edge port.
Description
Use the stp edged-port enable command to configure the current Ethernet
port as an edge port.
Use the stp edged-port disable command to configure the current Ethernet
port as a non-edge port.
Use the undo stp edged-port command to restore the default state, that is,
non-edge port.
By default, all the switch ports are configured as non-edge port.
If the current Ethernet port is connected to other switch, you can use the stp
edged-port disable
or no stp edged-port command to configure it as a
non-edge port. The
stp edged-port enable command is used for configuring
the port as an edge port.
A port is considered as an edge port when it is directly connected to the user
terminal, instead of any other switches or shared network segments. The edge
port will not cause loop upon network topology changes. Accordingly, you can
configure a port as an edge port, so that it can transit to forwarding state fast. For
this purpose, please configure the Ethernet port directly connected to the user
terminal as an edge port.
Because the edge port is not connected to any other switches, it will not receive
the configuration BPDUs from them. Before BPDU PROTECTION is enabled on the
switch, the port received a BPDU runs as a non-edge port, even if it is configured
as edge port.
Related command: stp interface edged-port.
Example
Configure Ethernet5/0/1 as an edge port.
[SW7700-Ethernet5/0/1]stp edged-port disable
stp instance cost Syntax
stp instance instance-id cost cost
undo stp instance instance-id cost