Cisco apply config

From Ever changing code
Revision as of 15:37, 5 November 2014 by Pio2pio (talk | contribs) (→‎Apply config to a router)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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]