PROCEDIMIENTO PARA CAMBIAR IOs Y/o firmware
Tanto para cambiar el Firmware como la IOS lo que se hará será borrar todo el contenido de la flash y volver a copiar primero la IOS y después el firmware. Es muy importante que el orden de copia de ficheros sea éste.
Copiamos la IOS a la Flash, cuando nos pregunte si queremos borrar la flash le decimos que sí :
Router#copy tftp: flash:
Address or name of remote host [172.23.9.153]?
Source filename [c837-k9o3sy6-mz.122-13.ZH4.bin]?
Destination filename [c837-k9o3sy6-mz.122-13.ZH4.bin]?
Accessing tftp://172.23.9.153/c837-k9o3sy6-mz.122-13.ZH4.bin...
Erase flash: before copying? [confirm]
Erasing the flash: filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash: complete
Loading c837-k9o3sy6-mz.122-13.ZH4.bin from 172.23.9.153 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 6039348 bytes]
Verifying checksum... OK (0x5DB0)
6039348 bytes copied in 93.748 secs (64421 bytes/sec)
Para ver el contenido de la flash:
Router#show flash:
System flash directory:
File Length Name/status
1 6039348 c837-k9o3sy6-mz.122-13.ZH4.bin
[6039412 bytes used, 6281356 available, 12320768 total]
12288K bytes of processor board System flash (Read/Write)
Para que el interfaz ATM de los 83x use el firmware del fichero, tendremos que ponerlo en la flash siempre con el nombre adsl_alc_firmware.bin.
Para que el interfaz ATM de equipos con la WIC-ADSL use el firmware del fichero, tendremos que ponerlo en la flash siempre con el nombre adsl_alc_20150.bin.
Copiamos el firmware a la flash pero en este caso cuando nos pregunte si queremos borrar la flash le diremos que no, ya que ya tenemos copiada la IOS:
Router#copy tftp: flash:
Address or name of remote host [172.23.9.225]?
Source filename [adsl_alc_firmware.bin]?
Destination filename [adsl_alc_firmware.bin]?
Accessing tftp://172.23.9.225/adsl_alc_firmware.bin...
Erase flash: before copying? [confirm]n
Loading adsl_alc_firmware.bin from 172.23.9.225 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 316735 bytes]
Verifying checksum... OK (0xE6FC)
316735 bytes copied in 8.100 secs (39103 bytes/sec)
Router#
La Flash queda de la siguiente manera:
Router#sh flash:
System flash directory:
File Length Name/status
1 6039348 c837-k9o3sy6-mz.122-13.ZH4.bin
2 316735 adsl_alc_firmware.bin
[6356212 bytes used, 5964556 available, 12320768 total]
12288K bytes of processor board System flash (Read/Write)
Para ver la versión de Firmware ADSL utilizaremos el comando:
Router# pruebas837#sh dsl int atm 0
ATU-R (DS) ATU-C (US)
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ANSI T1.413
ANSI Issue/rev: 2/1 2/5
Vendor ID: 0x0022 0x0039
Capacity Used: 31% 45%
Noise Margin: 32.0 dB 26.0 dB
Output Power: 8.0 dBm 10.0 dBm
Attenuation: 3.5 dB 4.0 dB
Defect Status: None None
Last Fail Code: Message error
Selftest Result: 0x00
Subfunction: 0x15
Interrupts: 644 (1 spurious)
Activations: 1
Init FW: ASW_init_3_9_19.bin
Operartion FW: ASW_R3_9_19.bin
SW Version: 3.9.19
FW Version: 0x1A04
Interleave Fast Interleave Fast
Speed (kbps): 2016 0 320 0
Reed-Solomon EC: 3 0 0 0
CRC Errors: 0 0 2 0
Header Errors: 0 0 0 0
Bit Errors: 0 0
BER Valid sec: 0 0
BER Invalid sec: 0 0
LOM Monitoring : Disabled
DMT Bits Per Bin
00: 0 0 0 0 0 0 0 2 2 2 4 5 6 6 6 7
10: 7 7 7 7 7 6 5 5 4 4 4 3 3 3 0 0
20: 0 0 0 0 0 0 0 0 0 0 2 2 2 2 3 3
30: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 5 5
40: 0 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
50: 5 5 5 5 5 5 5 5 5 4 5 2 5 4 4 4
60: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
70: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
80: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
90: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
A0: 4 4 4 4 4 4 4 4 4 4 4 3 4 4 4 4
B0: 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
C0: 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
D0: 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
E0: 3 3 3 3 3 3 3 3 3 3 3 3 2 2 2 2
F0: 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0
Training log buffer capability is not enabled yet.
Este comando solo nos da información cuando la línea ADSL ha sincronizado. Para ver el firmware del equipo cuando no hay sincronización ADSL usaremos el comando "debug atm events":
Router#debug atm events
ATM events debugging is on
*Mar 1 02:33:03.439: DSL: 5: Modem state = 0x8
*Mar 1 02:33:05.939: DSL: 6: Modem state = 0x8
*Mar 1 02:33:08.439: DSL: 7: Modem state = 0x8
*Mar 1 02:33:10.939: DSL: 8: Modem state = 0x8
*Mar 1 02:33:13.439: DSL: 9: Modem state = 0x8
*Mar 1 02:33:15.939: DSL: 10: Modem state = 0x8
*Mar 1 02:33:18.439: DSL: 11: Modem state = 0x8
*Mar 1 02:33:20.939: DSL: 12: Modem state = 0x8
*Mar 1 02:33:23.439: DSL: 13: Modem state = 0x8
*Mar 1 02:33:25.939: DSL: 14: Modem state = 0x8
*Mar 1 02:33:28.439: DSL: 15: Modem state = 0x8
*Mar 1 02:33:30.939: DSL: 16: Modem state = 0x8
*Mar 1 02:33:33.439: DSL: 17: Modem state = 0x8
*Mar 1 02:33:35.939: DSL: 18: Modem state = 0x8
*Mar 1 02:33:38.439: DSL: 19: Modem state = 0x8
*Mar 1 02:33:40.939: DSL: 20: Modem state = 0x8
*Mar 1 02:33:43.439: DSL: Could not establish connection
*Mar 1 02:33:53.439: DSL: Trying to bring up DSL line using Flash firmware version : 3.9.19
*Mar 1 02:33:53.439: DSL: Send ADSL_OPEN command.
*Mar 1 02:33:53.439: DSL: Using subfunction 0x15
*Mar 1 02:33:53.439: DSL: Using subfunction 0x15
*Mar 1 02:33:53.439: LOCAL:Max noise margin for power cutoff 31
*Mar 1 02:33:53.439: DSL: Sent command 0x3
*Mar 1 02:33:55.939: DSL: 1: Modem state = 0x8
Para que no sigan apareciendo por consola los mensajes deberemos aplicar el comando "undebug all"