HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
33
Examples
# In MSTP mode, set the path cost of port Ethernet 2/3 in MSTI 2 to 200.
<Sysname> system-view
[Sysname] interface ethernet 2/3
[Sysname-Ethernet2/3] stp instance 2 cost 200
Related commands
display stp
stp pathcost-standard
stp edged-port
Use stp edged-port to configure the ports as edge ports.
Use undo stp edged-port to configure the ports as non-edge ports.
Syntax
stp edged-port
undo stp edged-port
Default
All ports are non-edge ports.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
If a port directly connects to a user terminal rather than to another device or a shared LAN segment, this
port is regarded as an edge port. In case the network topology changes, an edge port does not cause
a temporary loop. You can enable the port to transit to the forwarding state rapidly by configuring it as
an edge port. HP recommends that you configure ports that directly connect to user terminals as edge
ports.
Typically, configuration BPDUs from other devices 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.
On a port, the loop guard function and the edge port setting are mutually exclusive.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.
Examples
# Configure Ethernet 2/1 as an edge port.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/1] stp edged-port
Related commands
stp bpdu-protection
stp loop-protection