DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
153
Format
config bpdu_protection [trap | log] [none | attack_detected | attack_cleared | both]
Parameters
trap
- To Specifies the trap state.
log
- To Specifies the log state.
none
- Neither attack_detected nor attack_cleared is trapped or logged.
attack
_detected - Events will be logged or trapped when the BPDU attacks is detected.
attack
_cleared - Events will be logged or trapped when the BPDU attacks is cleared.
both
- The events of attack_detected and attack_cleared shall be trapped or logged.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To config the BPDU protection trap state as both for the entire Switch:
DWS-3160-24PC:admin# config bpdu_protection trap both
Commands: config bpdu_protection trap both
Success.
DWS-3160-24PC:admin#
13-4
enable bpdu_protection
Description
This command is used to enable the BPDU protection function globally for the Switch.
Format
enable bpdu_protection
Parameters
None.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To enable the BPDU protection function globally: