Friday, March 7, 2014

IOS vs IOS XR - Static Route

After working over a year on IOS XR, I've found that it is not as difficult as initial thought, you just need to get used to the syntax and the way it arranges the configuration.  It got less configuration directly under the interface, in some scenarios like you want to remove your configuration in lab practice, you will find it is more convenient to do so. (e.g. no mpls ldp, no rsvp, no mpls traffic-eng, compare with IOS you have to "no" all these configurations under interfaces)

In IOS when you are defining a static route, the command is:

ip route

However in IOS XR, you will be configured under the "router static" process, much neater and easier to read:

router static 
address-family ipv4 unicast

If you have vrf it looks like this

router static 
   address-family ipv4 unicast
   vrf panda 
      address-family ipv4 unicast int gi0/0/0/2

No comments: