<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>IOS XR - Category - Fryguy's Blog</title><link>https://hugo.fryguy.net/categories/ios-xr/</link><description>IOS XR - Category - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 09 Feb 2014 02:50:25 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/categories/ios-xr/" rel="self" type="application/rss+xml"/><item><title>Cisco IOS-XRv (V as in Virtual!)</title><link>https://hugo.fryguy.net/2014/02/08/cisco-ios-xrv-v-as-in-virtual/</link><pubDate>Sun, 09 Feb 2014 02:50:25 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2014/02/08/cisco-ios-xrv-v-as-in-virtual/</guid><description><![CDATA[<p align="center">
  
</p>
<p>There was a tweet on Friday that some may have missed, but it is one that you do not want to miss. It was a subtle little announcement from @CiscoIOSXR about IOS XRv!</p>
<blockquote class="twitter-tweet" data-partner="tweetdeck">
  <p>
    Your wait for IOS XR is over! Download IOS XRv here! 🙂 <a href="http://t.co/0WVMAuHqU1">http://t.co/0WVMAuHqU1</a> <a href="https://twitter.com/search?q=%23IWantIOSXR&src=hash">#IWantIOSXR</a> <a href="https://twitter.com/search?q=%23IOSXR&src=hash">#IOSXR</a><br /> — IOS XR (@CiscoIOSXR) <a href="https://twitter.com/CiscoIOSXR/statuses/431919459968618496">February 7, 2014</a>
  </p>
</blockquote>
<p><span style="color: #ff0000;">Note:</span>  On Tuesday, February 11th there was an update that they are still working on the entitlement issue.  Tweet is included below as well.</p>
<blockquote class="twitter-tweet" data-partner="tweetdeck">
  <p>
    <a href="https://twitter.com/fryguy_pa">@fryguy_pa</a> <a href="https://twitter.com/steve">@steve</a> We have a plan to resolve the entitlement checking issue, but this means images will be pulled off CCO for 3 days 🙁<br /> — IOS XR (@CiscoIOSXR) <a href="https://twitter.com/CiscoIOSXR/statuses/433140288404484096">February 11, 2014</a>
  </p>
</blockquote>
<p> </p>
<p align="left">
   So yes, that is a V as in Virtual!  Finally, IOS XRv has been released –  and on the latest IOS-XR code, 5.1.1!
</p>
<p>So a few things about IOS XRv –  first of all, it is a 32–bit softwrae version running on the QNX microkernel.  The VM contains a single RP and a some LC Interfaces.<br>
The demo version of the software is <strong>FREE</strong> for users, has AAA hard-coded users in it, and is rate-limited to 2 Mbps.   There is also a Simulation Image available and has no hard-coded users and is rate-limited to 50 Mbps.  Finally there is a Production Image that has no hard-coded users and no rate-limit.<br>
To run the IOX XRv Router you will need:<br>
</p>]]></description></item><item><title>IOS XR – Cisco Videos and Training</title><link>https://hugo.fryguy.net/2012/11/06/ios-xr-cisco-videos-and-training/</link><pubDate>Tue, 06 Nov 2012 15:02:15 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/11/06/ios-xr-cisco-videos-and-training/</guid><description><![CDATA[<p style="text-align: center;">
  <a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg"></a>
</p>
<p style="text-align: center;">
  Ok, I know I said I was done with the IOS XR stuff, but just had to share this.<br /> Cisco has posted some Videos on YouTube, they are below for your enjoyment.
</p>
<p style="text-align: center;">
  Also, if you are looking for an IOS XR book &#8211; here is a <a href="http://www.amazon.com/gp/product/1587052717/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1587052717&linkCode=as2&tag=frygunet-20" target="_blank" rel="noopener noreferrer">link</a> to the one on Amazon.
</p>
<p style="text-align: center;">
  <a href="http://www.amazon.com/gp/product/1587052717/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1587052717&linkCode=as2&tag=frygunet-20" target="_blank" rel="noopener noreferrer"></a>
</p>
<h3 style="text-align: center;">
  <span style="color: #0000ff;">Introduction to IOS XR CLI and Configuration</span>
