12 show interface – PLANET XGS3-24040 User Manual
Page 116
XGS3 Command Guide
4-116
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
4.1.12 show interface
Command:
show interface [ethernet
show interface ethernet status
show interface ethernet counter {packet | rate}
Function:
Show information of layer 3 or layer 2 port on the switch
Parameter:
value range from 1 to 50.
counter {packet | rate} show package number or rate statistics of all layer 2 ports.
number of the aggregation interface,
show the detail of the port.
Command Mode:
Admin and Configuration Mode.
Default:
Information not displayed by default
Usage Guide:
While for vlan interfaces, the port MAC address, IP address and the statistic state of the data packet will be shown; for
tunnel port, this command will show tunnel interface state and the statistic state of control layer receives/sends tunnel
data packet, about the statistic data of physics interface receiving/sending data packet, please refer to show interface
ethernet command; for loopback port, this command will show the interface statistic state of IP address and
receiving/sending data packet; As for Ethernet port, this command will show port speed rate, duplex mode, flow
control switch state, broadcast storm restrain of the port and the statistic state of the data packets; for aggregated port,
port speed rate, duplex mode, flow control switch state, broadcast storm restrain of the port and the statistic state of
the data packets will be displayed. The information of all ports on the switch will be shown if no port is specified.
Using [detail] to show the detail information for ethernet port and port-channel port, the information is related with
the type of switch, board card.
For ethernet port, using status to show important information of all the layer 2 ports by list format. each port is a row,