1-27
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 GigabitEthernet1/0/1 as an edge port in system view
<device> system-view
[device] stp interface GigabitEthernet1/0/1 edged-port enable
2) Configure GigabitEthernet 1/0/1 as an edge port in Ethernet port view
<device> system-view
[device] interface GigabitEthernet1/0/1
[device-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 devices. 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.
You can determine whether or not the link connected to a port is a point-to-point link in one of the
following two ways.

Specify whether the link connected to a port is point-to-point link in system view

Follow these steps to specify whether the link connected to a port is point-to-point link in system view:
To do… Use the command… Remarks
Enter system view system-view
Specify whether the link
connected to a port is
point-to-point link
stp interface interface-list
point-to-point { force-true |
force-false | auto }
Required
The auto keyword is adopted
by default.

Specify whether the link connected to a port is point-to-point link in Ethernet port view

Follow these steps to specify whether the link connected to a port is point-to-point link in Ethernet port
view:
To do… Use the command… Remarks
Enter system view system-view
Enter Ethernet port view interface interface-type
interface-number