STP Maintenance
Configuration
Introduction
Enabling Log/Trap
Output for Ports of
MSTP Instance
Configuration Example
Enabling Trap
Messages Conforming
to 802.1d Standard
Table 137 Configure the rapid transition feature in Ethernet port view
Operation
Enter Ethernet port view
Enable the rapid transition
feature
n
The rapid transition feature can be enabled on only root ports or alternate
■
ports.
If you configure the rapid transition feature on a designated port, the feature
■
does not take effect on the port.
In a large-scale network with MSTP enabled, there may be many MSTP instances,
and so the status of a port may change frequently. In this case, maintenance
personnel may expect that log/trap information is output to the log host when
particular ports fail, so that they can check the status changes of those ports
through alarm information.
Table 138 Enable log/trap output for ports of MSTP instance
Operation
Enter system view
Enable log/trap output for the
ports of a specified instance
Enable log/trap output for the
ports of all instances
# Enable log/trap output for the ports of instance 1.
<4210> system-view
[4210] stp instance 1 portlog
# Enable log/trap output for the ports of all instances.
<4210> system-view
[4210] stp portlog all
A switch sends trap messages conforming to 802.1d standard to the network
management device in the following two cases:
The switch becomes the root bridge of an instance.
■
STP Maintenance Configuration
Command
interface interface-type
interface-number
stp no-agreement-check
Command
system-view
stp [ instance instance-id ]
portlog
stp portlog all
181
Description
-
Required
By default, the rapid transition
feature is disabled on a port.
Description
-
Required
By default, log/trap output is
disabled for the ports of all
instances.
Required
By default, log/trap output is
disabled for the ports of all
instances.
Need help?
Do you have a question about the 4210 PWR and is the answer not in the manual?