Syntax
default
Views
Ethernet interface view
Predefined user roles
network-admin
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 because of command
dependencies or system restrictions. You can use the display this command in interface view to
identify these commands, and 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 solve
the problem.
Examples
# Restore the default settings for Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] default
description
Use description to configure 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,
Ten-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
# Set the description of Ten-GigabitEthernet 1/0/1 to lan-interface.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] description lan-interface
3