D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
469
config bpdu_protection trap/log
Purpose
Used to configure trap and log settings for BPDU attack protection events.
Syntax
config bpdu_protection [ trap | log ] [ none | attack_detected | attack_cleared | both ]
Description
Use this command to configure the trap and log state for BPDU attack protection and specify the
type of event sent or logged.
Parameters
none – Specifies that events will not be logged or trapped for both cases.
trap – Specifies the trap state. The default state is both trap and log.
log – Specifies the log state. The default state is both trap and log.
attack_detected – Specifies that events will be logged or trapped when a BPDU attack is detected.
attack_cleared – Specifies that events will be logged or trapped when the BPDU attack is cleared.
both – Specifies that events will be logged or trapped for both cases.
The default setting for log is both and for trap is none.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the trap state for BPDU attack protection events to send traps for attacks detected and attacks cleared:
DES-3200-28F:4# config bpdu_protection trap both
Commands: config bpdu_protection trap both
Success.
DES-3200-28F:4#