2
Usage guidelines
CAUTION:
The
default
command might interrupt ongoing network services. Make sure you are fully aware of
the impacts of this command when you use it in a live network.
This command might fail to restore the default settings for some commands for reasons such as
command dependencies or system restrictions. Use the
display this
command in interface view to
identify these commands, and then use their
undo
forms or follow the command reference to restore
their default settings. If your restoration attempt still fails, follow the error message instructions to
resolve the problem.
Examples
# Restore the default settings for interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] default
description
Use
description
to change the description of an interface.
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,
GigabitEthernet1/0/1 Interface
).
Views
Ethernet interface 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 1/0/1 to
lanswitch-interface
.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-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
] ]
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...