12 show interface – PLANET XGS3-24040 User Manual

Page 116

Advertising
background image

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 <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

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,

Advertising