Configuring Port Priority - H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MSTP
H3C S9500 Series Routing Switches
IV. Configuration example II
# Configure MSTP to automatically calculate the path cost of Ethernet 1/1/1 based on
the IEEE 802.1D-1998 standard.
<Sysname> system-view
[Sysname] interface ethernet 1/1/1
[Sysname-Ethernet1/1/1] undo stp instance 1 cost
[Sysname-Ethernet1/1/1] quit
[Sysname] stp pathcost-standard dot1d-1998

1.4.7 Configuring Port Priority

The priority of a port is an import basis that determines whether the port can be elected
as the root port of device. If all other conditions are the same, the port with the highest
priority will be elected as the root port.
On an MSTP-compliant device, a port can have different priorities in different MSTIs,
and the same port can play different roles in different MSTIs, so that data of different
VLANs can be propagated along different physical paths, thus implementing per-VLAN
load balancing. You can set port priority values based on the actual networking
requirements.
I. Configuration procedure
Follow these steps to configure the priority of a port or a group of ports:
Enter system view
Enter
Ethernet
interface
view or port
group view
Configure port priority
To do...
system-view
Enter
Ethernet
interface interface-type
interface
interface-number
view
port-group { manual
Enter port
port-group-name |
group view
aggregation agg-id }
stp [ instance
instance-id ] port priority
priority
Use the command...
1-37
Chapter 1 MSTP Configuration
Remarks
User either command
Configured in Ethernet
interface view, the setting
is effective on the current
port only; configured in
port group view, the
setting is effective on all
ports in the port group
Optional
128 for all Ethernet ports
by default

Advertisement

Table of Contents
loading

Table of Contents