Cisco handy configs

From Ever changing code
Jump to navigation Jump to search

Copy files to Cisco device

ip tftp source-interface GigabitEthernet0/1 '<-- set source tftp interface'
conf t
r1-basic#copy tftp flash
Address or name of remote host []? 192.168.100.11
Source filename []? 8705_t1_0_3_2.tar
Destination filename [8705_t1_0_3_2.tar]?
Accessing tftp://192.168.100.11/8705_t1_0_3_2.tar...
Loading 8705_t1_0_3_2.tar from 192.168.100.11 (via GigabitEthernet0/1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 21821440 bytes]

21821440 bytes copied in 44.080 secs (495042 bytes/sec)

r1-basic#sh flash0: | inc 8705
243   21821440 Aug 29 2013 13:44:54 +00:00 8705_t1_0_3_2.tar

Upgrade modem Firmware

Cisco process guide on how to upgrade a modem

Syntax is microcode reload cellular pa-bay slot gsm modem-provision pa-bay — Use 0 for HWIC, slot — slot number where the HWIC is plugged in. Use command below for Cisco Router 1941 with EHWIC card in slot 0.

microcode reload cellular 0 0 gsm modem-provision

Here is a whole process recorded:

r1-basic#archive tar /xtract flash0:8705_t1_0_3_2.tar flash0: '<-- extracting firmware file'
extracting FWUpgradeConfigFile.txt (135 bytes)
extracting appl.cwe (21310948 bytes)
extracting boot.cwe (497164 bytes)
r1-basic#microcode reload cellular 0 0 gsm modem-provision '<-- initiates the firmware upgrade process'
Reload microcode? [confirm]
Log status of firmware download in router flash?[confirm]
Firmware download status will be logged in flash0:fwlogfile
Microcode Reload Process launched for hwic slot=0; hw type=0x51E
r1-basic#
*****************************************************
 The interface will be Shut Down for Firmware Upgrade
 This will terminate any active data connections.
 Do not make any config changes related to the interface.
*****************************************************
*****************************************************
 Modem will be upgraded!
 Upgrade process will take up to 15 minutes. During
 this time the modem will be unusable.
 Please do not remove power or reload the router during
 the upgrade process.
*****************************************************
Begin boot image download
Firmware [size:497164 bytes] will be downloaded in 486 segments

***** Boot File Upgrade OK *****

******************************************
The firmware file will be copied in blocks
from Compact Flash. Please DO NOT remove
Compact Flash during Upgrade Process. Doing
so will cause download failure and leave
modem in unusable state
*******************************************
Prepare modem for downloading application image
r1-basic#.
Begin application image download
Firmware [size:21310948 bytes] will be downloaded in 20892 segments
!
r1-basic#!! '<-- image download processing'
r1-basic#!!!
r1-basic#!!
r1-basic#!!
r1-basic#!!!

***** Application Firmware Upgrade OK *****

Modem Upgrade OK
r1-basic#
*Aug 29 13:51:36.871: %CELLWAN-2-MODEM_DOWN: Modem in HWIC slot 0/0 is DOWN
r1-basic#
*Aug 29 13:51:46.459: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP
r1-basic#