Enabling The Device To Log Events Of Detecting Or Receiving Tc Bpdus; Enabling Snmp Notifications For New-Root Election And Topology Change Events - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Figure 37 Dispute guard triggering scenario
Normal condition
Device A
Root
Port A1
Port B1
Device B
Enabling the device to log events of detecting or
receiving TC BPDUs
This feature allows the device to generate logs when it detects or receives TC BPDUs. This feature
applies only to PVST mode.
To enable the device to log events of detecting or receiving TC BPDUs:
Step
1.
Enter system view.
2.
Enable the device to log
events of receiving or
detecting TC BPDUs.
Enabling SNMP notifications for new-root election
and topology change events
This task enables the device to generate logs and report new-root election events or spanning tree
topology changes to SNMP. For the event notifications to be sent correctly, you must also configure
SNMP on the device. For more information about SNMP configuration, see the network
management and monitoring configuration guide for the device.
When you use the snmp-agent trap enable stp [ new-root | tc ] command, follow these guidelines:
The new-root keyword applies only to STP, MSTP, and RSTP modes.
The tc keyword applies only to PVST mode.
Unidirectional link
occurs
Device A
Root
Port A2
Port A1
Port B2
Port B1
Device B
Root port
Designated port
Blocked port
Dispute guard is
triggered
Device A
Root
Port A2
Port A1
Port B2
Port B1
Device B
Normal link
Blocked link
Unidirectional link
Command
system-view
stp log enable tc
109
Port A2
Port B2
Remarks
N/A
By default, the device does not
generate logs when it detects or
receives TC BPDUs.

Advertisement

Table of Contents
loading

Table of Contents