display storm-constrain

Syntax

display storm-constrain [ broadcast | multicast | unicast ] [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

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 with the interface-type interface-number argument.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

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

If you specify no argument or keyword, this command displays all storm control settings on all storm control-enabled interfaces.

When the port forwarding state transition counter (SwiNum) reaches 65535, it automatically wraps back to 0.

Examples

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

<Sysname> display storm-constrain
Abbreviation: BC - broadcast; MC - multicast; UC - unicast
 Flow Statistic Interval: 10(second)
PortName      Type LowerLimit UpperLimit CtrMode  Status  Trap Log SwiNum Unit
------------------------------------------------------------------------------
Eth1/0/1       MC  100        200        shutdown  control  off  on   10    pps

Table 8: Command output

Field

Description

Flow Statistic Interval

Traffic polling interval of the storm control module.

PortName

Abbreviated port name.

StormType

Type of traffic subjected to storm control. Options include broadcast, multicast and unknown unicast.

LowerLimit

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

UpperLimit

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

Ctrmode

Protective action (block or shutdown) taken on the port when the upper threshold is reached. If you have not configured any protective action, N/A is displayed.

Status

Packet forwarding status:

  • Normal—The port is forwarding traffic normally.

  • Control—The port is in controlled mode.

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.

SwiNum

Number of times the forwarding state of the interface changes.

When the SwiNum count reaches 65,535, it resets automatically.