Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-13
If the current Ethernet port is connected to other switch, you can use the stp
edged-port disable command to configure it as a non-edge port. The stp edged-port
enable command is used for configuring the 0port 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.
For the related command, see stp interface edged-port.
Example
# Configure Ethernet2/0/1 as an edge port.
[Quidway-Ethernet2/0/1] stp edged-port disable
1.1.14 stp interface
Syntax
stp interface interface-list { enable | disable }
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: Enables MSTP on the port.
disable: Disables MSTP on the port.
Description
Using stp interface command, you can enable/disable MSTP on a switch port in
system view.
By default, if MSTP is enabled globally, it is enabled on every port; if MSTP is disabled
globally, it is also disabled on every port.