Monthly Archives: January 2013

Cisco 887 Web Access (quick and dirty!)

Quickest way to get access to a c887 out of the box for web access

Connect console cable to console port and issues the following commands.

 conf t
 int vlan 1
 ip address 192.168.1.2 255.255.255.0
 exit
 username "name" password 7 "password"
 ip http server
 ip http authentication local

Set ip on laptop 192.168.1.1 255.255.255.0

Browse to 192.168.1.2

Login with usename set above.

Advertisements
Tagged , ,

Juniper SRX210 JUNOS Update

First time doing this not yet had the chance to issue the firmware update, so I will update this again to add anything extra if needed.

Juniper do make it much easier to update their firmware than Cisco.

This is presuming the SRX210 is setup already and can be remotely accessed.  (I will add later on a from out of the box firmware update)

##WinSCP great tool for connect via SSH to linux and other deivce such a the SRX210.

WinSCP to SRX 210

Loging to SRX 210 as ROOT

##Copy firmware latest recommend fimrware for SRX to the following folder…

cf/var/tmp

##Check firmware has been added by running the following command…

file list /var/tmp/

##Once completed and ready to install run the following command

request system software add /var/tmp/junos-srxsme-11.4R5.5-domestic.tgz

##Once the message appears requesting to restart issue the following command

request system reboot
Tagged , , , ,

Cisco 877 & 887-VA Router Firmware Updates

A daily task before configuring any router is ensuring the router is fully up to date with ADSL firmware especially with the know issues of BT and CISCO.

Connect a laptop to the router on either of the ports from 0-3 set an IP address on the laptop something like 192.168.1.1 255.255.255.0 no need for a gateway.

You will need a TFTP program to copy the firmware across tftpd32 is what i use.

On the laptop drop the firmware within the root of the tftpd32 program or set a location within the program. Firmware which can be download from Cisco’s site for the 877 or 887-VA

Once you have this set up you need to issue the following commands on the router to firmware update it updating a 877 and 887 are different so I have put both guides in below.

Cisco 877

##Set and IP address on VLAN 1

ADSL-R1#conf t
ADS(config)#iint vlan 1
ADS(config-if)#ip address 192.168.1.2 255.255.255.0
ADS(config-if)#shut
ADS(config-if)#no shut
ADSL-R1#end

##Check VLAN 1 is up issue the following command

ADSL-R1#sh ip int brief

##Ping the laptop to prove you have connecitivity

ADSL-R1#ping 192.168.1.1

##If you get a response you are ready to copy the firmware form the laptop.

ADSL-R1#copy tftp: flash:
Address or name of remote host []? 192.168.1.1
Source filename []? adsl_alc_20190.bin <-- this is the name of the firmware
Destination filename [adsl_alc_20190.bin]?
Accessing tftp://192.168.1.1/adsl_alc_20190.bin...

##Once copied you can issue a the following command to check it is on the router.

ADSL-R1#sh flash

##You should see the firmware

##Issue the following command to ensure it set to use that firmware at boot.

ADSL(config)#boot system flash adsl_alc_20190.bin

##Save & Restart the router

ADSL-R1#wr
ADSL-R1#reload
ADSL-R1#sh dsl int atm 0

##This should show the new firmware after the router has been restarted and show it as not embedded any more.

———————————————————————————————————————————————————————–

Cisco 887-VA

##Set and IP address on VLAN 1

ADSL-R1#conf t
ADS(config)#iint vlan 1
ADS(config-if)#ip address 192.168.1.2 255.255.255.0
ADS(config-if)#shut
ADS(config-if)#no shut
ADSL-R1#end

##Check VLAN 1 is up issue the following command

ADSL-R1#sh ip int brief

##Ping the laptop to prove you have connecitivity

ADSL-R1#ping 192.168.1.1

##If you get a response you are ready to copy the firmware form the laptop.

ADSL-R1#copy tftp: flash:
Address or name of remote host []? 192.168.1.1
Source filename []? vdsl.bin <-- this is the name of the firmware
Destination filename [vdsl.bin]?
Accessing tftp://192.168.1.1/vdsl.bin...

##Once copied you can issue a the following command to check it is on the router.

ADSL-R1#sh flash

##You should see the firmware now you have to change the file that the VDSL controller uses.

ADSL-R1#conf t
ADS(config)#controllers vdsl 0
ADS(config-controller)#firmware filename flash:vdsl.bin
ADS(config-controller)#shut

## Give a minute

ADS(config-controller)#no shut
ADS(config-controller)#end
ADSL-R1#wr

##Issue the following command to check it has applied the highlighted section shows the updated firmware no need to reload the router.

ADSL-R1#sh controllers vdsl 0
Controller VDSL 0 is UP
Daemon Status: Up
XTU-R (DS) XTU-C (US)
 Chip Vendor ID: 'BDCM' 'TSTC'
 Chip Vendor Specific: 0x0000 0x0510
 Chip Vendor Country: 0xB500 0xB500
 Modem Vendor ID: 'CSCO' ' '
 Modem Vendor Specific: 0x4602 0x0000
 Modem Vendor Country: 0xB500 0x0000
 Serial Number Near: FGL1636276T 887VA-K9 15.1(4)M
 Serial Number Far: 00000000000000000000000000000000
 Modem Version Near: 15.1(4)M
 Modem Version Far: 0x0510
Modem Status: TC Sync (Showtime!)
 DSL Config Mode: AUTO
 Trained Mode: G.992.5 (ADSL2+) Annex A
 TC Mode: ATM
 Selftest Result: 0x00
 DELT configuration: disabled
 DELT state: not running
 Trellis: ON ON
 Line Attenuation: 56.5 dB 31.3 dB
 Signal Attenuation: 60.8 dB 0.0 dB
 Noise Margin: 7.3 dB 7.1 dB
 Attainable Rate: 4576 kbits/s 936 kbits/s
 Actual Power: 18.0 dBm 12.0 dBm
 Total FECS: 0 0
 Total ES: 117126 1902
 Total SES: 713 0
 Total LOSS: 0 0
 Total UAS: 30 30
 Total LPRS: 0 0
 Total LOFS: 0 0
 Total LOLS: 0 0
 Bit swap: 6853 1160
Full inits: 1
 Failed full inits: 0
 Short inits: 0
 Failed short inits: 0
Firmware Source File Name (version)
 -------- ------ -------------------
 VDSL user config flash:vdsl.bin-A2pv6C035j1 (10)
Modem FW Version: 120330_1738-4.02L.03.A2pv6C035j0.d23j
 Modem PHY Version: A2pv6C035j0.d23j
 DS Channel1 DS Channel0 US Channel1 US Channel0
 Speed (kbps): 0 3895 0 704
 Previous Speed: 0 0 0 0
 Total Cells: 0 2593180214 0 3934970443
 User Cells: 0 443676444 0 270164147
 Reed-Solomon EC: 0 0 0 0
 CRC Errors: 0 174408 0 2058
 Header Errors: 0 377211 0 720
 Interleave (ms): 0.00 0.24 0.00 1.00
 Actual INP: 0.00 0.00 0.00 0.00
Training Log : Stopped
 Training Log Filename : flash:vdsllog.bin
Tagged , , , , , , ,