8 configuring port priority, I. configure port priority in system view, Ii. configure port priority in ethernet port view – H3C Technologies H3C S3100 Series Switches User Manual

Page 206: 8 configuring port priority -31, Configuring port priority

Advertising
background image

Operation Manual – MSTP
H3C S3100-52P Ethernet Switch

Chapter 1 MSTP Configuration

1-31

<H3C> system-view

[H3C] undo stp interface ethernet1/0/1 instance 1 cost

[H3C] stp pathcost-standard dot1d-1998

2) Perform this configuration in Ethernet port view.

<H3C> system-view

[H3C] interface ethernet1/0/1

[H3C-Ethernet1/0/1] undo stp instance 1 cost

[H3C-Ethernet1/0/1] quit

[H3C] stp pathcost-standard dot1d-1998

1.3.8 Configuring Port Priority

Port priority is an important criterion on determining the root port. In the same condition,
the port with the smallest port priority value becomes the root port.

A port on an MSTP-enabled switch can have different port priorities and play different
roles in different spanning tree instances. This enables packets of different VLANs to be
forwarded along different physical paths, so that VLAN-based load balancing can be
implemented.

You can configure port priority in one of the following two ways.

I. Configure port priority in system view

Table 1-26

Configure port priority in system view

Operation

Command

Description

Enter system view

system-view

Configure port priority
for specified ports

stp interface

interface-list

instance

instance-id port

priority priority

Required
The default port priority is
128.

II. Configure port priority in Ethernet port view

Table 1-27

Configure port priority in Ethernet port view

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port view

interface

interface-type

interface-number

Configure port priority for
the port

stp

[ instance

instance-id

] port priority

priority

Required.
The default port priority is
128.

Advertising