![HP 3100 v2 Series Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751011.webp)
4
vertical bar (|), back slash (\), colon (:), semi-colon (;) quotation marks ("), apostrophe ('), comma (,),
dot (.), and slash (/), spaces, and other Unicode characters and symbols.
When you configure a description, follow these guidelines:
•
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.
Description
Use
description
to change the description of the interface.
Use
undo description
to restore the default.
The default description of an interface is the interface name plus
Interface
. For example,
Ethernet1/0/1 Interface
.
Related commands:
display interface
.
Examples
# Change the description of interface Ethernet 1/0/1 to
lanswitch-interface
.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] description lanswitch-interface
display counters
Syntax
display counters
{
inbound
|
outbound
}
interface
[
interface-type
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
inbound
: Displays inbound traffic statistics.
outbound
: Displays outbound traffic statistics.
interface-type
: Specifies an interface type.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use
display counters
to display traffic statistics for interfaces.