R3102-R3103-HP 6600/HSR6600 Routers Interface Command Reference
4
Examples
# Change the description of interface GigabitEthernet 4/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] description lanswitch-interface
# Change the description of Ethernet subinterface GigabitEthernet 4/0/1.1 to l2-subinterface4/0/1.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1.1
[Sysname-GigabitEthernet4/0/1.1] description l3-subinterface4/0/1.1
Related commands
display interface
display counters
Use display counters to display traffic statistics for interfaces.
Syntax
display counters { inbound | outbound } interface [ interface-type ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command 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.
Usage guidelines
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.
Examples
# Display inbound traffic statistics for all GigabitEthernet interfaces.
<Sysname> display counters inbound interface gigabitethernet










