DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
572
Chapter 61
Safeguard Engine Command
List
config safeguard_engine
{state [enable | disable]| utilization {rising <20-100> | falling <20-100>} |
trap_log [enable | disable] | mode [strict | fuzzy]}
show safeguard_engine
61-1
config safeguard_engine
Description
This command is used to configure the CPU protection control for the system.
Format
config safeguard_engine {state [enable | disable]| utilization {rising <20-100> | falling <20-
100>} | trap_log [enable | disable] | mode [strict | fuzzy]}
Parameters
state
- (Optional) Specifies to configure CPU protection state to enable or disable.
enable
- Specifies that CPU protection will be enabled.
disable
- Specifies that CPU protection will be enabled.
utilization
- (Optional) Specifies to configure the CPU protection threshold.
rising
- Config utilization rising threshold , the range is between 20%-100% , if the CPU
utilization is over the rising threshold, the Switch enters exhausted mode.
<20-100>
- Enter the utilization rising value here. This value must be between 20 and 100.
falling
- Config utilization falling threshold , the range is between 20%-100% , if the CPU
utilization is lower than the falling threshold, the Switch enters normal mode.
<20-100>
- Enter the utilization falling value here. This value must be between 20 and 100.
trap_log
- (Optional) Configure the state of CPU protection related trap/log mechanism to enable
or disable. If set to enable, trap and log will be active while cpu protection current mode
changed. If set to disable, current mode change will not trigger trap and log events.
enable
- Specifies that the CPU protection trap or log mechanism will be enabled.
disable
- Specifies that the CPU protection trap or log mechanism will be disabled.
mode
- (Optional) determine the controlling method of broadcast traffic. Here are two modes
(strict and fuzzy).
strict
- In strict, the Switch will stop receiving all ‘ARP not to me’ packets (the protocol address
of target in ARP packet is the Switch itself). That means no matter what reasons cause the
high CPU utilization (may not caused by ARP storm), the Switch reluctantly processes
any ’ARP not to me’ packets in exhausted mode.
fuzzy
- In fuzzy mode, the Switch will adjust the bandwidth dynamically depend on some
reasonable algorithm.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure CPU protection: