default interface
To create a checkpoint of the running configuration for rollback purposes, use the default interface command.
default interface if [checkpoint name]
Syntax Description
if |
Interface type and number in module/slot format. |
checkpoint |
(Optional) Creates a configuration rollback checkpoint. |
name |
(Optional) Checkpoint name. The maximum size is 80 alphanumeric characters. |
Command Default
None
Command Modes
Interface configuration mode
Command History
Release |
Modification |
---|---|
5.1(1) |
This command was introduced. |
Usage Guidelines
Use this command to return an interface to its default state. All the user configuration under the specified interface(s) is deleted upon the successful completion of the command. You can optionally create a checkpoint before deleting the interface configuration, so that you can later choose to roll back to the original configuration.
![]() Caution |
When using this command, you delete the configuration of the specified interfaces unless you enter the checkpoint keyword. The optional checkpoint keyword allows you to create a checkpoint of the interface configuration to that you can later roll back to the original configuration. |
This command does not require a license.
Examples
This example shows how to create a checkpoint of the running configuration for rollback purposes:
switch(config)# default interface ethernet 2/1 checkpoint test
.......Done
switch(config)#