<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ccie Sp - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/ccie-sp/</link><description>Ccie Sp - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 27 Dec 2013 14:00:40 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/ccie-sp/" rel="self" type="application/rss+xml"/><item><title>Cisco CSR1000v For Home Labs</title><link>https://hugo.fryguy.net/2013/12/27/cisco-csr1000v-for-home-labs/</link><pubDate>Fri, 27 Dec 2013 14:00:40 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2013/12/27/cisco-csr1000v-for-home-labs/</guid><description><![CDATA[<p align="center">
  
</p>
<p>I have been using the Cisco CSR1000V for my home lab setup for a little bit now.  There have been some questions on how to set this up for a home lab and I figured I would cover how I am using it.<br>
For this post, here is what we are going to build –  a three (3) node CSR1000V network and three (3) vSwitch Networks to connect the CSR1000Vs together.  We will also configure the CSR1000V to have connectivity back to the “home production” network so that we can SSH/Telnet to these routers when we are labbing.<br>
</p>
<h2 id="obtaining-the-csr1000v-router-software">Obtaining the CSR1000V Router Software</h2>
<p>To obtain the Cisco CSR1000V you need to download it from Cisco at this <a href="http://www.cisco.com/en/US/products/ps12559/" target="_blank" rel="noopener noreferrer">LINK</a> and click on the Download software as seen circled below</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 – iBGP and eBGP</title><link>https://hugo.fryguy.net/2012/09/24/ios-xr-ibgp-and-ebgp/</link><pubDate>Mon, 24 Sep 2012 12:25:02 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/24/ios-xr-ibgp-and-ebgp/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/09/iosxrfryguy-8.jpg" rel=""></a><br>
BGP, this is where it starts to get different with IOS XR.<br>
First up, configuring an iBGP peering with R2’s 150.1.12.2 in AS1 and advertise our loopback interface.<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#</span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#<span style="color: #ff0000;">router bgp 1</span></span><br>
Let’s define the network we want to advertise, under the address family:<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp)#<span style="color: #ff0000;">address-family ipv4 unicast </span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-af)#<span style="color: #ff0000;">net 1.1.1.1/32</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-af)#<span style="color: #ff0000;">exit</span></span><br>
Now, we can configure the neighbor.  Notice all the commands for the neighbor are under the neighbor now – not next to the neighbor.<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp)#<span style="color: #ff0000;">nei 150.1.12.2</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-nbr)#<span style="color: #ff0000;">remote-as 1</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-nbr)#<span style="color: #ff0000;">address-family ipv4 unicast </span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-nbr-af)#<span style="color: #ff0000;">exit</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp-nbr)#<span style="color: #ff0000;">comm</span></span><br>
<span style="color: #0000ff;">Thu Mar 29 22:47:05.147 UTC</span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config-bgp)#<span style="color: #ff0000;">exit</span></span><br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1(config)#<span style="color: #ff0000;">exit</span></span><br>
Now, time to see if we have a neighbor established:<br>
<span style="color: #0000ff;">RP/0/7/CPU0:R1#<span style="color: #ff0000;">sh bgp nei 150.1.12.2</span></span><br>
<span style="color: #0000ff;">Thu Mar 29 22:48:13.338 UTC</span></p>]]></description></item><item><title>IOS XR – ISIS</title><link>https://hugo.fryguy.net/2012/09/21/ios-xr-isis/</link><pubDate>Fri, 21 Sep 2012 12:37:49 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/21/ios-xr-isis/</guid><description><![CDATA[<p align="center">
  
</p>
<p>Time for some IS-IS routing! Between IS-IS and OSPF, those are the two most coming SP core routing protocols.<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<span style="color: red;">conf t<br /> </span>Thu Mar 29 22:09:12.786 UTC</span><br>
First we need to name our process<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config)#</span><span style="color: red;">router isis LAB</span><br>
Then configure our Network Entity ( Area )<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-isis)#</span><span style="color: red;">net 49.0000.0000.0001.00</span><br>
Then we assign the interfaces to the process, as well as the address family.<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-isis)#<span style="color: red;">int l0</span><br /> RP/0/7/CPU0:R1(config-isis-if)#<span style="color: red;">address-family ipv4<br /> </span>RP/0/7/CPU0:R1(config-isis-if-af)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-isis-if)#<span style="color: red;">address-family ipv6</span><br /> RP/0/7/CPU0:R1(config-isis-if-af)# <span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-isis-if)#<span style="color: red;">int g0/3/0/2<br /> </span>RP/0/7/CPU0:R1(config-isis-if)#<span style="color: black;">address-family ipv4</span><br /> RP/0/7/CPU0:R1(config-isis-if-af)# <span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-isis-if)#<span style="color: red;">address-family ipv6<br /> </span>RP/0/7/CPU0:R1(config-isis-if-af)# <span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-isis-if)#</span> <span style="color: red;">exit</span><br>
Notice I did not specify an IS-IS Level when I started, but we can set this to Level-2<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-isis)#</span><span style="color: red;">is-type level-2-only</span><br>
Now, when we show the config, you will notice Level-2 is set to the top of the config when applied, not in the order I entered it. This is the beauty of a staging config, you can enter some things in the wrong order but they will be applied in the correct order.</p>]]></description></item><item><title>IOS XR – RIP</title><link>https://hugo.fryguy.net/2012/09/19/ios-xr-rip/</link><pubDate>Wed, 19 Sep 2012 12:28:06 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/19/ios-xr-rip/</guid><description><![CDATA[<p align="center">
  
