| |

Cisco IOS-XRv (V as in Virtual!)

IOS XRv Fryguy

There was a tweet on Friday that some may have missed, but it is one that you do not want to miss. It was a subtle little announcement from @CiscoIOSXR about IOS XRv!

Note:  On Tuesday, February 11th there was an update that they are still working on the entitlement issue.  Tweet is included below as well.

 

 So yes, that is a V as in Virtual!  Finally, IOS XRv has been released –  and on the latest IOS-XR code, 5.1.1!

So a few things about IOS XRv –  first of all, it is a 32–bit softwrae version running on the QNX microkernel.  The VM contains a single RP and a some LC Interfaces.
The demo version of the software is FREE for users, has AAA hard-coded users in it, and is rate-limited to 2 Mbps.   There is also a Simulation Image available and has no hard-coded users and is rate-limited to 50 Mbps.  Finally there is a Production Image that has no hard-coded users and no rate-limit.
To run the IOX XRv Router you will need:
ReqTable

You can find the IOS XRv Installation Guide at this link — LINK — but I will cover it in this post as well.
For the release notes, you can find them — HERE.
 
So how does one get this wonderful little treat, well you will need a CCO account and that should be about it!
               Note: As of this writing some accounts are not able to download it.  I have been informed they are working to fix that.
So, to download the software you need to click on this link and it will take you to the software download site:  CLICK HERE TO BE TAKEN TO DOWNLOAD
N
OTE: Updated link on 2/12/2014 Your download image screen might be different.  I was seeing this today:

UpdatedDLImage

 
Once there you will be presented with the following screen:
DownloadSite
Select your software and download.  Note that these are all listed as Demo software and for the use of a Route-Reflector.  Why does it say Route-Reflector?  Well, a RR is perfect for a Virutualized router deployment. The biggest thing on a RR is memory, as they do not normally forward packets.  The only thing they care about are routes –  so why not make a RR a VR!
If you have VMWare Workstation, you can download the VMDK, if you have an ESXi server, the OVA is probably your best bet.
To deploy the OVA on ESXi, just click File -> Deploy OVF Template
Select the IOS XRv image
VMScreen1
It will then show you the OVF Details –  IOS XRv v5.1.1
VMScreen2
You can then give it a name, or just accept the default
VMScreen3
Now you can select your configuration size.
VMScreen4a
You have the choice of:
VMScreen4b
Small  -–  1 vCPU, 3GB RAM, 2NICs
Medium -– 2 vCPU, 4GB RAM, 8 NICs
Large (ESXi) -–  4 vCPU, 6 GB RAM, 10 NICs*
Large (non-ESXi) –-  4 vCPU, 6GB RAM, 16 NICs
Huge (ESXi) -–  8 vCPU, 8 GB RAM, 10 NICs*
Huge (non-ESXi) -–  8 vCPU, 8 GB RAM, 32 NICs**
* –  ESXi only supports up to 10 NICs in a VM
**  IOS XRv supports up to 128 NICs, but most hypervisors do not

For this post, I choose Small.
Then you can select your datastore for the VM
VMScreen5
Choose thick or thin provisioning ( I am going to do Think here).
VMScreen6
Now you can map your NICs to the destination network.  What is curious here is I did select Small for deployment, yet I still can configure 32 Interfaces.  So what I have done is set the Mgmt0 Ethernet to my home network, and then set the G0/0/0 NIC to my CSR1000V network.  I will boot one of my CSR1000V to connect to this VM later on.
VMScreen7
And a confirmation screen and you are ready go deploy.
VMScreen8
IMPORTANT note for accessing the console port of the IOS XRv machine:
Once you have created the Virtual Machine, you need to create a Serial Console connection to it.  To do that…
Edit the Virtual Machine Properties
SerialCon1a
Click on Add on the Hardware Tab
SerialCon2
From the add menu, select Serial Port
SerialCon3
And configure the serial port for Use Network, Server,and enter telnet://SERVERIIP:PORT
For my server, it is at IP 192.168.0.2 and I configured port 2002 for the Serial connection.  Also, your port must be higher than 1024.
SerialCon4
If this is your first Serial connection to a device, you will also need to edit the ESXi firewall. To do that.
Select Configuration for your ESXi server
SecurityConfig1
From there, select Security Profiles
SecurityConfig2
Then Select the Properties option on the Firewall Line
SecurityConfig3
And then scroll down and click on the VM serial port connected over network and click on OK.
SecurityConfig4
Once you do that, power on your server and you will see the GNU GRUB screen
IOSXRboot1
After that, telnet to the serial port
Telnet1
Once you do that you are on the “console” port on the router.
When you first login you will need to create a root-system username/password.  You can use this to login into the system.
The users/passwords that are hard coded are:  lab/lab, cisco/cisco, root/root, and admin/admin.
FirstLogin
After that, login and you are set!
Here is a show version brief output
Shverbr
And when I look at my interfaces, I only have the two
Showipintbr
 
