12. BPDU Attack Protection Commands
12.3. config bpdu_protection
Description
This command is used to configure the BPDU protection trap state or log state.
Format
config bpdu_protection [trap | log] [none | attack_detected | attack_cleared | both]
Parameters
trap
Specify the trap state.
log
Specify the log state.
none
Specify neither attack_detected nor attack_cleared is trapped or logged.
attack_detected
Specify events will be logged or trapped when the BPDU attacks is detected.
attack_cleared
Specify events will be logged or trapped when the BPDU attacks is cleared.
both
Specify the events of attack_detected and attack_cleared shall be trapped or logged.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the BPDU protection trap state as both for the entire Switching Hub:
Zxxx0:admin#config bpdu_protection trap both
Command: config bpdu_protection trap both
Success.
Zxxx0:admin#
12.4. enable bpdu_protection
Description
This command is used to enable BPDU protection globally for the entire Switching
Hub.
Format
enable bpdu_protection
Parameters
None.
110