Tag Archives: Cisco IOS-XR

Setup Cisco XRv on VMware

I’m preparing myself to my CCIE SP and this is the way to practise in IOS-XR instead of buy a Cisco ASR 9k. This a Virtual Machine (VM) running 32-bit IOS XR software. This VM contains a single route processor (RP) with control plane functionality, and line card (LC) network interfaces with their associated functionality. It is a representation of the IOS XR software and operating system, including manageability, control plane features, routing and forwarding functionality. The Cisco IOS XRv Router is not an emulation of any physical router or hardware component. This image is supported in VMware ESXi and QUEMU and you can download (VMDK/OVA) it here using your CCO. This is not to be used in Production environments!

ios-xrv_2

This Demo image has the following Hard-coded username and passwords:

Username Password
lab lab
cisco cisco
root root
admin admin

Cisco IOS XR Software running on the Cisco IOS XRv Router provides the following features:

  • IP features—Supports a wide range of IPv4 and IPv6 services and routing protocols such as IPv4 unicast services, IPv6 unicast services, IPv4 Multicast services, IPv4 and IPv6 equal-cost multipathing (ECMP), IPv4 and IPv6 load balancing, Cisco Discovery Protocol, IPv4 and IPv6 addressing, and Internet Control Message Protocol (ICMP).
  • Layer 3 routing protocols—Supports routing protocols such as Border Gateway Protocol Version 4 (BGPv4), Open Shortest Path First Version 2 (OSPFv2) and Version 3 (OSPFv3), and Intermediate System-to-Intermediate System (IS-IS) Protocol.
  • Multiprotocol Label Switching (MPLS) features—Supports MPLS features such as MPLS Label Distribution Protocol (LDP), Resource Reservation Protocol (RSVP), Diffserv Aware Traffic Engineering (TE), MPLS Traffic Engineering control plane (RFCs 2702 and 2430), MPLS forwarding and MPLS load balancing.
  • Network Management—Supports features like Enhanced CLI, XML interface and Simple Network Management Protocol (SNMP) support.
  • Software Maintenance Update (SMU)— Supports applying fixes for software defects between releases.

 

Before we start, i’m running vSphere 6.0 with 2 vmnics. After download OVA file and execute wizard you choose the name and a Configuration:

setup-xrv_1

setup-xrv_2

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

Select the Datastore

setup-xrv_3

To save space i use Thin Provision

setup-xrv_4

The Small configuration provides 2 interfaces (Mgmt + Data)

setup-xrv_5
setup-xrv_6

Following steps are to get console access of your XRv using Serial over network. Do no Power on VM.

Edit Settings of VM and add Serial Port

setup-xrv_7

setup-xrv_8

Use IP of your ESXi Host and port

setup-xrv_9

Click in Ok

setup-xrv_10

Before we start VM we need to change Firewall in ESXi host to allow us to user Serial over network. Go to Configuration->Software->Security Profile and Click on Firewall Properties

setup-xrv_11

Select VM serial port connected over network and click OK. Now power on VM.

setup-xrv_12

Open your favourite remote access tool and use ESXi host IP and port previously defined

setup-xrv_13

IOS-XRv has hard coded username and passwords but you need setup your root-system username

setup-xrv_14    setup-xrv_15

setup-xrv_20

References:

Cisco IOS XRv Router Installation and Configuration Guide