Thursday, March 26, 2015

Create Out of Band Management VRF on IOS XR

To create the out of band management vrf "OOB"

1. Go into configure mode and create the vrf.
vrf OOB_Mgmt
description Out Of Band Management
address-family ipv4 unicast
commit

2. Now add an interface into the vrf
interface MgmtEth0/RSP0/CPU0/0
vrf OOB_Mgmt
commit

3. Now add an ip address to the interface
interface MgmtEth0/RSP0/CPU0/0
ipv4 address 10.10.10.166/24
commit

4. Now add a default route for the vrf.
router static
vrf OOB_Mgmt
address-family ipv4 unicast
0.0.0.0/0 10.10.10.1
commit

5. Confirm by ping.
RP/0/RSP0/CPU0:XR1#ping vrf OOB_Mgmt 10.10.10.1 Thu Mar 26 10:58:33.571 CDT Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds: !!!!!

6. You can also check the routing table of the vrf by.
RP/0/RSP0/CPU0:XR1#show route vrf OOB_Mgmt
And there you go a OOB vrf. Enjoy