< Home

storm-control enable

Function

The storm-control enable command configures the system to record logs or report traps during storm control.

The undo storm-control enable command configures the system not to record logs or report traps during storm control.

By default, the system does not record logs or report traps.

Format

storm-control enable { log | trap }

undo storm-control enable { log | trap }

Parameters

Parameter

Description

Value

log

Enables the log function.

-

trap

Enables the trap function.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

After storm control is configured, the switch monitors the broadcast, unknown multicast, and unknown unicast packets received on an interface. When the packet rate within a detection interval exceeds the upper limit, the switch executes the storm control action (block packets or shut down the interface) on the interface. This may affect services. You can configure the log or trap for storm control so that the administrator can quickly take actions to protect the switch.

  • After the logging function is enabled for storm control, the storm control log information is recorded in the STORMCTRL log of the SECE module.
  • After the trap function is enabled for storm control, the trap is SECE_1.3.6.1.4.1.2011.5.25.32.4.1.14.1 hwXQoSStormControlTrap.

Example

# Enable the trap reporting function during storm control on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] storm-control broadcast min-rate 3000 max-rate 5000
[HUAWEI-GigabitEthernet0/0/1] storm-control action block
[HUAWEI-GigabitEthernet0/0/1] storm-control enable trap
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >