11 port-scan-mode, 12 rate-violation, 11 port-scan-mode -146 – PLANET WGSW-52040 User Manual

Page 147: 12 rate-violation -146

Advertising
background image

4-146

4.1.11 port-scan-mode

Command:

port-scan-mode {interrupt | poll}

no port-scan-mode

Function:

Configure the scan mode of the port as “interrupt” or “poll”, the no command restores the default scan mode.

Parameter:

interrupt: the interrupt mode; poll: the poll mode.

Command Mode:

Global Mode.

Default:

Poll mode.

Usage Guide:

There are two modes that can respond up/down event of the port. The interrupt mode means that interrupt hardware

to announce the up/down change, the poll mode means that software poll can obtain the port event, the first mode is

rapid. If using poll mode, the convergence time of MRPP is several hundred milliseconds, if using interrupt mode, the

convergence time is less than 50 milliseconds.

Notice: The scan mode of the port usually configured as poll mode, the interrupt mode is only used to the

environment of the good performance, but the security of the poll mode is better.

Example:

Configure the scan mode of the port as interrupt mode.

Switch(config)#port-scan-mode interrupt

4.1.12 rate-violation

Command

rate-violation <200-2000000> [recovery <0-86400>]

no rate-violation

Function

Advertising