Configuring the port priority, Configuring the port link type – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 85

75
Configuring the port priority
The priority of a port is an important factor in determining 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, so that 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.
To configure the priority of a port or a group of ports:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view or port group
view.
•
Enter Ethernet interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
3.
Configure the port priority.
•
In STP/RSTP mode:
stp port priority priority
•
In MSTP mode:
stp [ instance instance-id ] port
priority priority
Use either command.
128 for all ports by
default.
NOTE:
If the port priority changes, the system re-calculates the port role and initiate a state transition.
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 transition to the forwarding state after a proposal-agreement
handshake process.
To configure the link type of a port or a group of ports:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view or port group
view.
•
Enter Ethernet interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
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 WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points