Archive for July, 2012

Upgrading IOS to IOS-XR

I have a 12008 GSR from the early 2000s I want to upgrade to IOS-XR, cheap and cheerful.

I need to write down bits and bobs about it as I dont use them much…

show diag

sho context

upgrade mbus

upgrade fabric

Here is the process i need to use…

EDIT 29/04/13

OK so this box has been nothing but hassle but it stays up long enough for me to forget what I need to do to restore it

So the bootflash got erased somehow, major crash on both RPs, I think it was a faulty LC but whatever.  Also I was going through a wall socket to get to the console port and while that works for EVERYTHING this process didn’t like it, nothing to do with distance I don’t think as it’s just a couple of meters.

So to change the bootup:

unset BOOT
TURBOBOOT=on,disk0 (the process says TURBOBOOT=on, disk0 but there is no space)

Now you’re ready to boot the mini vm image:

boot tftp c12k-mini.vm-4.3.0

Once that is complete, and it does take an age, you can go ahead and upgrade the standby RP.  This follows a similar process with a slight difference, you need to unset the turboboot function:


Next you need to tftp (or ftp) the standby image on:

boot tftp mbiprp-rp.vm-4.3.0

Watch out for inconsistencies with the Cisco process and the file naming convention, e.g. missing -vm. in some commands.

Again the standby RP will go through a major sync process which takes about 30 minutes

OK so now both cards will be ready for IOX.  You need to install some pies for mpls and multicast functionality (or video if you want, I don’t).

Make sure you have these on your tftp server, they come with the tar anyway.  Go in to

install add tftp:/
install add tftp:/

I think you can daisy chain these pie’s in one command but I didn’t try that and I sure as hell don’t want to for the sake of my sanity.

Want to see how progress is moving?  Of course you do: show install request

Once the packages have been added we need to activate them, again I think you can daisy chain but I didn’t:

install act disk0:c12k-mpls-p-4.3.0
install act disk0:c12k-mcast-p-4.3.0

Finally once we get the all clear message we need to commit the packages: install commit

Now try it out, how about this, YEEEEEEAHHHHHHHHHHH

RP/0/0/CPU0:XR1#conf t
Mon Apr 29 14:45:27.971 UTC
RP/0/0/CPU0:XR1(config)#mpls ldp
  backoff               Configure session backoff parameters
  clear                 Clear the uncommitted configuration
  commit                Commit the configuration changes to running
  default-route         Enable MPLS forwarding for default route
  describe              Describe a command without taking real actions
  discovery             Configure discovery parameters

I really hope I don’t have to read this again, not pleasant…


SDR configuration (I’m doing INE so have the same card layout):

conf t
sdr XR2

 location 0/3/*
 location 0/4/*
 location 0/7/*

Authentication on the non owner:
On owner SDR: aaa authen login remote local
On the non owner SDR login over console with uid admin@admin and password from the owner:
conf t
username blah
secret blahblah
group root-lr

I’m writing this from memory pretty much so there are no doubt mistakes. For the love of jaysus be careful with it, it looks straightforward but your GSR (if it’s like mine) is old and can’t take much more of a beating.

Categories: CCIE SP

Notes IOS-XR Overview INE

admin enters admin mode

conf t enters admin config mode

group root-system allows users into admin group

group root-lr (logical router)

$uid@admin to enter admin from lr


CSC controls packet routing

SFC controls switch fabric/backplane

state of both above should be powered

PRP state should be ios-xr run (bringdown normal for standby card)


show diag [summary]

show platform



conf t

sdr <name>

location #/#/* to allocate cards to lr, eg 0/1/*


show install active shows packages active

sho install inactive show packages not active

install activate

install commit to fully commit package to chassis.


sho config fail

sho commit

sho run (active config)

sho config (pre commit config)

sho config commit  list (diff changes)

                               changes [since]

                               label <name>

rollback configu 1 (undoes last commited change)

comit confirm # (to set a time by which the commit must be aborted)

sho run | utility egrep <regex>

Categories: Uncategorized Tags: