To do...
Enter system view
Configure the specified ports as
edge ports
Configure a port as an edge port in Ethernet port view
Follow these steps to configure a port as an edge port in Ethernet port view:
To do...
Enter system view
Enter Ethernet port view
Configure the port as an edge
port
On a switch with BPDU guard disabled, an edge port becomes a non-edge port again once it receives a
BPDU from another port.
You are recommended to configure the Ethernet ports connected directly to terminals as edge ports
and enable the BPDU guard function at the same time. This not only enables these ports to turn to the
forwarding state rapidly but also secures your network.
Configuration example
# Configure GigabitEthernet 1/0/1 as an edge port.
1)
Configure GigabitEthernet 1/0/1 as an edge port in system view
<Sysname> system-view
[Sysname] stp interface GigabitEthernet 1/0/1 edged-port enable
2)
Configure GigabitEthernet 1/0/1 as an edge port in Ethernet port view
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp edged-port enable
Specifying Whether the Link Connected to a Port Is Point-to-point Link
A point-to-point link directly connects two switches. If the roles of the two ports at the two ends of a
point-to-point link meet certain criteria, the two ports can turn to the forwarding state rapidly by
exchanging synchronization packets, thus reducing the forward delay.
Use the command...
system-view
stp interface interface-list
edged-port enable
Use the command...
system-view
interface interface-type
interface-number
stp edged-port enable
1-26
Remarks
—
Required
By default, all the Ethernet
ports of a switch are non-edge
ports.
Remarks
—
—
Required
By default, all the Ethernet
ports of a switch are non-edge
ports.