HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference
Table Of Contents
- Title Page
- Contents
- MAC address table commands
- Port isolation commands
- Spanning tree commands
- active region-configuration
- check region-configuration
- display stp
- display stp abnormal-port
- display stp bpdu-statistics
- display stp down-port
- display stp history
- display stp region-configuration
- display stp root
- display stp tc
- instance
- region-name
- reset stp
- revision-level
- stp bpdu-protection
- stp bridge-diameter
- stp compliance
- stp config-digest-snooping
- stp cost
- stp edged-port
- stp enable
- stp global config-digest-snooping
- stp global enable
- stp global mcheck
- stp loop-protection
- stp max-hops
- stp mcheck
- stp mode
- stp no-agreement-check
- stp pathcost-standard
- stp point-to-point
- stp port priority
- stp port-log
- stp priority
- stp region-configuration
- stp role-restriction
- stp root primary
- stp root secondary
- stp root-protection
- stp tc-protection
- stp tc-protection threshold
- stp tc-restriction
- stp timer forward-delay
- stp timer hello
- stp timer max-age
- stp timer-factor
- stp transmit-limit
- vlan-mapping modulo
- Loop detection commands
- VLAN commands
- LLDP commands
- display lldp local-information
- display lldp neighbor-information
- display lldp statistics
- display lldp status
- display lldp tlv-config
- lldp admin-status
- lldp check-change-interval
- lldp enable
- lldp encapsulation snap
- lldp fast-count
- lldp global enable
- lldp hold-multiplier
- lldp management-address-format string
- lldp max-credit
- lldp mode
- lldp notification med-topology-change enable
- lldp notification remote-change enable
- lldp timer fast-interval
- lldp timer notification-interval
- lldp timer reinit-delay
- lldp timer tx-interval
- lldp tlv-enable
- Support and other resources
- Index
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