</h3>
<p style="text-align: center;">
  [youtube=http://youtu.be/v16-jJE5_yA]
</p>
<p style="text-align: center;">]]></description></item><item><title>IOS XR – Workbook – all 105 pages of it!</title><link>https://hugo.fryguy.net/2012/10/19/ios-xr-workbook/</link><pubDate>Fri, 19 Oct 2012 12:30:43 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/19/ios-xr-workbook/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
After many individual posts and changes on IOS XR, here is the Cisco IOS XR Training Workbook in its entirety.<br>
The workbook is 105 pages long, so enjoy!<br>
 <br>
<a href="/wp-content/uploads/2013/03/Cisco-IOS-XR-Introduction-Ver-1.pdf" target="_blank" rel="noopener noreferrer">Cisco IOS XR Introduction Ver 1</a><br>
 </p>
<p style="text-align: left;">
  It has been mentioned to me a few times that I should charge for some things, especially these large workbooks.  I do not feel that way, I would rather share my knowledge so that I can continue to learn and grow.  If you appreciate this information that I have provided and wish to give me some of your money, here is a donation button for that.
</p>]]></description></item><item><title>IOS XR – TACACS (default and non-default VRF)</title><link>https://hugo.fryguy.net/2012/10/18/ios-xr-tacacs-default-and-non-default-vrf/</link><pubDate>Thu, 18 Oct 2012 12:04:07 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/18/ios-xr-tacacs-default-and-non-default-vrf/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
Ok, final post on IOS-XR before the workbook is published in its entirety.<br>
 <br>
So you want to secure your IOS-XR device using TACACS.<br>
The first example I will use will be using the default VRF for TACACS authorization and the second will be using a different VRF. For these examples, the tacacs server is at IP 192.168.100.100 and the password is TacacsPassword<br>
First up, we need to configure our source interface for TACACS, here we will use loopback0 and the default VRF.<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#<span style="color: #ff0000;">tacacs source-interface Loopback0 vrf default</span></span><br>
Now we can configure our TACACS server and Password<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#<span style="color: #ff0000;">tacacs-server host 192.168.100.100</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config-tacacs-host)#<span style="color: #ff0000;">key 0 TacacsPassword</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config-tacacs-host)#<span style="color: #ff0000;">exit</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#</span><br>
Time to create a local console authenticaion method, this way console does not rely on TACACS.<br>
You may or may not want to do this, but I am showing it for these examples.<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#<span style="color: #ff0000;">aaa authentication login console local</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#<span style="color: #ff0000;">aaa authorization commands console none</span></span><br>
Apply the console loging to the line console<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#<span style="color: #ff0000;">line console</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config-line)#<span style="color: #ff0000;">login authentication console</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config-line)#<span style="color: #ff0000;">authorization commands console</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config-line)#<span style="color: #ff0000;">exit</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:PE2(config)#</span></p>]]></description></item><item><title>IOS XR – Loading Configs and Replacing Configs</title><link>https://hugo.fryguy.net/2012/10/16/ios-xr-loading-configs-and-replacing-configs/</link><pubDate>Tue, 16 Oct 2012 18:06:50 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/16/ios-xr-loading-configs-and-replacing-configs/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
One last IOS XR post and then it will be time to post the IOS XR workbook.<br>
Ok, let’s quickly look at loading a configuration from the disk and overwriting an existing configuration.<br>
I have copied a config to disk0a: called newconfig.txt.  What I want to do is install this configuration as the running config on the router.<br>
1626        -rwx  204         Wed Oct 17 01:21:30 2012  newconfig.txt<br>
So to start, lets delete the existing configuration<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config)#</span><span style="color: #ff0000;">commit replace</span><br>
<span style="color: #0000ff;">Wed Oct 17 01:21:43.406 UTC</span><br>
<span style="color: #0000ff;">This commit will replace or remove the entire running configuration. This</span><br>
<span style="color: #0000ff;">operation can be service affecting.</span><br>
<span style="color: #0000ff;">Do you wish to proceed? [no]:<span style="color: #ff0000;"> y</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:ios(config)#</span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:ios(config)#<span style="color: #ff0000;">exit</span></span><br>
Ok, so now we are at an unconfigured device.  Now we can load the config on the disk to the running config.<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:ios(config)#<span style="color: #ff0000;">load disk0a:/newconfig.txt</span></span><br>
<span style="color: #0000ff;">Loading.</span><br>
<span style="color: #0000ff;">204 bytes parsed in 1 sec (203)bytes/sec</span></p>]]></description></item><item><title>IOS XR – HSRP and VRRP</title><link>https://hugo.fryguy.net/2012/10/08/ios-xr-hsrp-and-vrrp/</link><pubDate>Mon, 08 Oct 2012 12:29:31 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/08/ios-xr-hsrp-and-vrrp/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
Next Hop Resolution Protocol comes in two fashions on the IOS XR.  The first is Cisco proprietary and called Hot-Standby Router Protocol or HSRP and the other is the industry standard called Virtual Router Redundancy Protocol or VRRP.<br>
This is something that many customers use in order to maintain the availability of a default gateway on the network.  If your customer uses a static route to a next hop, you might be using this as well.<br>
Like everything else with IOS XR, NHRP is handled a little differently.  With IOS, you configure your standby commands under the interfaces; in IOS XR you use ROUTER HSRP or Router VRRP.<br>
For this lab we will use interface Te0/1/0/0 and a subnet of 150.1.12.0/24.<br>
First up R1:<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config)#<span style="color: #ff0000;">int tenGigE 0/1/0/0         </span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config-if)#<span style="color: #ff0000;">ip add 150.1.12.1/24</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config-if)#<span style="color: #ff0000;">no shut</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config-if)#<span style="color: #ff0000;">commit </span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R1(config-if)#</span><br>
Now R2:<br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R2(config)#<span style="color: #ff0000;">int tenGigE 0/1/0/0</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R2(config-if)#<span style="color: #ff0000;">ip add 150.1.12.2/24</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R2(config-if)#<span style="color: #ff0000;">no shut</span></span><br>
<span style="color: #0000ff;">RP/0/RSP0/CPU0:R2(config-if)#<span style="color: #ff0000;">commit</span></span></p>]]></description></item><item><title>IOS XR – L2VPN</title><link>https://hugo.fryguy.net/2012/10/04/ios-xr-l2vpn/</link><pubDate>Thu, 04 Oct 2012 12:09:07 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/04/ios-xr-l2vpn/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a></p>
<p style="text-align: left;">
   Ok, now it is time for some L2VPN.  Here we will use the same diagram as before, but instead of providing MPLS VPN between CE1 and CE2, we are going to create a L2VPN so that CE1 and CE2 think that they are directly connected to each other. This lab builds off the previous post, so the routers where already configured.
