H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration
1-20
I. Configuration procedure (in system view)
Follow these steps to configure a port as an edge port (in system view):
To do ... Use the command ... Remarks
Enter system view
system-view
Configure the
specified ports as
edge ports
stp interface interface-list
edged-port enable
Required
By default, all the Ethernet
ports of a switch are non-edge
ports.
II. Configuration procedure (in Ethernet port view)
Follow these steps to configure a port as an edge port (in Ethernet port view):
To do ... Use the command ... Remarks
Enter system view
system-view
Enter Ethernet port
view
interface interface-type
interface-number
Configure the port
as an edge port
stp edged-port enable
Required
By default, all the Ethernet ports
of a switch are non-edge ports.
On a switch with BPDU guard not enabled, an edge port becomes a non-edge port
again once it receives a BPDU from another port.
Note:
You are recommended to configure the Ethernet ports connected directly to terminals
as edge ports and enable the BPDU guard function as well. This not only enables these
ports to transit to forwarding state rapidly but also secures your network.
III. Configuration example
# Configure Ethernet2/0/1 as an edge port.
1) Configure in system view.
<H3C> system-view
[H3C] stp interface ethernet2/0/1 edged-port enable
2) Configure in Ethernet port view.
<H3C> system-view
[H3C] interface ethernet2/0/1