Configuring The Port Priority; Configuring The Port Link Type; Configuration Restrictions And Guidelines - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

Cost of every port will be reset and automatically re-calculated after you change the
current pathcost standard. Continue?[Y/N]:y
Cost of every port has been re-calculated
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp vlan 20 to 30 cost 2000

Configuring the 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.
When the priority of a port changes, the system recalculates the port role and initiates a state
transition.
To configure the priority of a port:
Step
Enter system view.
1.
Enter Layer 2 Ethernet or
2.
aggregate interface view.
Configure the port priority.
3.

Configuring the 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.

Configuration 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 for the device to
automatically detect the port link type.
In PVST or MSTP mode, the stp point-to-point force-false or stp point-to-point force-true
command configured on a port takes effect on all VLANs or all MSTIs.
If you configure a non-point-to-point link as a point-to-point link, a temporary loop might occur.
Command
system-view
interface interface-type interface-number
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
85
Remarks
N/A
N/A
The default setting is 128
for all ports.

Advertisement

Table of Contents
loading

Table of Contents