</p>
<p style="text-align: center;">
  <a href="/wp-content/uploads/2012/10/l2vpnxconnect_rev.jpg"></a>
</p>
<p>First up, CE1<br>
<span style="color: #0000ff;">CE1(config-if)#<span style="color: #ff0000;">int f0/0</span></span><br>
<span style="color: #0000ff;">CE1(config-if)#<span style="color: #ff0000;">ip add 10.1.34.3 255.255.255.0</span></span><br>
<span style="color: #0000ff;">CE1(config-if)#<span style="color: #ff0000;">int l0</span></span><br>
<span style="color: #0000ff;">CE1(config-if)#<span style="color: #ff0000;">ip add 10.1.3.3 255.255.255.255</span></span><br>
<span style="color: #0000ff;">CE1(config-if)#<span style="color: #ff0000;">router ospf 1</span></span><br>
<span style="color: #0000ff;">CE1(config-router)#<span style="color: #ff0000;">net 10.0.0.0 0.255.255.255 a 0</span></span><br>
<span style="color: #0000ff;">CE1(config-router)#</span><br>
Now CE2<br>
<span style="color: #0000ff;">CE2(config-if)#<span style="color: #ff0000;">ip add 10.1.34.4 255.255.255.0</span></span><br>
<span style="color: #0000ff;">CE2(config-if)#<span style="color: #ff0000;">int l0</span></span><br>
<span style="color: #0000ff;">CE2(config-if)#<span style="color: #ff0000;">ip add 10.4.4.4 255.255.255.255</span></span><br>
<span style="color: #0000ff;">CE2(config-if)#<span style="color: #ff0000;">router ospf 1</span></span><br>
<span style="color: #0000ff;">CE2(config-router)#<span style="color: #ff0000;">net 10.0.0.0 0.255.255.255 a 0</span></span><br>
<span style="color: #0000ff;">CE2(config-router)#</span></p>]]></description></item><item><title>IOS XR – MPLS VPN</title><link>https://hugo.fryguy.net/2012/10/02/ios-xr-mpls-vpn/</link><pubDate>Tue, 02 Oct 2012 12:41:26 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/02/ios-xr-mpls-vpn/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
Next up is MPLS VPN; actually VPNv4 routes are what these actually are since we are only passing IPv4 traffic in this example.<br>
So we have this diagram below – CE1 and CE2 are the customer routers and both are running OSPF in Area 0.  They need to talk to each other but do not have a direct connection available, so they have contracted us to provide connectivity via MPLS between them.  What we will now do is build a pseudo MPLS network between PE1 and PE2, establish an iBGP peering, create the associated customer VRF and then peer with the customer via OSPF Area 0.</p>
<p style="text-align: center;">
  <a href="/wp-content/uploads/2012/09/Network.jpg"></a>
