182
C
HAPTER
14: MSTP C
ONFIGURATION
■
Network topology changes are detected.
Configuration procedure
Configuration example
# Enable a switch to send trap messages conforming to 802.1d standard to the
network management device when the switch becomes the root bridge of
instance 1.
<4210> system-view
[4210] stp instance 1 dot1d-trap newroot enable
Displaying and
Maintaining MSTP
You can verify the above configurations by executing the
display
commands in
any view.
Execute the
reset
command in user view to clear statistics about MSTP.
MSTP Configuration
Example
Network requirements
Implement MSTP in the network shown in Figure 54 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 convergence layer; Switch
C and Switch D operate on the access layer. VLAN 10 and VLAN 30 are limited in
the convergence layer and VLAN 40 is limited in the access layer. Switch A and
Table 139
Enable trap messages conforming to 802.1d standard
Operation
Command
Description
Enter system view
system-view
-
Enable trap messages
conforming to 802.1d
standard in an instance
stp
[
instance
instance-id
]
dot1d-trap
[
newroot
|
topologychange
]
enable
Required
Table 140
Display and maintain MSTP
Operation
Command
Display the state and statistics information
about spanning trees of the current device
display stp
[
instance
instance-id
] [
interface
interface-list
|
slot
slot-number
] [
brief
]
Display region configuration
display stp region-configuration
Display information about the ports that are
shut down by STP protection
display stp portdown
Display information about the ports that are
blocked by STP protection
display stp abnormalport
Display information about the root port of the
instance where the switch reside
display stp root
Clear statistics about MSTP
reset stp
[
interface
interface-list
]
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...