DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
152
Example
To enable the port state and drop mode:
DWS-3160-24PC:admin# config bpdu_protection ports 1 state enable mode drop
Commands: config bpdu_protection ports 1 state enable mode drop
Success.
DWS-3160-24PC:admin#
13-2
config bpdu_protection recovery_interval
Description
This command is used to configure the BPDU protection recovery interval. When a port enters the
‘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 and re-enable the
port.
Format
config bpdu_protection recovery_timer [<sec 60-1000000> | infinite]
Parameters
recovery_timer
- Specifies the BPDU protection Auto-Recovery recovery_timer. The default
value of recovery_timer is 60.
<sec 60 –1000000>
- The timer (in seconds) used by the Auto-Recovery mechanism to
recover the port. The valid range is 60 to 1000000.
infinite
- The port will not be auto recovered.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure the BPDU protection recovery_timer to 120 seconds for the entire Switch:
DWS-3160-24PC:admin# config bpdu_protection recovery_timer 120
Commands: config bpdu_protection recovery_timer 120
Success.
DWS-3160-24PC:admin#
13-3
config bpdu_protection
Description
This command is used to configure the BPDU protection trap state or state for the Switch.