copy running config startup config

Copy running config startup config is a command in cisco. This command is used to copies the currently running configurations config_file from the environment of variables. These config_files are specified. These variables are used to spcified the configuration and device files. These files are used for initialization.

Configuration

on Jun 15, 2022
R1#show running-config 
Building configuration...

Current configuration : 1072 bytes
!
! Last configuration change at 13:19:49 UTC Tue Jan 31 2017
version 15.1
!
hostname R1
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
!
end

Add Comment

0

Copy from running-config

on Jun 15, 2022
R1#copy running-config startup-config
Destination filename [startup-config]? 
Building configuration...
R1#copy running-config my-config.cfg
Destination filename [my-config.cfg]? 


1072 bytes copied in 1.076 secs (996 bytes/sec)
R1#copy running-config my-config.cfg
Destination filename [my-config.cfg]? 
%Warning:There is a file already existing with this name 
Do you want to over write? [confirm]

1072 bytes copied in 0.648 secs (1654 bytes/sec)

Add Comment

0

Copy to running-config

on Jun 15, 2022
R1#more flash:backup-config.cfg
!
! Last configuration change at 13:22:49 UTC Tue Jan 31 2017
!
hostname R1
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 172.16.1.1 255.255.255.0
 duplex auto
 speed auto
!
end

R1#copy flash:backup-config.cfg running-config
Destination filename [running-config]? 
1106 bytes copied in 0.268 secs (4127 bytes/sec)

R1#show running-config 
Building configuration...


Current configuration : 1129 bytes
!
! Last configuration change at 13:27:49 UTC Tue Jan 31 2017
!
hostname R1
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 172.16.1.1 255.255.255.0
 duplex auto
 speed auto
!         
interface FastEthernet0/1
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
!
end

Add Comment

0

Erase startup config

on Jun 15, 2022
R1#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: 

R1#reload

System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm]

Add Comment

0

Configure Replace

on Jun 15, 2022
R1#configure replace flash:backup-config.cfg
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: Y

Total number of passes: 1
Rollback Done

Rollback:Acquired Configuration lock.

R1#show running-config 
Building configuration...


Current configuration : 1106 bytes
!
! Last configuration change at 13:40:39 UTC Tue Jan 31 2017
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
interface FastEthernet0/0
 ip address 172.16.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
!
end

Add Comment

0

Conclusion

on Jun 15, 2022
You have now learned how Cisco IOS behaves when you copy something into the running configuration. You also learned how you can replace the running configuration without reloading the router.

Add Comment

0

Hopefully the all above answers will setisfy your questions. For futher queries you can also give your suggestions.

SQL answers related to "copy running config startup config"

View All SQL queries

SQL queries related to "copy running config startup config"

Browse Other Code Languages

CodeProZone