Difference between revisions of "Cisco apply config"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Backup & restore config = | |||
Please follow this good practice process before applying any device configuration changes. | |||
;Backup config on <tt>flash:</tt> | |||
! Save config | |||
write mem | |||
! Backup Config | |||
copy start PRE_CM_11223344.conf | |||
;Restore config from <tt>flash:</tt> | |||
config replace flash:PRE_CM_11223344.conf | |||
Reply 'Y' when prompted | |||
write mem | |||
= Apply config to AP = | = Apply config to AP = | ||
Ensure that BVI1 interface has IP address | Ensure that BVI1 interface has IP address | ||
Line 18: | Line 30: | ||
2 -rwx 3569 Mar 1 1993 03:07:13 +00:00 config.txt | 2 -rwx 3569 Mar 1 1993 03:07:13 +00:00 config.txt | ||
12 drwx 512 Mar 1 1993 01:51:08 +00:00 ap1g2-k9w7-mx.152-2.JB2 | 12 drwx 512 Mar 1 1993 01:51:08 +00:00 ap1g2-k9w7-mx.152-2.JB2 | ||
4 -rwx 1914 Mar 1 1993 03:07:13 +00:00 private-config | 4 -rwx 1914 Mar 1 1993 03:07:13 +00:00 private-config | ||
Line 47: | Line 58: | ||
= Apply config to a router = | = Apply config to a router = | ||
Please visit [[Cisco_1941_with_AIR-SAP_1602E-E-K9_Standalone#Basic_router_config | apply router config]] section. | |||
= Check config recent changes before saving = | |||
switch#'''show archive config differences''' | |||
!Contextual Config Diffs: | |||
!No changes were found | |||
switch#write memory | |||
Building configuration... | |||
[OK] | |||
[[Category:cisco]] |
Latest revision as of 16:37, 5 November 2014
Backup & restore config
Please follow this good practice process before applying any device configuration changes.
- Backup config on flash:
! Save config write mem ! Backup Config copy start PRE_CM_11223344.conf
- Restore config from flash:
config replace flash:PRE_CM_11223344.conf
Reply 'Y' when prompted
write mem
Apply config to AP
Ensure that BVI1 interface has IP address
ap1>sh ip int brief Interface IP-Address OK? Method Status Protocol BVI1 10.0.99.2 YES DHCP up up Dot11Radio0 unassigned YES NVRAM up up Dot11Radio0.10 unassigned YES unset up up Dot11Radio0.20 unassigned YES unset up up Dot11Radio0.99 unassigned YES unset up up Dot11Radio1 unassigned YES NVRAM administratively down down GigabitEthernet0 unassigned YES NVRAM up up GigabitEthernet0.10 unassigned YES unset up up GigabitEthernet0.20 unassigned YES unset up up
List files on the access point flash:
ap1#sh flash: Directory of flash:/ 2 -rwx 3569 Mar 1 1993 03:07:13 +00:00 config.txt 12 drwx 512 Mar 1 1993 01:51:08 +00:00 ap1g2-k9w7-mx.152-2.JB2 4 -rwx 1914 Mar 1 1993 03:07:13 +00:00 private-config 5 -rwx 1048 Mar 1 1993 03:07:13 +00:00 private-multiple-fs 6 -rwx 148 Mar 1 1993 01:24:12 +00:00 env_vars
Delete start up config be deleting file flash:config.txt
ap1#delete flash:config.txt Delete filename [config.txt]? Delete flash:/config.txt? [confirm]
Copy new config from TFTP server to flash:
ap1#copy tftp: flash: Address or name of remote host []? 10.0.99.12 Source filename []? config-ap2-v3.txt Destination filename [config-ap2-v3.txt]? config.txt Accessing tftp://10.0.99.12/config-ap2-v3.txt... Loading config-ap2-v3.txt from 10.0.99.12 (via BVI1): ! [OK - 3851 bytes] 3851 bytes copied in 0.040 secs (96275 bytes/sec) ap1#reload System configuration has been modified. Save? [yes/no]: no Proceed with reload? [confirm] Writing out the event log to flash:/event.log ...
More to come ...
Apply config to a router
Please visit apply router config section.
Check config recent changes before saving
switch#show archive config differences !Contextual Config Diffs: !No changes were found switch#write memory Building configuration... [OK]