124
C
HAPTER
20: MSTP C
ONFIGURATION
Configuration example
1
Configure the maximum hops of the MST region to be 30 (assuming that the current
switch operates as the region root).
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
stp max-hops 30
Network Diameter
Configuration
In a switched network, any two switches can communicate with each other through a
path, on which there may be some other switches. The network diameter of a
network is measured by the number of switches; it equals the number of the switches
on the longest path (that is, the path contains the maximum number of switches).
Configuration procedure
The network diameter parameter indicates the size of a network. The larger the
network diameter is, the larger the network size is.
After you configure the network diameter of a switched network, A MSTP-enabled
switch adjusts its Hello time, Forward delay, and Max age settings accordingly.
The network diameter setting only applies to CIST; it is invalid for MSTIs.
Configuration example
1
Configure the network diameter of the switched network to 6.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
stp bridge-diameter 6
MSTP Time-related
Configuration
You can configure three MSTP time-related parameters for a switch: Forward delay,
Hello time, and Max age.
■
The Forward delay parameter sets the delay of state transition.
Link problems occurred in a network results in the spanning trees being
regenerated and original spanning tree structures being changed. As the newly
generated configuration BPDUs cannot be propagated across the entire network
immediately when the new spanning trees are generated, loops may occur if the
new root ports and designated ports begin to forward packets immediately.
This can be avoided by adopting a state transition mechanism. With this
mechanism, newly selected root ports and designated ports undergo an
intermediate state before they begin to forward packets. That is, it costs these
ports a period (specified by the Forward delay parameter) for them to turn to the
forwarding state. The period ensures that the newly generated configuration
BPDUs to propagate across the entire network.
■
The Hello time parameter is for link testing.
A switch regularly sends hello packets to other switches in the interval specified by
the Hello time parameter to test the links.
Table 91
Configure the network diameter for a network
Operation
Command
Description
Enter system view
system-view
—
Configure the network
diameter for a network
stp bridge-diameter
bridgenumber
Required
The default network diameter of a
network is 7.
Summary of Contents for 4200G 12-Port
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...