copy default-config

Clears the running configuration.

Syntax

copy default-config running-config

Parameters

default-config
Specifies the default configuration.
running-config
Specifies the current running configuration.

Modes

Exec mode

Usage Guidelines

This command is available only to users with the admin role.

After running this command, the system reboots with the management interface configuration.

Examples

The following example replaces the running configuration with the default configuration.

device# copy default-config running-config 

This operation will modify your running configuration. 
WARN: system will be rebooted to have configuration changes to take effect! 

Do you want to continue? [y/n]: 
Reloading.... please wait