</p>
<p>So, first up lets configure CE1 using an IP of 10.3.3.3/32 for the loopback and 10.1.13.3/24 for the link facing PE1.<br>
<span style="color: #0000ff;">CE1#<span style="color: #ff0000;">conf t</span></span><br>
<span style="color: #0000ff;">Enter configuration commands, one per line.  End with CNTL/Z.</span></p>]]></description></item><item><title>IOS XR – Basic MPLS and LDP (LDP Auth, OSPF, and ISIS)</title><link>https://hugo.fryguy.net/2012/10/01/ios-xr-basic-mpls-and-ldp-ldp-auth-ospf-and-isis/</link><pubDate>Mon, 01 Oct 2012 12:37:52 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/10/01/ios-xr-basic-mpls-and-ldp-ldp-auth-ospf-and-isis/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
Ok, time for some MPLS!  For this lab I will be using the OSPF routing protocol first, then we can move to IS-IS next.  All we will be doing here is configuring LDP<br>
First up, lets enabled LDP on all OSPF interfaces.  Normally you would do this under each interface, but here we will use the MPLS LDP AUTOCONFIG command.  This is a good command to use as it ensures that you do not miss configuring LDP on an interface.<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1#<span style="color: #ff0000;">conf t</span></span><br>
<span style="color: #0000ff;">Sun Apr  1 18:58:04.084 UTC</span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#<span style="color: #ff0000;">router ospf LAB</span></span><br>
Under the OSPF LAB process, we need to configure mpls ldp autoconfig and then commit it.<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-ospf)#<span style="color: #ff0000;">mpls ldp auto</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-ospf)#<span style="color: #ff0000;">commit</span></span><br>
<span style="color: #0000ff;">Sun Apr  1 18:58:12.277 UTC</span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-ospf)#<span style="color: #ff0000;">exit</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#exit</span><br>
Ok, now lets see what interfaces have LDP on them<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1#<span style="color: #ff0000;">sh mpls ldp int</span></span><br>
<span style="color: #0000ff;">Sun Apr  1 18:58:18.902 UTC</span><br>
<strong><span style="color: #0000ff;">MPLS LDP application must be enabled to use this command</span></strong></p>]]></description></item><item><title>IOS XR – VRF lite and dot1q Trunks</title><link>https://hugo.fryguy.net/2012/09/28/ios-xr-vrf-lite-and-dot1q-trunks/</link><pubDate>Fri, 28 Sep 2012 12:54:36 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/28/ios-xr-vrf-lite-and-dot1q-trunks/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
Ok, time for some VRF lite basics and we can throw in some Dot1Q trunks to go with it.<br>
First, let’s create our VRF called LAB<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#<span style="color: #ff0000;">vrf LAB</span></span><br>
Now we need to enable the address family for this VRF, there IPv4 Unicast<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-vrf)#<span style="color: #ff0000;">address-family ipv4 un</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-vrf-af)#<span style="color: #ff0000;">exit</span></span><br>
Now we need to enable the IPv6 address family for this VRF<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-vrf)#<span style="color: #ff0000;">address-family ipv6 unicast</span></span><br>
Now we can create our Dot1Q trunk to the other router:<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-vrf-af)#<span style="color: #ff0000;">int g0/3/0/3.100</span></span><br>
Little different then IOS, but this actually makes more sense<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-subif)#<span style="color: #ff0000;">dot1q vlan 100</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-subif)#<span style="color: #ff0000;">ip add 150.1.21.1/24</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-subif)#<span style="color: #ff0000;">ipv6 add 2001:1:1:21::1/64</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-subif)#<span style="color: #ff0000;">vrf LAB</span></span></p>]]></description></item></channel></rss>