Root Bridge Configuration 177
Configuration procedure in system view
Configuration procedure in Ethernet port view
On a switch with BPDU protection not enabled, an edge port becomes a non-edge
port again once it receives a BPDU from another port.
It is recommended that you configure Ethernet ports with terminals directly
connected to be edge ports and enable BPDU protection on them. This not only
allows the ports to transit to the forwarding state rapidly, but also secures the
network.
Configuration example
Configure Ethernet1/0/1 port to be an edge port.
Configure in system view.
<S5500> system-view
System View: return to User View with Ctrl+Z.
[S5500] stp interface ethernet1/0/1 edged-port enable
Configure in Ethernet port view.
<S5500> system-view
System View: return to User View with Ctrl+Z.
[S5500] interface ethernet1/0/1
[S5500-Ethernet1/0/1] stp edged-port enable
Specifying whether a
Port Connect to
Point-to-Point Link
A point-to-point link directly connects two switches. If the two ports at the two ends
of a point-to-point link meet certain role criteria, they can transit to the forwarding
state rapidly by exchanging and processing synchronization packets, eliminating the
forwarding delay.
You can configure a port to connect to a point-to-point link in either system view or
Ethernet port view.
Table153 Set a port as an edge port in system view
Operation Command Description
Enter system view system-view -
Configure the specified ports
to be edge ports
stp interface interface-list
edged-port enable
Required
By default, all Ethernet ports of a
switch are non-edge ports.
Table154 Set a port as an edge port in Ethernet port view
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Configure the port to be an
edge port
stp edged-port enable Required
By default, all Ethernet ports of a
switch are non-edge ports.