Tags

, , , ,

Software / Application:

  1. VirtualBox (https://www.virtualbox.org/)
  2. GNS3 (https://www.gns3.com/)

We also need Cisco IOS XRv Router image. For lab we use iosxrv-demo-6.0.0.vmdk which is free to use. The only limitation is it has AAA hardcoded users & rate limit of 2 Mbps. For full features please check the following link:

http://www.cisco.com/en/US/docs/ios_xr_sw/ios_xrv/install_config/b_xrvr_432_chapter_01.html

To download the image please visit https://upload.cisco.com/cgi-bin/swc/fileexg/main.cgi?CONTYPES=Cisco-IOS-XRv. You need Cisco CCO account.

STEP 1: IOS XRV WORKING ON VIRTUALBOX

1. Create a new VM

v-1

2. For the VM please choose:

  1. Name: xrv-1
  2. Type: Other
  3. Version: Other/Unknown (64-bit)

v-2

3. Mem size: at least 2GB (less than 2GB will lead to weird behaviour). In our case we allocate 4GB

v-3

4. Use an existing vmdk : the image you just downloaded. Click Create

v-4

5. Now we need to change couple of options. From Settings > System disable Floppy & Optical. From Audio tab; disable it.

6. Go to Network tab and enable the first network adapter. This will be used for management port.

v-5

Adapter 1: Enable Network Adapter
Attached to: Bridged Adapter (Your Mgmt port will be statically addressed on your LAN)
Name: Your physical network adapter (WiFi or LAN Interface)
Under Advanced option:
Adapter Type: Paravirtualized Network (virtio-net)
Promiscuous Mode: Allow All

7. For rest of the Adapters choose the following options:

v-6

Adapter 2 to 4:
Enable Network Adapter
Attached to: Not attached
Under Advanced option:
Adapter Type: Paravirtualized Network (virtio-net)
Promiscuous Mode: Allow VMs

8. Now clone the first VMs and make multiple copies

v-8.png

Enable “Reinitialize the MAC address of all network cards. Make a Full clone.

v-8

STEP 2: CONFIGURE CISCO ISO XRV IMAGE IN GNS3

1. Now open the GNS3 and go to edit/preferences and from virtual machines menu click on new.

g-1

2. This will start a new wizard select VM that you have created in Virtual-box. Before click on finish edit the VM and enable following options.

g-2

Enable remote console
Start VM in headless mode

g-3

From Network tab increase the no of adapters to 8.

3. After this you will find Cisco XRv image in GNS3 device list. In our case the name will be xrv-1 Drag this image to GNS3 dashboard.

g-4

4. Build the topology and start the XR IOS, once it is started, right click on device and click on Console.

g-5

While connecting make sure you start with e1, because e0 belongs to Management ports

e0 is MgmtEth0/0/CPU0/0
e1 is GigabitEthernet0/0/0/0
e1 is GigabitEthernet0/0/0/1

e7 is GigabitEthernet0/0/0/6

5. Cisco XR image will take some time while loading. During loading it will also give you the message “this (d)rp node is not ready or active for login /configuration” you can ignore this message for a while you can login using default username & password.

For demo image the default username & password is cisco/cisco.