<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ios-Xe - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/ios-xe/</link><description>Ios-Xe - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 28 Aug 2013 12:15:34 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/ios-xe/" rel="self" type="application/rss+xml"/><item><title>VASI – VRF Aware Service Infrastructure Interfaces and Global Route Leaking</title><link>https://hugo.fryguy.net/2013/08/28/vasi-vrf-aware-service-infrastructure-interfaces-and-global-route-leaking/</link><pubDate>Wed, 28 Aug 2013 12:15:34 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2013/08/28/vasi-vrf-aware-service-infrastructure-interfaces-and-global-route-leaking/</guid><description><![CDATA[  
VASI –  VRF Aware Service Interfaces, what the heck are those?!  
<span class="content">Cisco has defined a VASI interface as:</span>  
<span class="content"><em>VASI is implemented using virtual interfaces that provide the framework necessary to configure a firewall and NAT between VRF instances. Each interface pair is associated with two different VRF instances. The two virtual interfaces, called vasileft and vasiright, in a pair are logically wired back-to-back and are completely symmetrical. Each interface has an index. The association of the pairing is done automatically based on the two interface indexes such that vasileft automatically gets paired to vasiright.</em></span>  
<span class="content">So you could look at a VASI interface as like a back-to-back connection between VRFs –  call it a virtual cable of sort.  You can also see that the traditional use of a VASI interface is to connect two VRFs, on the same router, together so they can route and NAT between each other. </span><span class="content"> But what I am saying about Global Route Leaking?</span>  
<span class="content">Well, recently I had a problem where a client wanted to leak routes, dynamically, from a VRF to the Global table on an ASR1000 with an RP1 installed.  We could easily have done it via a physical cable, but I knew their had to be a better way.  I did some digging on the VASI interface and possible configurations and came across this –  </span><span class="content">added in IOS XE 3.10S code is the ability to actually BGP peer over the VASI interfaces to exchange routes.<br /> You may click on the image below to view the PDF on this.</span>]]></description></item><item><title>Cisco ASR and LACP</title><link>https://hugo.fryguy.net/2010/12/02/cisco-asr-and-lacp/</link><pubDate>Thu, 02 Dec 2010 16:50:03 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2010/12/02/cisco-asr-and-lacp/</guid><description><![CDATA[<p>I am currently working on a new site deployment utilizing some Cisco ASR1002 routers.  When we typically design a location we cross-connect the two WAN routers via a cross-over cable; this allows us to have the capability to continue to transit traffic over the connected WAN routers and WAN links if need to take down the Core at the site for maintenance.<br>
If you look at the image below you will see three Sites – A – B – C.  Traffic that is destined to Site B from Site A will transit the connected WAN link.  So what happens if that WAN link goes down, it will transit through Site C instead.  By having the WAN routers connected via a cross-over cable, the traffic will stay at the end and not transverse the internal LAN of the site.<br>
<a href="/wp-content/uploads/2010/12/site-a-b-c.jpg" rel=""></a><br>
Ok, the background information is now out of the way. Lets continue.<br>
Typically we use a single gigabit ethernet cross-over cable between the routers, due to hardware limitations. Well, with the ASR series we now have more interfaces that we can use for this connectivity.  What I have also found is that the ASR and IOS-XE support LACP and etherchannels.  This is a wonderful thing as it actually solves some of the problems of a single cross-over cable between routers.<br>
So, how does one configure LACP on the ASR 1002?  It is done the same way as you would on the Nexus for L3 etherchannel. Below are the configuration commands as well as the ways to check.<br>
For this example, we are going to create Port-Channel 12 on the router and assign interfaces G0/0/2 and G0/0/3 to the channel-group<br>
Router#<span style="color:#ff0000;">conf t</span><br>
Router(config)#<span style="color:#ff0000;">interface GigabitEthernet0/0/2</span><br>
Router(config-if)# <span style="color:#ff0000;">channel-group 12 mode active</span><br>
Router(config-if)# <span style="color:#ff0000;">no shut</span><br>
Router(config-if)# <span style="color:#ff0000;">exit</span><br>
Router(config)#<span style="color:#ff0000;">interface GigabitEthernet0/0/3</span><br>
Router(config-if)# <span style="color:#ff0000;">channel-group 12 mode active</span><br>
Router(config-if)# <span style="color:#ff0000;">no shut</span><br>
Router(config-if)# <span style="color:#ff0000;">exit</span><br>
Now we can configure an IP address on the port-channel interface:<br>
Router(config)#<span style="color:#ff0000;">interface Port-channel12</span><br>
Router(config-if)# <span style="color:#ff0000;">ip address 10.1.1.1 255.255.255.252</span><br>
<span style="color:#ff0000;"><span style="color:#000000;">T0 check the port-channel:</span></span><br>
Router#<span style="color:#ff0000;">sh int port-channel 12</span><br>
<strong><span style="color:#ff0000;">Port-channel12 is up, line protocol is up </span></strong><br>
<span style="color:#ff0000;">Hardware is GEChannel, address is c471.fe0c.55cb (bia c471.fe0c.55cb)</span><br>
<span style="color:#ff0000;">Internet address is 10.98.255.9/30</span><br>
<span style="color:#ff0000;">MTU 1500 bytes, <strong>BW 2000000 Kbit/sec</strong>, DLY 10 usec, </span><br>
<span style="color:#ff0000;"><span style="color:#000000;">You can also look at the LACP information:</span></span><br>
Router#<span style="color:#ff0000;">sh lacp 12 neighbor </span><br>
<span style="color:#0000ff;">Flags:  S – Device is requesting Slow LACPDUs </span><br>
<span style="color:#0000ff;">F – Device is requesting Fast LACPDUs</span><br>
<span style="color:#0000ff;">A – Device is in Active mode       P – Device is in Passive mode </span><br>
<span style="color:#0000ff;">Channel group 12 neighbors</span><br>
<span style="color:#0000ff;">Partner’s information:</span><br>
<span style="color:#0000ff;">Partner Partner   LACP Partner  Partner   Partner  Partner     Partner</span><br>
<span style="color:#0000ff;">Port      Flags   State     Port Priority Admin Key Oper Key Port Number Port State</span><br>
<span style="color:#0000ff;">Gi0/0/2   SA      bndl      32768         0x0       0xC      0x3         0x3D </span><br>
<span style="color:#0000ff;">Gi0/0/3   SA      bndl      32768         0x0       0xC      0x4         0x3D </span><br>
Router#<br>
Now lets ping to test:<br>
Router#<span style="color:#ff0000;">p 10.1.1.2 t 1</span><br>
<span style="color:#0000ff;">Type escape sequence to abort.</span><br>
<span style="color:#0000ff;">Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 1 seconds:</span><br>
<span style="color:#0000ff;">!!!!!</span><br>
<span style="color:#0000ff;">Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms</span><br>
Router#<br>
If you noticed I typed t 1 – that means use a 1 second timeout.  I did that in case, for some reason, it does not PING successfully I only have to wait half the normal time of 2 seconds per ping.  This might not seem like a big deal, but if you use this on some LAB test – you can save some time and frustration. 🙂</p>]]></description></item></channel></rss>