Tuesday, January 3, 2017

CCIE SPv4 - MPLS L3 VPN - VRF Lite - Static Routing

Software versions:
IOS XE 15.5
IOS XR 5.3

The topology for this demo:
This post will focus on static routing as a means to provide reachability between 2 routers peered to each other via VRF interfaces. Like the dynamic routing we have already seen, we're adding the "vrf" keyword to indicate the routing table we are looking to configure the static in. By default all routing configuration, unless specifically stated, goes into the global RIB. 

IOS and IOS XR both support IPv4 and IPv6 static routing.

R1
ip route vrf CCIE 100.100.100.15 255.255.255.255 192.168.15.15 name VRF_LITE_STATIC

ipv6 route vrf CCIE FC00::15/128 2100:15::15


XR5
router static
 vrf CCIE
  address-family ipv4 unicast
   100.100.100.1/32 192.168.15.1
  !
  address-family ipv6 unicast
   fc00::1/128 2100:15::1


R1#sh ip route vrf CCIE static | b Gateway
Gateway of last resort is not set

      100.0.0.0/32 is subnetted, 4 subnets
S        100.100.100.15 [1/0] via 192.168.15.15


R1#sh ipv6 route vrf CCIE static
IPv6 Routing Table - CCIE - 9 entries

S   FC00::15/128 [1/0]
     via 2100:15::15

RP/0/0/CPU0:XR5#sh route vrf CCIE ipv6 static
Wed Jan  4 00:40:48.446 UTC

S    fc00::1/128
      [1/0] via 2100:15::1, 00:15:48
RP/0/0/CPU0:XR5#sh route vrf CCIE static
Wed Jan  4 00:40:52.456 UTC

S    100.100.100.1/32 [1/0] via 192.168.15.1, 00:15:52


So as you can see, the configuration was successful.
Thanks for stopping by!
Rob Riker, CCIE #50693

No comments:

Post a Comment