storm-constrain enable log

Syntax

storm-constrain enable log

undo storm-constrain enable log

View

Ethernet interface view

Default level

2: System level

Parameters

None

Description

Use storm-constrain enable log to enable an Ethernet interface to log storm control threshold events. Logged events include traffic exceeding the upper threshold and traffic falling below the lower threshold from the upper threshold.

Use undo storm-constrain enable log to disable log sending.

By default, a storm control-enabled port sends log messages when monitored traffic exceeds the upper threshold or falls below the lower threshold from the upper threshold.

Examples

# Disable Ethernet 1/0/1 from sending out log messages upon detecting storm control threshold events.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo storm-constrain enable log