Configuring the port link type, Configuration restrictions and guidelines, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 124
90
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 Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet or
aggregate interface view.
interface interface-type interface-number
N/A
3.
Configure the port priority.
•
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
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. H3C recommends that you use the default setting and letting the
device automatically detect the port link type.
•
The stp point-to-point force-false or stp point-to-point force-true command configured on a port in
MSTP or PVST mode takes effect on all MSTIs or VLANs.
•
If you configure a non-point-to-point link as a point-to-point link, a temporary loop might occur.
Configuration procedure
To configure the link type of a port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet or
aggregate interface view.
interface interface-type
interface-number
N/A
3.
Configure the port link type.
stp point-to-point { auto | force-false
| force-true }
By default, the link type is auto
where the port automatically
detects the link type.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module