
4-156
Example:
Set the rate-violation of port 1/8-10 (GB ports) as 10000pps and the port recovery time as 1200 seconds.
Switch(Config)#interface ethernet 1/8-10
Switch(Config-Port-Range)#rate-violation 10000 recovery 1200
4.1.13 show interface
Command:
show interface [ethernet
<interface-number
> | port-channel
<port-channel-number
> | vlan
<vlan-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.
<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;
As for Ethernet port, this command will show port speed rate, duplex mode, flow control switch state, broadcast
storm suppression 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 suppression 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.