Now a quick setup and test using 192.168.100.x/30 for the routers, 1.1.1.1/32 and 2.2.2.2/32 for the loopback,s and EIGRP 1
RP/0/0/CPU0:ios#conf t
Sun Feb  9 02:42:44.796 UTC
RP/0/0/CPU0:ios(config)#int loop0
RP/0/0/CPU0:ios(config-if)#ip add 2.2.2.2/32
RP/0/0/CPU0:ios(config-if)#exit
RP/0/0/CPU0:ios(config)#inter g0/0/0/0
RP/0/0/CPU0:ios(config-if)#ip add 192.168.100.2/30
RP/0/0/CPU0:ios(config-if)#no shut
RP/0/0/CPU0:ios(config-if)#exit  
RP/0/0/CPU0:ios(config)#router eigrp 1
RP/0/0/CPU0:ios(config-eigrp)#address-family ipv4  
RP/0/0/CPU0:ios(config-eigrp-af)#int g0/0/0/0
RP/0/0/CPU0:ios(config-eigrp-af-if)#exit
RP/0/0/CPU0:ios(config-eigrp-af)#int lo0
RP/0/0/CPU0:ios(config-eigrp-af-if)#passive
RP/0/0/CPU0:ios(config-eigrp-af-if)#exit
RP/0/0/CPU0:ios(config-eigrp-af)#exit
RP/0/0/CPU0:ios(config-eigrp)#exit
 
RP/0/0/CPU0:ios(config)#show 
Sun Feb  9 02:43:46.312 UTC
Building configuration…
!! IOS XR Configuration 5.1.1
interface Loopback0
 ipv4 address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0/0/0
 ipv4 address 192.168.100.2 255.255.255.252
 no shutdown
!
router eigrp 1
 address-family ipv4
  interface Loopback0
   passive-interface
  !
  interface GigabitEthernet0/0/0/0
  !
 !
!
end
RP/0/0/CPU0:ios(config)#commit
The CSR1000v was already configured with a loopback, internface, and EIGRP.
RP/0/0/CPU0:ios#sh eigrp neighbors
Sun Feb  9 02:46:00.063 UTC
IPv4-EIGRP Neighbors for AS(1) VRF default
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
(sec)         (ms)       Cnt Num
0   192.168.100.1           Gi0/0/0/0         10 00:00:15 1266  5000  0  3
RP/0/0/CPU0:ios#sh ip route
Sun Feb  9 02:46:02.563 UTC
Codes: C – connected, S – static, R – RIP, B – BGP, (>) – Diversion path
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – ISIS, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, su – IS-IS summary null, * – candidate default
U – per-user static route, o – ODR, L – local, G  – DAGR
A – access/subscriber, a – Application route, (!) – FRR Backup path
Gateway of last resort is not set
D    1.1.1.1/32 [90/2570240] via 192.168.100.1, 00:00:16, GigabitEthernet0/0/0/0
L    2.2.2.2/32 is directly connected, 00:02:07, Loopback0
C    192.168.100.0/30 is directly connected, 00:02:07, GigabitEthernet0/0/0/0
L    192.168.100.2/32 is directly connected, 00:02:07, GigabitEthernet0/0/0/0
RP/0/0/CPU0:ios#
RP/0/0/CPU0:ios#ping 1.1.1.1 so 2.2.2.2
Sun Feb  9 02:46:46.959 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
RP/0/0/CPU0:ios#
 
And we are in business!
 
Now if you want to learn more bout IOS XR, check out my 105 Page Lab Guide that can be found at this post:
https://www.fryguy.net/2012/10/19/ios-xr-workbook/
 
 
 

Similar Posts

