by default. For example, IP routing is enabled by default. To disable IP routing, use the
no ip routing
command;
to re-enable IP routing, use the
ip routing
command. The Cisco IOS XE software command reference
publications provide the complete syntax for the configuration commands and describe what the
no
form of
a command does.
Many CLI commands also have a
default
form. By issuing the command
default command-name
, you can
configure the command to its default setting. The Cisco IOS XE software command reference publications
describe the function of the
default
form of the command when the
default
form performs a different function
than the plain and
no
forms of the command. To see what default commands are available on your system,
enter
default ?
in the appropriate command mode.
Use the
copy running-config startup-config
command to save your configuration changes to the startup
configuration so that the changes will not be lost if the software reloads or a power outage occurs. For example:
Router#
copy running-config startup-config
Building configuration...
It might take a minute or two to save the configuration. After the configuration has been saved, the following
output appears:
[OK]
Router#
This task saves the configuration to NVRAM.
On the Cisco CSR 1000v, the startup configuration file is stored in the NVRAM partition. As a matter of
routine maintenance on any Cisco router, users should backup the startup configuration file by copying the
startup configuration file from NVRAM onto one of the router
’
s other file systems and, additionally, onto a
network server. Backing up the startup configuration file provides an easy method of recovering the startup
configuration file in the event the startup configuration file in NVRAM becomes unusable for any reason.
The
copy
command can be used to backup startup configuration files. The following examples show the
startup configuration file in NVRAM being backed up:
Example 1: Copying a Startup Configuration File to Bootflash
Router#
dir bootflash:
Directory of bootflash:/
11
drwx
16384
Jan 24 2012 04:53:55 -05:00
lost+found
12
-rw-
289243620 Jan 24 2012 04:54:55 -05:00
308257
drwx
4096
Jan 24 2012 04:57:06 -05:00
core
876097
drwx
4096
Jan 24 2012 04:57:07 -05:00
.prst_sync
63277
drwx
4096
Jan 24 2012 04:57:10 -05:00 .rollback_timer
13
-rw-
0
Jan 24 2012 04:57:19 -05:00
tracelogs.
csr1000v-adventerprisek9.2012-01-23_12.39.SSA.bin
Router#
copy nvram:startup-config bootflash:
Destination filename [startup-config]?
3517 bytes copied in 0.647 secs (5436 bytes/sec)
Directory of bootflash:/
11
drwx
16384
Jan 24 2012 04:53:55 -05:00
lost+found
12
-rw-
289243620 Jan 24 2012 04:54:55 -05:00
308257
drwx
4096
Jan 24 2012 04:57:06 -05:00
core
876097
drwx
4096
Jan 24 2012 04:57:07 -05:00
.prst_sync
632737 drwx
4096
Jan 24 2012 04:57:10 -05:00 .rollback_timer
13
-rw-
0
Jan 24 2012 04:57:19 -05:00
tracelogs.
csr1000v-adventerprisek9.2012-01-23_12.39.SSA.bin
14 -rw-
7516
Jul 2 2012 15:01:39 -07:00
startup-config
Example 2: Copying a Startup Configuration File to a TFTP Server
Router#
copy bootflash:startup-config tftp:
Address or name of remote host []?
172.17.16.81
Destination filename [pe24_asr-1002-confg]?
/auto/tftp-users/user/startup-config
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
59
Using Cisco IOS XE Software
Finding Command Options