Friday, March 7, 2014

IOS vs IOS XR - Enable Telnet Access to the router

In normal IOS if you want to enable telnet access, what you want to need is to configure under line vty and configure transport telnet:

line vty 0 4
 exec-timeout 0 0
 privilege level 15
 logging synchronous
 login authentication noauth
 transport input telnet ssh

In IOS XR you need to enable telnet server with the command telnet ipv4 server:

telnet ipv4 server max-servers 10

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 0.0.0.0 0.0.0.0 10.1.40.30

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
0.0.0.0/0 10.1.40.30

If you have vrf it looks like this

router static 
   address-family ipv4 unicast
   0.0.0.0/0 10.1.40.30
   vrf panda 
      address-family ipv4 unicast
      10.1.9.1/32 int gi0/0/0/2