Configuring The Port Priority; Configuring The Port Link Type - H3C S6850 Series Configuration Manual

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

In PVST mode:
stp vlan vlan-id-list cost cost-value
In MSTP mode:
stp [ instance instance-list ] cost cost-value
By default, the system automatically calculates the path cost of each port.

Configuring the port priority

About port priority
The priority of a port is a factor that determines whether the port can be elected as the root port of a
device. If all other conditions are the same, the port with the highest priority is elected as the root
port.
On a spanning tree device, a port can have different priorities and play different roles in different
spanning trees. As a result, data of different VLANs can be propagated along different physical paths,
implementing per-VLAN load balancing. You can set port priority values based on the actual
networking requirements.
Restrictions and guidelines
When the priority of a port changes, the system recalculates the port role and initiates a state
transition. Prepare for the network topology change before configuring the port priority.
Procedure
Enter system view.
1.
system-view
Enter interface view.
2.
interface interface-type interface-number
Configure the port priority.
3.
In STP/RSTP mode:
stp port priority priority
In PVST mode:
stp vlan vlan-id-list port priority priority
In MSTP mode:
stp [ instance instance-list ] port priority priority
The default setting is 128 for all ports.

Configuring the port link type

About port link type
A point-to-point link directly connects two devices. If two root ports or designated ports are connected
over a point-to-point link, they can rapidly transit to the forwarding state after a proposal-agreement
handshake process.
Restrictions and guidelines
You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port that
operates in full duplex mode. As a best practice, use the default setting and let the device
automatically detect the port link type.
39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents