Display Counters - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

The default description of an interface is the interface name plus Interface. For example,
GigabitEthernet1/0/1 Interface.
Related commands: display interface.
Syntax
description text
undo description
View
Ethernet interface view
Default level
2: System level
Parameter
text: Specifies the interface description, a string of 1 to 80 characters. The string can include case-
sensitive letters, digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , .
/), spaces, and other Unicode characters and symbols.
Each Unicode character takes the space of two regular characters.
To use Unicode characters or symbols in an interface description, install the specific input method editor
and log in to the switch through remote login software that supports the character type.
When the length of a description string reaches or exceeds the maximum line width on the terminal
software, the software starts a new line, possibly breaking a Unicode character into two. As a result,
garbled characters may be displayed at the end of a line.
Example
# Change the description of interface GigabitEthernet 1/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] description lanswitch-interface

display counters

Description
Use the display counters command to display traffic statistics for interfaces.
If an interface type is specified, this command displays traffic statistics for all interfaces of the specified
type.
If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic
counters.
Syntax
display counters { inbound | outbound } interface [ interface-type ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
2

Advertisement

Table of Contents
loading

Table of Contents