Configuring Ports as
Edge Ports
n
Configuring Whether
Ports Connect to
Point-to-Point Links
If a port directly connects to a user terminal rather than another device or a shared
LAN segment, this port is regarded as an edge port. When a network topology
change occurs, an edge port will not cause a temporary loop. Therefore, if you
specify a port as an edge port, this port can transition rapidly from the blocked
state to the forwarding state without delay.
Configuration procedure
Following these steps to specify a port or a group of ports as edge port(s):
To do...
Enter system view
Enter Ethernet
Enter Ethernet
interface view
interface view
or port group
Enter port
view
group view
Configure the port(s) as edge
port(s)
With BPDU guard disabled, when a port set as an edge port receives a BPDU
■
from another port, it will become a non-edge port again. In this case, you must
reset the port before you can configure it to be an edge port again.
If a port directly connects to a user terminal, configure it to be an edge port
■
and enable BPDU guard for it. This enables the port to transition to the
forwarding state while ensuring network security.
Configuration example
# Configure Ethernet1/0 to be an edge port.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] stp edged-port enable
A point-to-point link is a link directly connecting with two devices. If the two ports
across a point-to-point link are root ports or designated ports, the ports can
rapidly transition to the forwarding state after a proposal-agreement handshake
process.
Configuration procedure
Following these steps to configure whether a port or a group of ports connect to
point-to-point links:
To do...
Enter system view
Configuring the Root Bridge
Use the command...
system-view
interface interface-type
interface-number
port-group { manual
port-group-name |
aggregation agg-id }
stp edged-port enable
Use the command...
system-view
467
Remarks
-
User either command
Configured in Ethernet
interface view, the setting is
effective on the current port
only; configured in port
group view, the setting is
effective on all ports in the
port group.
Required
All Ethernet ports are
non-edge ports by default
Remarks
-