Command Manual – MSTP 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 1  MSTP Configuration Commands
 
Huawei Technologies Proprietary 
1-22 
disable: Configures the specified Ethernet ports to be non-edge ports. 
Description 
Use the stp interface edged-port enable command to configure the specified 
Ethernet port(s) as edge ports in system view. 
Use the stp interface edged-port disable command to configure the specified 
Ethernet port(s) as non-edge ports in system view. 
Use the undo stp interface edged-port command to restore the specified Ethernet 
port(s) to their default states. 
By default, all Ethernet ports of a switch are non-edge ports. 
An edge port is a port that is directly connected to a user terminal instead of another 
switch or a network segment. Rapid transition is applied to edge ports because, on 
these ports, no loops can be incurred by network topology changes. You can enable a 
port to transit to the forwarding state rapidly by setting it to an edge port. And you are 
recommended to configure the Ethernet ports directly connected to user terminals as 
edge ports to enable them to transit to the forwarding state rapidly. 
Normally, configuration BPDUs cannot reach an edge port because the port is not 
connected to another switch. But when the BPDU protection function is disabled on an 
edge port, configuration BPDUs sent deliberately by a malicious user may reach the 
port. If an edge port receives a BPDU, it turns to a non-edge port. 
Related command: stp edged-port. 
 
  Caution: 
Among loop prevention function, root protection function and edge port setting, only 
one can be valid on a port at one time. 
 
Example 
# Configure Ethernet1/0/3 port as an edge port in system view. 
<Quidway> system-view  
System View: return to User View with Ctrl+Z. 
[Quidway] stp interface Ethernet 1/0/3 edged-port enable 
1.1.21  stp interface loop-protection 
Syntax 
stp interface interface-list loop-protection