</p>
<p>Ok, time for the next routing protocol – RIP. Why would you use IOS XR for RIP? Well, if you have a CE device that only has a few networks, RIP is a perfect protocol. Keep in mind that IOS XR is code built for a Service Provider network, so PE-CE relationships are what these routers are about. Another quick note on these labs, I do not show the configuraiton of the other device (R2) as it is just a mirrored config.<br>
Plus – it is just good to know different options.<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<span style="color: red;">conf t<br /> </span>Thu Mar 29 20:37:44.801 UTC<br /> RP/0/7/CPU0:R1(config)#<span style="color: red;">router rip</span><br /> RP/0/7/CPU0:R1(config-rip)#<span style="color: red;">int l0<br /> </span>RP/0/7/CPU0:R1(config-rip-if)#<span style="color: red;">int g0/3/0/2<br /> </span>RP/0/7/CPU0:R1(config-rip-if)#<span style="color: red;">^Z</span><br /> Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:<span style="color: red;">yes</span><br /> </span><br>
Notice I did not do a COMMIT, but since the router knows I was making changes it asked me.<br>
Let’s check our IP protocols:<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<span style="color: red;">sh ip proto</span><br /> Thu Mar 29 20:39:20.919 UTC</span><br>
<span style="color: blue;">Routing Protocol RIP<br /> 1 VRFs (including default) configured, 1 active<br /> 6 routes, 3 paths have been allocated<br /> Current OOM state is “Normal”<br /> UDP socket descriptor is 42<br /> VRF Active If-config If-active Routes Paths Updates<br /> default Active 2 2 6 3 30s<br /></p>]]></description></item><item><title>IOS XR – EIGRP</title><link>https://hugo.fryguy.net/2012/09/17/ios-xr-eigrp/</link><pubDate>Mon, 17 Sep 2012 13:01:25 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/17/ios-xr-eigrp/</guid><description><![CDATA[<p align="center">
  
</p>
<p>Up next is IOS XR and EIGRP<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<span style="color: red;">conf t</span><br /> Thu Mar 29 20:07:53.797 UTC<br /> RP/0/7/CPU0:R1(config)#<span style="color: red;">no router ospf LAB<br /> </span>RP/0/7/CPU0:R1(config)#</span><span style="color: red;">commit</span><br>
Once that is deleted, we can now continue with EIGRP configuration.<br>
Just like IOS, we need to give it a process ID<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config)#<br /> RP/0/7/CPU0:R1(config)#</span><span style="color: red;">router eigrp 1</span><br>
Here is where the difference starts, we need to select the Address family first<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp)#<span style="color: red;">address-family ipv4</span></span><br>
Enter no auto-summary ( this is habitual to be honest )<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp-af)#</span><span style="color: red;">no auto-summary</span><br>
Then assign the interfaces you want in EIGRP<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp-af)#<span style="color: red;">int</span> l0<br /> RP/0/7/CPU0:R1(config-eigrp-af-if)#<span style="color: red;">int g0/3/0/2<br /> </span>RP/0/7/CPU0:R1(config-eigrp-af-if)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-eigrp-af)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-eigrp)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config)#<span style="color: red;">commit</span><br /> Thu Mar 29 20:08:59.108 UTC<br /> RP/0/7/CPU0:R1(config)#exit</span></p>]]></description></item><item><title>IOS XR – Processes</title><link>https://hugo.fryguy.net/2012/09/10/ios-xr-processes/</link><pubDate>Mon, 10 Sep 2012 12:27:58 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/10/ios-xr-processes/</guid><description><![CDATA[<p><a href="/wp-content/uploads/2012/05/iosxrfryguy-21.jpg" rel=""></a><br>
So, since IOS XR is based on QNX, the SHOW PROCESSES command is a bit different then you would see in IOS. In IOS XR, you can actually query processes and see what is going on.<br>
Here is a way to see what BGP is doing :<br>
<span style="color: blue;">RP/0/RSP0/CPU0:R2#<span style="color: red;">sh processes bgp</span><br /> Tue Apr 24 01:23:06.343 UTC<br /> Job Id: 1039<br /> PID: 2941214<br /> Executable path: /disk0/iosxr-routing-4.1.2/bin/bgp<br /> Instance #: 1<br /> Version ID: 00.00.0000<br /> Respawn: ON<br /> Respawn count: 4<br /> Max. spawns per minute: 12<br /> Last started: Tue Apr 10 05:31:26 2012<br /> Process state: Run<br /> Package state: Normal<br /> Started on config: ipc/gl/ip-bgp/meta/speaker/default<br /> core: MAINMEM<br /> Max. core: 0<br /> Placement: Placeable<br /> startup_path: /pkg/startup/bgp.startup<br /> Ready: 0.338s<br /> Available: 25.582s<br /> Process cpu time: 63.719 user, 1.074 kernel, 64.793 total<br /> JID TID CPU Stack pri state TimeInState HR:MM:SS:MSEC NAME<br /> 1039 1 1 312K 10 Receive 0:01:01:0795 0:00:00:0249 bgp<br /> 1039 2 1 312K 10 Receive 331:51:39:0224 0:00:00:0000 bgp<br /> 1039 3 0 312K 10 Receive 331:51:39:0223 0:00:00:0001 bgp<br /> 1039 4 1 312K 10 Sigwaitinfo 331:51:39:0129 0:00:00:0000 bgp<br /> 1039 5 0 312K 10 Receive 0:00:01:0764 0:00:00:0005 bgp<br /> 1039 6 1 312K 10 Receive 0:00:01:0760 0:00:00:0016 bgp<br /> 1039 7 0 312K 10 Receive 0:00:23:0239 0:00:02:0242 bgp<br /> 1039 8 0 312K 10 Receive 0:00:03:0321 0:00:02:0280 bgp</span><br>
<span style="color: blue;"></p>]]></description></item></channel></rss>