
1-20
Description
Use the
stp edged-port enable
command to configure the current Ethernet port as an edge port.
Use the
stp edged-port disable
command to configure the current Ethernet port as a non-edge port.
Use the
undo stp edged-port
command to restore the current Ethernet port to its default state.
By default, all Ethernet ports of a switch are non-edge ports.
An edge port is a port that is directly connected to a user terminal instead of another switch or shared
network segment. Rapid transition to the forwarding state is applied to edge ports because on these
ports no loops can be incurred by network topology changes. You can enable a port to turn to the
forwarding state rapidly by setting it to an edge port. And you are recommended to configure the
Ethernet ports directly connected to user terminals as edge ports to enable them to turn to the
forwarding state rapidly.
Normally, configuration BPDUs cannot reach an edge port because the port is not connected to another
switch. But when the BPDU guard function is disabled on an edge port, configuration BPDUs sent
deliberately by a malicious user may reach the port. If an edge port receives a BPDU, it turns to a
non-edge port.
Related commands:
stp interface edged-port
.
With the loop guard function enabled, the root guard function and the edge port configuration are
mutually exclusive.
Examples
# Configure Ethernet 1/0/1 as a non-edge port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp edged-port disable
stp interface
Syntax
stp interface
interface-list
{
enable
|
disable
}
View
System view
Parameters
interface-list
: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the
form of
interface-list =
{
interface-type interface-number
[
to
interface-type interface-number
] } &<1-10>,
where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument.
enable
: Enables MSTP on the specified ports.
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...