Switch 7700 Command reference Guide, v2.0

Table Of Contents
330 CHAPTER 8: USING STP COMMANDS
stp interface edged-port Syntax
stp interface interface-list edged-port {enable | disable }
undo stp interface interface-list edged-port
View
System view
Parameter
interface-list: Ethernet port list, containing multiple Ethernet ports and
expressed as
interface _list = { { interface_type interface_num |
interface_name } [ to { interface_type interface_num | interface_name } ]
}&<1-10>. For detail descriptions of
interface_type, interface_num and
interface_name parameters, refer to the corresponding descriptions in Port
Command Manual. &<1-10> means that the preceding parameters can be
entered up to 10 times.
enable: Configure the current port as an edge port.
disable: Configure the current port as a non-edge port.
Description
Use the stp interface edged-port enable command to configure a port as
an edge port in system view.
Use the stp interface edged-port disable command to configure a port
as a non-edge port in system view.
Use the undo stp interface edged-port command to restore the non-edge
port, as defaulted.
By default, all the switch ports are configured as non-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. If the current Ethernet port is connected to other switch,
you can use the
stp interface edged-port disable or no stp interface
edged-port
command to configure it as a non-edge port. The stp interface
edged-port enable command
is used for configuring the port 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 edged-port.
Example
Configure Ethernet5/0/3 as an edge port in system view.
[SW7700]stp interface Ethernet5/0/3 edged-port enable