R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

3
Examples
# Change the description of interface Ten-GigabitEthernet 1/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] description lanswitch-interface
display counters
Use display counters to display interface traffic statistics.
Syntax
display counters { inbound | outbound } interface [ interface-type [ interface-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
inbound: Displays inbound traffic statistics.
outbound: Displays outbound traffic statistics.
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
Usage guidelines
This command displays traffic statistics within a statistics polling interval specified by the flow-interval
command.
To clear the Ethernet interface traffic statistics, use the reset counters interface command. For more
information, see "reset counters interface."
If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic
counters.
If an interface type is specified but no interface number is specified, this command displays traffic
statistics for all interfaces of the specified type.
If an interface type and an interface number are specified, this command displays traffic statistics of the
specified interface.
Examples
# Display inbound traffic statistics for all Ten-GigabitEthernet interfaces.
<Sysname> display counters inbound interface ten-gigabitethernet
Interface Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts)
XGE1/0/1 100 100 0 0
XGE1/0/2 0 0 0 0