MSTP Displaying and Debugging
145
MSTP Displaying and
Debugging
You can verify the above configurations by executing the
display
commands in any
view.
Execute the
reset
command in user view to clear MSTP statistics. Execute the
debugging
command in user view to debug the MSTP module.
MSTP Implementation
Example
Network requirements
Implement MSTP in the network shown in Figure 42 to enable packets of different
VLANs to be forwarded along different spanning tree instances. The detailed
configurations are as follows:
■
All switches in the network belong to the same MST region.
■
Packets of VLAN 10, VLAN 30, VLAN 40, and VLAN 20 are forwarded along
spanning tree instance 1, instance 3, instance 4, and instance 0 respectively.
In this network, Switch A and Switch B operate on the distribution layer; Switch C
and Switch D operate on the access layer. VLAN 10 and VLAN 30 are limited in the
distribution layer and VLAN 40 is limited in the access layer. Switch A and Switch B are
configured as the root bridges of spanning tree instance 1 and spanning tree instance
3 respectively. Switch C is configured as the root bridge of spanning tree instance 4.
Network diagram
Figure 42
Network diagram for implementing MSTP
The Permit: shown in Figure 42 means the corresponding link permits packets of
specific VLANs.
Configuration procedure
1
Configure Switch A.
a
Enter MST region view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
stp region-configuration
Table 121
Display and debug MSTP
Operation
Command
Display spanning tree-related information
about the current switch
display stp
[
instance
instance-id
]
[
interface
interface-list
|
slot
slot-number
]
[
brief
]
Display region configuration
display stp region-configuration
Clear MSTP-related statistics
reset stp
[
interface
interface-list
]
S
w
itch A
S
w
itch C
S
w
itch B
S
w
itch D
P
erm
it :
V
LA
N
10, 20
P
erm
it :
V
LA
N
10, 20
P
erm
it :
V
LA
N
20, 30
P
erm
it :
V
LA
N
20, 30
P
erm
it :all V
LA
N
P
erm
it :V
LA
N
20, 40
S
w
itch A
S
w
itch C
S
w
itch B
S
w
itch D
P
erm
it :
V
LA
N
10, 20
P
erm
it :
V
LA
N
10, 20
P
erm
it :
V
LA
N
20, 30
P
erm
it :
V
LA
N
20, 30
P
erm
it :all V
LA
N
P
erm
it :V
LA
N
20, 40
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...