2
default
Use
default
to restore the default settings for an Ethernet interface.
Syntax
default
Views
Ethernet interface view
Default command level
2: System level
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 and 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 individually 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 Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] default
This command will restore the default settings. Continue? [Y/N]:y
description
Use
description
to change the description of the interface.
Use
undo description
to restore the default.
Syntax
description
text
undo
description
Default
The default description of an interface is the interface name plus
Interface
. For example,
Ten-GigabitEthernet1/0/1 Interface
.
Views
Ethernet interface view
Default command level
2: System level