13 rate-violation, 14 show interface, 13 rate-violation -133 – PLANET XGS3-24042 User Manual

Page 133: 14 show interface -133

Advertising
background image

XGS3 Command Guide

4-133

Setting ports 8-10 (1000Mbps) allow 3 broadcast packets per second.

Switch(config)#interface ethernet 1/0/8-10

Switch(Config-Port-Range)#rate-suppression broadcast 3

4.1.13 rate-violation

Command:

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

no rate-violation

Function:

Set the max packet reception rate of a port. If the rate of the received packet violates the packet reception rate, shut

down this port and configure the recovery time, the default is 300s. The no command will disable the rate-violation

function of a port.

The rate-violation means the port received all packets rate (the number of the received packets per second), do not

distinguish the packet type.

Parameters:

<200-2000000> the max packet reception rate of a port, the unit is packets/s.

<0-86400>: The interval of recovery after shutdown, the unit is s.

recovery: After a period of time the port can recover shutdown to up again. <0-86400> is the timeout of recovery. For

example, if the shutdown of a port happens after the packet reception rate exceeding the limit, the port will be up

again when the user-defined timeout expires. The default timeout is 300s, while 0 means the recovery will never

happen.

Command Mode:

Interface Mode

Default:

There is no control operation for rate-violation.

Usage Guide:

This command is mainly used to detect the abnormal port flow. For example, when there are a large number of

broadcast messages caused by a loopback, which affect the processing of other tasks, the port will be shut down to

ensure the normal processing of the switch.

Example:

Set the rate-violation of port 8-10 (GB ports) of the switch as 10000pps and the port recovery time as 1200 seconds.

Switch(config)#interface ethernet 1/0/8-10

Switch(Config-Port-Range)#rate-violation 10000 recovery 1200

4.1.14 show interface

Advertising
This manual is related to the following products: