13 show interface – PLANET WGSW-50040 User Manual

Page 100

Advertising
background image

Command Mode:

Port Mode

Default:

There is no limit on packet reception rate by default.

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 loop, which affect the processing of other tasks of the

switch, the port will be shut down to guarantee the normal operation of the switch.

Example:

If users set the rate-violation of port 8-10 (GB ports) of the switch as 10000pps and the port

recovery time as 1200 seconds, when the packet reception rate exceeds 10000, the port will but

shut down, and then, after 1200 seconds, the port will be UP again.

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

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

3.1.13 show interface

Command:

show interface [ethernet <interface-number> | port-channel <port-channel-number> |

loopback <loopback-id> | vlan <vlan-id> | tunnel <tunnel-id> | <interface-name> ] [detail]

show interface ethernet status

show interface ethernet counter {packet | rate}

Function:

Show information of layer 3 or layer 2 port on the switch

Parameter:

<vlan-id> is the VLAN interface number,the value range from 1 to 4094. <tunnel-number> is the

tunnel number, the value range from 1 to 50. <loopback-id> is the loop back number,the value range

from 1 to 1024. <interface-number> is the port number of the Ethernet, status show important

information of all the layer 2 ports. counter {packet | rate} show package number or rate statistics of

all layer 2 ports.

<port-channel-number> is the number of the aggregation interface,

<interface-name> is the name of the interface such as port-channel1.

[detail] show the detail of the port.

Command Mode:

Admin and Configuration Mode.

Default:

Information not displayed by default

Advertising