R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
74
Description
Use the stp edged-port enable command to configure the ports as edge ports.
Use the stp edged-port disable command to configure the ports as non-edge ports.
Use the undo stp edged-port command to restore the default.
By default, all ports are non-edge ports.
Configured in Ethernet interface view, the setting takes effect on the interface only.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
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. You can enable the port to transition to the forwarding state rapidly by configuring it as
an edge port. HP recommends you to configure ports directly connecting to user terminals as edge ports.
Configuration BPDUs from other devices usually cannot reach an edge port, because the edge port does
not connect to any other device. If a port receives a configuration BPDU when the BPDU guard function
is disabled, the port functions as a non-edge port, even if you configure it as an edge port.
You cannot configure edge port settings and loop guard on a port at the same time.
Related commands: stp loop-protection.
Examples
# Configure GigabitEthernet 0/1 as an edge port.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] stp edged-port enable
stp enable
Syntax
In system view:
stp enable
undo stp enable
In Ethernet interface, Layer 2 aggregate interface view:
stp enable
undo stp enable
View
System view, Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None