Home > CCIE SP > Upgrading IOS to IOS-XR

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…

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.2/upgrade/guide/up32dual.html#wp1105703

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
BOOTLDR=bootflash:bootimage
TURBOBOOT=on,disk0 (the process says TURBOBOOT=on, disk0 but there is no space)
sync
reset

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

boot tftp c12k-mini.vm-4.3.0 10.10.10.1

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:

BOOTLDR=bootflash:bootimage
unset TURBOBOOT
sync
reset

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

boot tftp mbiprp-rp.vm-4.3.0 10.10.10.1

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

admin
install add tftp:/10.10.10.1/c12k-mcast.pie-4.3.0
install add tftp:/10.10.10.1/c12k-mpls.pie-4.3.0

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
RP/0/0/CPU0:XR1(config-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):

admin
conf t
sdr XR2

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

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
commit

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.

Advertisements
Categories: CCIE SP
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: