Command Manual – MSTP
H3C S7500E Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-20
1.1.20 stp edged-port
Syntax
stp edged-port
{
enable
|
disable
}
undo stp edged-port
View
Ethernet interface view, port group view
Parameters
enable
: Configures the current port to be an edge port.
disable
: Configures the current port to be a non-edge port.
Description
Use the
stp edged-port enable
command to configure the port(s) to be an edge port or
edge ports.
Use the
stp edged-port disable
or
undo stp edged-port enable
command to
configure the port(s) to be a non-edge port or non-edge ports.
All Ethernet ports are non-edge ports by default.
Note that:
z
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.
z
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 the network topology
changes, an edge port will not cause a temporary loop. Therefore, configuring a
port as an edge port can enable the port to transition to the forwarding state rapidly.
We recommend that you configure an Ethernet port directly connecting to a user
terminal as an edge port before to enable it to transition to the forwarding state
rapidly.
z
Normally, configuration BPDUs from other devices cannot reach an edge port
because it does not connect to any other device. Before the BPDU guard function
is enabled, if a port receives a configuration BPDU, the port is working actually as
a non-edge port even if you have configured it as an edge port.
Examples
# Configure GigabitEthernet 2/0/1 as a non-edge port.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp edged-port disable