R0106-HP MSR Router Series Interface Command Reference(V7)
9
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description of an interface is the interface name plus Interface (for example, GigabitEthernet2/0/1
Interface).
Views
Ethernet interface view, Ethernet subinterface view
Predefined user roles
network-admin
Parameters
text: Specifies the interface description, a case-sensitive string of 1 to 255 characters.
Examples
# Change the description of interface GigabitEthernet 2/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] description lanswitch-interface
# Change the description of Ethernet subinterface GigabitEthernet 2/0/1.1 to l2-subinterface2/0/1.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1.1
[Sysname-GigabitEthernet2/0/1.1] description l2-subinterface2/0/1.1
display counters
Use display counters to display interface traffic statistics.
Syntax
display counters { inbound | outbound } interface [ interface-type [ interface-number |
interface-number.subnumber ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
inbound: Displays inbound traffic statistics.
outbound: Displays outbound traffic statistics.
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.