display storm-constrain

Use display storm-constrain to display storm control settings and statistics.

Syntax

display storm-constrain [ broadcast | multicast | unicast ] [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

broadcast: Displays broadcast storm control settings and statistics.

multicast: Displays multicast storm control settings and statistics.

unicast: Displays unknown unicast storm control settings and statistics.

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify this option, the command displays storm control settings and statistics for all storm control-enabled interfaces.

Usage guidelines

If you do not specify any keywords, this command displays all storm control settings on all storm control-enabled interfaces.

Examples

# Display the storm control settings on all storm control-enabled ports.

<Sysname> display storm-constrain
Abbreviation: BC - broadcast; MC - multicast; UC - unicast
              FW - forwarding
Flow Statistic Interval: 5 (in seconds)
Port          Type Lower     Upper     Unit CtrlMode Status   Trap Log SwitchNum
--------------------------------------------------------------------------------
XGE1/0/1      MC   100       200       kbps shutdown shutdown off  on  10

Table 8: Command output

Field

Description

Flow Statistic Interval

Traffic polling interval (in seconds) of the storm control module.

Port

Abbreviated interface name.

Type

Type of traffic subjected to storm control:

  • BC—Broadcast packets.

  • MC—Multicast packets.

  • UC—Unknown unicast packets.

Lower

Lower storm control threshold, in pps, kbps, or percentage.

Upper

Upper storm control threshold, in pps, kbps, or percentage.

Unit

Storm control threshold unit:

  • pps.

  • kbps.

  • percentage.

CtrlMode

Action (block or shutdown) taken on the interface when the upper threshold is reached. N/A indicates that no action is configured.

Status

Packet forwarding status:

  • forwarding—The port is forwarding traffic correctly.

  • shutdown—The port has been shut down.

  • block—The port drops the type of traffic.

Trap

Status of the storm control threshold event trap switch:

  • on—The port sends threshold event traps.

  • off—The port does not send threshold event traps.

Log

Status of the storm control threshold event log switch:

  • on—The port sends threshold event log messages.

  • off—The port does not send threshold event log messages.

SwitchNum

Number of forwarding state changes of the interface.

When the SwitchNum field reaches 65535, it resets automatically.