Stp Edged-Port - H3C MSR Series Command Reference Manual

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Hardware
MSR 930
MSR 20-1X
MSR 20
MSR 30
MSR 50
MSR 2600
MSR3600-51F
Configured in Ethernet interface view, the setting takes effect only on the interface.
Configured in port group view, the setting takes effect on all member ports in the port group.
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.
To set the path cost of an MSTP port in a specific MSTI, use this command with the MSTI specified.
Path cost is an important factor in spanning tree calculation. Setting different path costs for a port in
MSTIs allows different VLAN traffic flows to be forwarded along different physical links and enables
VLAN-based load balancing.
The path cost setting of a port can affect the role selection of the port. When the path cost of a port is
changed, the system re-calculates the role of the port and initiates a state transition.
Examples
# In MSTP mode, set the path cost of port Ethernet 1/3 in MSTI 2 to 200.
<Sysname> system-view
[Sysname] interface ethernet 1/3
[Sysname-Ethernet1/3] stp instance 2 cost 200
Related commands
display stp
stp pathcost-standard

stp edged-port

Use stp edged-port enable to configure one or more ports as edge ports.
Use stp edged-port disable to configure one or more ports as non-edge ports.
Use undo stp edged-port to restore the default.
Syntax
stp edged-port { enable | disable }
undo stp edged-port
Default
All ports are non-edge ports.
Views
Ethernet interface view, port group view, Layer 2 aggregate interface view
Command compatibility in Layer 2
aggregate interface view
Yes
No
No
Yes
Yes
Yes
Yes
69

Advertisement

Table of Contents
loading

Table of Contents