33 Comments

  1. Thank you so much! Also tried to access on 9 Feb 2014 without success; it is even unavailable to gold partners this moment. Looking forward to tomorrow.

  2. My powered on server shows “Booting IOS-XRv” and never gets past that…any ideas?

    1. Yup, that is what it is supposed to do. To access the console, search this post for Serial Console and it will walk you through setting that up.

  3. The greatest thing about this entire thing is that it seems Cisco is listening to the learning community at large that has long demanded stuff like this for free for educational purposes. Having the 2Mbps limit is exactly what I would expect. People can learn and practice without Cisco needing to worry about piracy too much. Brilliant, and I hope the trend continues. Way to go Cisco!

  4. Great post and very informative workbook to add on top of it. Great work.
    I have one question tho, has anybody been able to access cgn or bng features?

  5. Great post and very informative workbook to add on top of it. Great work.
    I have one question tho, has anybody been able to access cgn or bng features?

  6. Awesome, Jeff. Thanks for this! Took me forever in troubleshooting the “remote serial access” before I found that you have to have the “Enterprise” license in order to get the remote serial feature to work.

  7. Looks very neat! Is anyone else getting a realm login prompt when clicking the updated download link? I’ve tried a few times between 11:00-11:30am Central on 2014-02-12 and it keeps requesting me login but my Cisco credentials are not accepted.

  8. I had escalated it big time as I was not able to download, may be lot of people did the same which is why the download screen is different

  9. Hi Jeff! Thanks for your XR Guide, it has been really helpful for my first IOS XR steps 🙂 Have you (or someone else) tried the VPLS features with this XRv? Seems to me that it’s not fully supported (I get the L2VPN session up but no packets forwarded, although MPLS is working). But of course it could be me doing something wrong here 🙂

  10. One thing I overlooked because I’m a ESXi newb- In the Firewall properties make sure you enable the correct VM serial port label. On mine towards the top there is one labeled VM serial port connected to vSPC. Do NOT select this option, scroll down farther and be sure to enable the correct one Jeff mentioned called VM serial port connected over network.

  11. I have installed but unable to access through serial port, I have assigned IP 192.168.120.125 with port 2001 any idea to troubleshoot this problem.
    Also you can open the .ova file in VM ware workstation 10 and able to connect through named pipe proxy using Putty but problem is that IOS XRv does not detect the addition NICs it only shows two interface ( Mgmt and gig though I have added more NIC)

    1. Yasir, I also had this problem. You have to have the “Enterprise” license of ESXi, as I later found out, in order to use Serial over Network feature.

      1. Ahh, Installation guide is very good but missed this information. Thanks for your reply. Its been 3 days I’m installing and re-installing everything.

  12. I am able to telnet to the serial and set the root user.password but afterwards when i prompted to enter username and i do so it never asks for password and gives following error
    “RP/0/0/CPU0:Mar 7 18:47:18.544 : exec[65687]: %SECURITY-login-4-AUTHEN_FAILED :
    Failed authentication attempt by user ‘cisco’ from ‘console’ on ‘con0_0_CPU0′”
    Please help

    1. try using the root account and see if that works, I have not looked at the login security settings. That is the first thing that comes to mind, root/root on the console.

      1. I have this issue as well and no luck using another account. I don’t even get the chance to type a password.

    2. I encountered this situation also. I’ve resolved it.
      I think this is a setting problem of termianl emulator like Putty or Secure CRT In my case.
      this is my solution.
      1. if you use Putty, V check here that [ Category : Connection / Telnet Return key sends Telnet New Line instead of ^M]
      2. if you use Secure CRT, Select here that [ Options / Global Options / General-Default Session / Edit Default Settings.. / Termail-Emulation-Mode/ marking V to New Line mod in Intial modes.

      1. If you’re on Linux (and maybe some others) you can just type Ctrl-J instead of hitting the Enter key when you enter your username and password.

  13. I tried using VM4.3.8 and GNS3. I am able to create virtual machine XR but when I tried to run it using GNS3 it load the IOS-XR and stuck at “”writing x86 kernel core file””. even after several hours of waiting I dint get the username/password prompt. as it doesn’t load after “”writing x86 kernel core file””. please help to resolve this

      1. I had the same problem, then I enabled virtualization in the BIOS of my PC. I can now run IOS-XR on my windows 7 32bit OS, allocating 1,5G RAM to the IOS-XR on virtual box

  14. Well, it doesn’t work with poor mans ESXi standard license – no virtual serial ports available 🙁

  15. Hi bro… I cannot download IOS XR neither from Cisco nor by your link… Cisco page asks me for CCO Account and seems i don’t have privileges and from your link asks me for user/password… i hope you could help me!… thanks

Comments are closed.