xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
458
config bpdu_protection recovery_timer
Purpose
Used to configure the BPDU Attack Protection recovery timer.
Syntax config bpdu_protection recovery_timer [<sec 60-1000000> | infinite]
Description
When a port enters under_attack state, it can be disabled or blocked based on the
configuration. The state can be recovered manually or by the auto recovery mechanism. This
command is used to configure the auto-recovery timer. To manually recover the port, the
user needs to disable the port first and then enable the port.
Parameters recover_timer – Specifies the recover_timer. The default value of recovery timer is 60.
infinite – The port will not be auto recovered.
<sec 60-1000000> – The timer (in seconds) used by the auto-recovery mechanism
to recover the port. The valid range is 60 to 1000000.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the BPDU Attack Protection recovery timer to 120 seconds for the entire Switch:
DES-3528:admin# config bpdu_protection recovery_timer 120
Command: config bpdu_protection recovery_timer 120
Success.
config bpdu_protection
Purpose
Used to configure the trap or log state of BPDU Attack Protection.
Syntax config bpdu_protection [ trap | log ] [ none | attack_detected | attack_cleared | both ]
Description
This command is used to configure trap or log state for BPDU Attack Protection function.
Parameters trap – Specifies the trap state. The default state is none.
log – Specifies the log state. The default state is both.
none – Specifies that events will not be logged or trapped for both cases.
attack_detected – Specifies 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the BPDU Attack Protection trap state as both for the entire Switch:
DES-3528:admin# config bpdu_protection trap both
Command: config bpdu_protection trap both
Success.