134
C
HAPTER
20: MSTP C
ONFIGURATION
■
Configure in Ethernet port view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
interface GigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1]
stp instance 1 cost 2000
Configuration example (B)
1
Change the path cost of GigabitEthernet1/0/1 port in spanning tree instance 1 to the
default one calculated with the IEEE 802.1D-1998 standard.
■
Configure in system view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
undo stp interface GigabitEthernet1/0/1 instance 1 cost
[4200G]
stp pathcost-standard dot1d-1998
■
Configure in Ethernet port view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
interface GigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1]
undo stp instance 1 cost
[4200G-GigabitEthernet1/0/1]
quit
[4200G]
stp pathcost-standard dot1d-1998
Port Priority
Configuration
Port priority is an important criterion on determining the root port. In the same
condition, a port with higher port priority is more potential to become the root port
than another port with lower priority.
A port on a 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 load balancing can be achieved
by VLANs.
You can configure port priority in the following two ways.
Configuring port priority in system view
Configuring port priority in Ethernet port view
Changing port priority of a port may change the role of the port and put the port into
state transition.
Table 107
Configure port priority for specified ports 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.
Table 108
Configure port priority for a specified port 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.
Summary of Contents for 3CR17660-91
Page 10: ...8 CONTENTS ...
Page 14: ...4 ABOUT THIS GUIDE ...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM ...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS ...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION ...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION ...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION ...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION ...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT ...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET ...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION ...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION ...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION ...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION ...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION ...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES ...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION ...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging ...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER ...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING ...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging ...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST ...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS ...