<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Online CCNP Guide</title>
	<atom:link href="http://www.ccnpguide.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ccnpguide.com</link>
	<description>A comprehensive collection of exam notes for the three latest Cisco CCNP exams SWITCH, ROUTE, &#38; TSHOOT.</description>
	<lastBuildDate>Sun, 08 Jan 2012 14:24:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hello world!</title>
		<link>http://www.ccnpguide.com/hello-world/</link>
		<comments>http://www.ccnpguide.com/hello-world/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:17:21 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/v2/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>testfont</title>
		<link>http://www.ccnpguide.com/testfont/</link>
		<comments>http://www.ccnpguide.com/testfont/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 15:01:44 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1956</guid>
		<description><![CDATA[testing 123]]></description>
			<content:encoded><![CDATA[<h6>testing 123</h6>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/testfont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP TSHOOT 642-832 :: Layer 3 Troubleshooting</title>
		<link>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-3-troubleshooting/</link>
		<comments>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-3-troubleshooting/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 15:36:25 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[TSHOOT]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1804</guid>
		<description><![CDATA[Routing Basics Before we get into the layer 3 troubleshooting methods, we first need to make sure we have a basic understanding of how routers and multilayer switches route traffic.  Three tables are used: the routing table, ARP table, and CEF mappings. The routing table pairs network prefixes with the router&#8217;s preferred next hop address [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="color: #ff6600;">Routing Basics</span></h1>
<p>Before we get into the layer 3 troubleshooting methods, we first need to make sure we have a basic understanding of how routers and multilayer switches route traffic.  Three tables are used: the routing table, ARP table, and CEF mappings.</p>
<p>The routing table pairs network prefixes with the router&#8217;s preferred next hop address or interface.  Packets are routed based on the output of the routing table by first matching the longest prefix and then using other IGP-specific metrics.  The <strong>show ip route </strong>command displays the contents of the routing table.</p>
<p>After the router has determined what the next-hop address is, the router then needs to translate that into a layer 2 MAC address.  The ARP table is exactly what this is for.  The <strong>show ip arp </strong>command will display the current ARP pairings.</p>
<p>Lastly, CEF is used in layer 3 switches to optimize routing and layer 2 headers.  To view the CEF entries, use the <strong>show ip cef </strong>command.</p>
<h3></h3>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Troubleshooting Any Routing Protocol</span></h2>
<p>Regardless of what routing protocols are in use, there are some common troubleshooting steps that can be applied.  First, try to ping the destination to determine reachability.  Next, look at the routing table to make sure a route to the destination exists.  Finally, run a traceroute from the source towards the destination to see where the last reachable hop is.</p>
<p>For further digging, the <strong>show ip protocols </strong>command gives some very helpful information on the current routing protocols in use (like timers, AS numbers, etc.).</p>
<h2><span style="color: #000000;"> </span></h2>
<h2><span style="color: #000000;">Routing Protocol Troubleshooting Methodology</span></h2>
<p>There are three key questions that can be extremely helpful when troubleshooting a routing issue &#8211; regardless if you are running EIGRP, OSPF, or BGP.<br />
&nbsp;</p>
<h4><span style="color: #000000;"><span style="color: #808080;">1.</span> Is the route being advertised properly?</span></h4>
<h4><span style="color: #000000;"><span style="color: #808080;">2.</span> Is the route being received?</span></h4>
<h4><span style="color: #000000;"><span style="color: #808080;">3.</span> Is there a more desirable route being used (longer prefix or lower administrative distance)?</span></h4>
<p>&nbsp;<br />
Now let&#8217;s dissect each of these for the major routing protocols one at a time.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">EIGRP</span></h1>
<p>First, verify connectivity to the remote networks using pings and by taking a look at the local routing table.</p>
<p>As a reminder, EIGRP stores its information in three different tables: the EIGRP interface table, neighbor table, and topology table.</p>
<p><span style="color: #000000;"><strong><br />
EIGRP Interface Table<br />
</strong></span><br />
The EIGRP interface table displays interfaces participating in the local EIGRP processes.  Use the <strong>show ip eigrp interface</strong> command to display its contents.</p>
<p><span style="color: #000000;"><strong><br />
EIGRP Neighbor Table<br />
</strong></span>The EIGRP neighbor table contains a list of discovered EIGRP neighbors.  Use the <strong>show ip eigrp neighbors </strong>command to display its contents.</p>
<p><span style="color: #000000;"><strong>EIGRP Topology Table<br />
</strong></span>The topology table contains a complete list of EIGRP-learned routes. Use the <strong>show ip eigrp topology </strong>command to display its contents.</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Is the EIGRP route being advertised properly?</span></h2>
<p>Remember those three troubleshooting questions listed above?  Let&#8217;s start with the first one &#8211; is the route being advertised properly?</p>
<p>The first step is to identify the router that is connected to the destination subnet as it should be advertising the route out.  There are two simple ways to check if that router is advertising the routes properly.</p>
<p>First, do a <strong>show run | section eigrp</strong>.  This will display the running EIGRP configuration, including what networks are being advertised with the network statements.</p>
<p>Another option is to do a <strong>show ip protocol</strong>.  The nice thing about this command is that it displays the EIGRP network statements.  Remember, EIGRP only advertises subnets of interfaces that match an EIGRP network statement.</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Is the EIGRP route being received?</span></h2>
<p>Routers must be EIGRP neighbors for the routing information to be shared.  To check this, issue a <strong>show ip eigrp neighbors </strong>on the two routers exchanging hellos.  You should see the neighbor listed on each device.</p>
<p>You can also perform a <strong>debug ip eigrp packets </strong>to make sure hellos are being sent out from each router.</p>
<p>If all of that looks good, look at the EIGRP running configuration and make sure the AS numbers match, the timers are close, and that any authentication configurations are the same.</p>
<p>Next, issue a <strong>show ip eigrp interface </strong>to make sure the interfaces you expect are participating in the EIGRP process.  Lastly, route maps or distribution lists could be blocking routing traffic.  Do a <strong>show ip protocols </strong>to display any distribute lists.</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Is there a more desirable route being used?</span></h2>
<p><span style="color: #000000;">It&#8217;s possible that EIGRP knows about the route, but it is not being used in the routing table.  If a more desirable path is known, that will be used instead.   Compare the EIGRP topology table to the local routing table.</span></p>
<h1></h1>
<h1><span style="color: #ff6600;"><br />
OSPF</span></h1>
<p><span style="color: #000000;">These steps for troubleshooting OSPF are very similar to EIGRP.  First, verify that there is a problem using pings and by taking a look at the routing table.</span></p>
<p><span style="color: #000000;">OSPF stores its information in three different tables: the OSPF interface table, neighbor table, and link-state database.</span></p>
<p><span style="color: #000000;"><strong>OSPF Interface Table<br />
</strong></span><span style="color: #000000;">The OSPF interface table displays interfaces participating in the local OSPF processes.  Use the<strong> show ip ospf interface</strong> command to display its contents.</span></p>
<p><span style="color: #000000;"><strong>OSPF Neighbor Table<br />
</strong></span><span style="color: #000000;">The neighbor tables contains a list of discovered OSPF neighbors.  Use the<strong> show ip ospf neighbors </strong>command to display its contents.</span></p>
<p><span style="color: #000000;"><strong>OSPF Link State Database<br />
</strong>The link state database contains the received LSAs. </span></p>
<p><span style="color: #000000;"> </span>Use the <strong>show ip ospf database </strong>command to display its contents.</p>
<h2><span style="color: #000000;"><br />
</span></h2>
<h2></h2>
<h2><span style="color: #000000;">Is the OSPF route being advertised properly?</span></h2>
<p><span style="color: #000000;">The first step is to identify the router that is connected to the destination subnet as it should be advertising the route out.  There are two simple ways to check if that router is advertising the routes properly. </span></p>
<p><span style="color: #000000;">First, do a <strong>show run | section ospf</strong>.  This will display the running OSPF configuration, including what networks are being advertised with the network statements.  Another option is to do a <strong>show ip protocol</strong>. </span></p>
<p><span style="color: #000000;">Remember, OSPF only advertises subnets of interfaces that match an OSPF network statement.</span></p>
<h2><span style="color: #000000;"><br />
Is the OSPF route being received?</span></h2>
<p><span style="color: #000000;">Routers must be OSPF neighbors for the routing information to be shared.  To check this, issue a <strong>show ip ospf neighbors </strong>on the two routers.  You should see the neighbor listed on each device.</span></p>
<p><span style="color: #000000;">You can also perform a <strong>debug ip ospf adj </strong>to show any issues that would prevent the routers from forming an adjacency.</span></p>
<p><span style="color: #000000;">OSPF is more particular about matching protocol variables than EIGRP.  OSPF requires that all of the following parameters match between devices:</span></p>
<ul>
<li><span style="color: #000000;">Bidirectional communication</span></li>
<li><span style="color: #000000;">AS number</span></li>
<li><span style="color: #000000;">Timers</span></li>
<li><span style="color: #000000;">Common area type</span></li>
<li><span style="color: #000000;">Common subnet prefix</span></li>
<li><span style="color: #000000;">Authentication</span></li>
</ul>
<p><span style="color: #000000;">The OSPF protocol values can be seen using the <strong>show ip ospf interfaces </strong>command.</span></p>
<p><span style="color: #000000;">Lastly, route maps or distribution lists could be blocking routing traffic.  Do a <strong>show ip protocols </strong>to display any distribute lists.</span></p>
<h2><span style="color: #000000;"><br />
</span><br />
<span style="color: #000000;">Is there a more desirable route being used?</span></h2>
<p><span style="color: #000000;">It&#8217;s possible that OSPF knows about the route, but it is not being used in the routing table.  If a more desirable path is known, that will be used instead.   Compare the OSPF topology table to the local routing table.  Take the time to check each hop along the expected  path and look at the routing tables on each router. </span></p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">BGP</span></h1>
<p><span style="color: #000000;">BGP stores its information in two tables: the BGP neighbor table and the BGP table.</span></p>
<p><span style="color: #000000;"><strong>BGP Neighbor Table<br />
</strong></span><span style="color: #000000;">The neighbor tables contains a list of known BGP neighbors.  Use the<strong> show ip bgp neighbors </strong>command to display its contents.</span></p>
<p><span style="color: #000000;"><strong>BGP Table<br />
</strong>This table contains all the received BGP prefixes as well as their associated attributes lists.  Perhaps most importantly, it also shows the BGP best path to each destination. Use the <strong>show ip bgp </strong>command to display its contents.</span></p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Are the BGP routers neighbors?</span></h2>
<p><span style="color: #000000;">BGP neighbors must be administratively assigned on each router running BGP.  If the routers are not neighbors, BGP routing and network information will not be passed between them.  Start by doing a <strong>show ip bgp neighbors</strong>.  If the expected BGP peers do not show up in the output, make sure they have L3 connectivity using a simple ping test.  If you need to investigate further, a <strong>debug ip bgp updates </strong>should show the BGP hellos and advertisements.</span></p>
<p><span style="color: #000000;">Remember that BGP requires bidirectional communication as well as matching AS numbers and authentication.  The <strong>show run </strong>or <strong>show ip bgp </strong>command will display that information.</span></p>
<p><span style="color: #000000;">Also, consider that route maps or distribution lists could be blocking routing traffic.  Do a <strong>show ip protocols </strong>to display any distribute lists.</span></p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2><span style="color: #000000;">Is the BGP route being advertised?</span></h2>
<p><span style="color: #000000;">As with the other routing protocols, make sure that the router connected to the destination subnet is advertising the route out.  There are two simple ways to check if that router is advertising the routes properly. </span></p>
<p><span style="color: #000000;">Perform a <strong>show run | section bgp </strong>to look at the neighbor statements.  You should also keep in mind that BGP will only advertise routes when (1) they are defined using neighbor statements and (2) the router knows about the route from another source.</span></p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">Route Redistribution</span></h1>
<p><span style="color: #000000;">Route redistribution can be a tricky situation to troubleshoot, but understanding the following concepts should be helpful.</span></p>
<p><span style="color: #000000;"><strong>1. Redistributed routes require an existing entry in the routing table</strong>.  If the redistributing router does not have a routing table entry for the route being redistributed, it will not work.  Seems simple, but it should checked right away.</span></p>
<p><span style="color: #000000;"><strong>2. Routing loops are a common problem with multi-router routing redistribution</strong>.  Use a single router to perform the redistribution if possible.</span></p>
<p><span><strong style="color: #000000;">3. Understand that redistributed routes lose their native metric information</strong>.  When redistributing into EIGRP, a default metric MUST be set or no route will be imported.  When redistributing into OSPF, all routes will be imported as classful unless the subnets keyword is appended to the end of the redistribution statement.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-3-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP TSHOOT 642-832 :: Layer 2 Troubleshooting</title>
		<link>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-2-troubleshooting/</link>
		<comments>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-2-troubleshooting/#comments</comments>
		<pubDate>Mon, 23 May 2011 14:09:05 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[TSHOOT]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1768</guid>
		<description><![CDATA[Poor Switch Performance Most performance issues on switches are related to one of three errors: Cabling and port problems (layer 1) Duplex mismatches between switch ports and an attached device TCAM issues. Physical layer Troubleshooting Commands &#160; show interface show interface counters show interface counters errors Look for the following errors: &#160; FCS-Err Usually a [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="color: #ff6600;">Poor Switch Performance</span></h1>
<p>Most performance issues on switches are related to one of three errors:</p>
<ol>
<li>Cabling and port problems (layer 1)</li>
<li>Duplex mismatches between switch ports and an attached device</li>
<li>TCAM issues.</li>
</ol>
<h2></h2>
<h2></h2>
<h2></h2>
<h2>Physical layer Troubleshooting Commands</h2>
<p>&nbsp;</p>
<p><strong>show interface</strong></p>
<p>show interface counters</p>
<p>show interface counters errors</p>
<p>Look for the following errors:<br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>FCS-Err</strong><br />
Usually a cabling issue.<br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>Xmit-Err</strong><br />
The transmission buffers are full.  This is sometimes seen when switching from a fast link to a slower one.<br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>Undersize, Giants</strong><br />
The transmitting NIC may have problems.<br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>Single-Col, Multi-Col, Late-Col, Excess-Col</strong><br />
All of these are collision types, which can point to a duplex mismatch.  Cisco recommends setting all interfaces, switch and server, to auto.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<p>&nbsp;</p>
<h1><span style="color: #ff6600;">Spanning Tree</span></h1>
<p><span>Spanning Tree Protocol is a loop prevention mechanism to allow redundant Ethernet network connections.  Here is an important summary of how each switch determines Spanning Tree port roles:</span></p>
<p>&nbsp;</p>
<h3>1.</h3>
<p>Each switch periodically transmits BPDUs that include its bridge ID, current root bridge, and cost to that root bridge.  Additionally, each switch starts assuming it is the root bridge.</p>
<h3>2.</h3>
<p>If a switch receives a BPDU from another switch with a different root, it does a comparison.  If the BPDU has a lower advertised root, the switch changes its root to match and recalculates the cost to the new root.  The port that received the BPDU is now the root port &#8211; all others become designated ports.</p>
<h3>3.</h3>
<p>If a switch receives two BPDUs with the same root, it then compares costs and uses the port with the lowest cost.  The port with the higher cost is blocked &#8211; also called a non-designated port.</p>
<p>To quickly review STP costs, below is a list of link costs based on interface speed.</p>
<p><img src="http://www.ccnpguide.com/v2/wp-content/uploads/2011/05/stp-speeeds-600x126.png" alt="" title="stp speeeds" width="600" height="126" class="aligncenter size-medium wp-image-2551" /></p>
<p>After the whole process, there will be only one root bridge &#8211; with each non-root switch having only one root port.</p>
<p>To see the status of spanning tree, do a <strong>show spanning-tree vlan </strong><em>vlan-id</em>.</p>
<p>To view sent/received BPDU information for a switch, do a <strong>show spanning-tree interface </strong><em>interface </em><strong>detail</strong>.</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2>Broadcast Storms</h2>
<p>Broadcasts storms can occur due to Spanning Tree misconfigurations and/or rogue switches being added which closes a loop.  Regardless, a broadcast storm will be obvious when the switch slows way down, becoming unresponsive, and all the links light up solid green.</p>
<p>The CLI may be very slow to respond if you still have remote access to it, so often times to fastest way to fix the problem is to physically begin pulling redundant links.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">Troubleshooting EtherChannels</span></h1>
<p>EtherChannel issues usually fall into one of three categories:</p>
<p>1. Every port participating in an EtherChannel must have identical speed, duplex, access or trunk settings.  If an EtherChannel isn&#8217;t forming, check each port configuration.</p>
<p>2. Both sides of the EtherChannel must be configured as a bundle directly or be using a link aggregation protocol (LACP or PAgP).  If one side is configured as an EtherChannel and the other side is not, look for error-disabled EtherChannel ports on the EtherChannel-enabled switch.</p>
<p>3. If traffic is only flowing over a single link in a bundle, it is likely that the hash algorithm should be adjusted to use different seed values.  Also note that link bundles should be used in even numbered pairs like 2, 4, 8, etc.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #000000;"><span style="color: #ff6600;">VLANs</span></span></h1>
<p>When troubleshooting issues that you suspect are related to VLAN logic, you should first make sure you have tested for physical layer issues like bad cabling, a power failure, or bad switch ports.  Also, check that you are not dealing with an issue with the switch itself &#8211; things like software bugs, loops, or ARP problems.</p>
<p>VLAN issues usually come in the form of misconfigured VLANs, improper VTP mode, trunk issues, and native VLAN mismatches. </p>
<p><span style="color: #000000;"><br />
</span></p>
<h2>Switch Tables</h2>
<p>It is important that you understand what show commands display information on what switch tables.  These will come in handy when you are isolating a switching issue.</p>
<div class="one_half"><strong>MAC Address Table<br />
</strong>MAC-to-port mapping</p>
<p><strong>VLAN Assignments<br />
</strong>VLAN-to-port mapping</p>
<p><strong>Trunk </strong><strong>Assignments</strong><br />
</div> <div class="one_half last">
show mac-address</p>
<p>show vlan</p>
<p>show vlan</p>
<p>show interface switchport<br />
show interface switchport trunk<br />
show etherchannel</p>
</div>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">Troubleshooting Inter-VLAN Routing</span></h1>
<p>Routing between VLANs can be done on either a router, or a layer 3 switch &#8211; but the data plane is different depending on the platform you are using.</p>
<p>Either way, show ip cef displays the CEF forwarding table and show adjacency will show you the layer 2 headers used in forwarding.</p>
<p>Keep in mind that routers always use layer 3 information to pass traffic between ports.  Switches can either use MAC address forwarding (for layer 2 forwarding), SVIs for inter-VLAN routing, or layer 3 routed ports.  The last category, routed ports do not run layer 2 protocols like Spanning Tree &#8211; very important.</p>
<p>Last thing to remember &#8211; SVIs will only go into down state when all interfaces within that particular VLAN are down.</p>
<p>&nbsp;</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">HSRP, VRRP, &amp; GLBP</span></h1>
<p>First hop redundancy protocols allow a layer 2 segment to have two gateway routers for redundancy, while still only showing a single gateway IP and MAC address.</p>
<p>The three FHRPs Cisco supports are HSRP, VRRP, and GLBP.</p>
<p>HSRP is one of the original FHRPs that was developed by Cisco and is proprietary.  One router is active and another is a backup (using HSRP keepalives to maintain connectivity).  HSRP is extremely popular and you should make sure to understand how it works for the TSHOOT exam.  Check out<a href="http://www.ccnpguide.com/ccnp-switch-642-813-high-availability-overview/" target="_blank"> the High-Availability page </a>to learn more.</p>
<p>VRRP is another gateway redundancy protocol that is an open standard and very similar to HSRP.</p>
<p>GLBP is an open standard; its primary advantage is its ability to automatically load balance between gateway routers.</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2>HSRP</h2>
<p>HSRP is the primary FHRP covered on the TSHOOT exam, so let&#8217;s go through the basics one more time.</p>
<p>HSRP is configured using the standby command under interface configuration mode.  Routers in the same HSRP group share a common MAC and virtual IP address.  The standby configuration statements define the HSRP group as well as the virtual IP in use.</p>
<p>Each HSRP-enabled router has a default HSRP priority of 100 (remember, highest wins).  If another router joins the group with a higher priority it will still not become the active router unless the preempt command is applied.</p>
<p>An example HSRP configuration could look something like:</p>
<p>Router(config)# interface gig1/1<br />
Router(config-if)# ip address 192.168.1.2<br />
Router(config-if)# standby 4 ip 192.168.1.1<br />
Router(config-if)# standby 4 priority 200<br />
Router(config-if)# standby 4 preempt</p>
<p>To show the current HSRP status, issue either <strong>show standby </strong>or <strong>show standby brief </strong>depending on the level of detail you require.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-tshoot-642-832-layer-2-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP TSHOOT 642-832 :: The Art of Troubleshooting</title>
		<link>http://www.ccnpguide.com/ccnp-tshoot-642-832-the-art-of-troubleshooting/</link>
		<comments>http://www.ccnpguide.com/ccnp-tshoot-642-832-the-art-of-troubleshooting/#comments</comments>
		<pubDate>Wed, 18 May 2011 19:26:42 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[TSHOOT]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1753</guid>
		<description><![CDATA[There are two elements to good troubleshooting &#8211; preparation and technique. Preparation comes in the form of documentation, change control, and understanding of the environment. The second part, technique, is just as important. There are a number of methods to tackle the same problem. To be honest, Cisco doesn&#8217;t promote a specific approach for the [...]]]></description>
			<content:encoded><![CDATA[<p>There are two elements to good troubleshooting &#8211; preparation and technique. Preparation comes in the form of documentation, change control, and understanding of the environment. The second part, technique, is just as important.</p>
<p>There are a number of methods to tackle the same problem. To be honest, Cisco doesn&#8217;t promote a specific approach for the CCNP TSHOOT exam. The important part is that you are consistent and your troubleshooting methodology follows a structured approach.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">Structured Troubleshooting</span></h1>
<p>What Cisco calls <em>structured troubleshooting </em>simply means you use a system to solve a problem by collecting information about the problem, forming a hypothesis, and then test it. The structured approach also is helpful when the hypothesis you create fails. It may rule out many more scenarios and likely leads to the next hypothesis to test. The recovery time for a structured troubleshooting approach is usually much less than randomly changing configurations or settings in a hurry to try and get things working.<br />
There are several common structured troubleshooting approaches, with these being the most common:</p>
<h3></h3>
<h3></h3>
<h3>Bottom-Up</h3>
<p>Start with the OSI application layer and work your way down.</p>
<h3></h3>
<h3>Top-Down</h3>
<p>Start with the OSI physical layer and work your way up.</p>
<h3></h3>
<h3>Follow-the-Path</h3>
<p>Consider the path a packet would take from source to destination, checking each node/device/configuration along the way.</p>
<h3></h3>
<h3>Spot-the-Difference</h3>
<p>This is where configurations are compared between what is currently running and what the expected configurations should be.</p>
<h3></h3>
<h3>Move-the-Problem</h3>
<p>Move a device to see if the problem moves with it.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">Use the Scientific Method</span></h1>
<p>The first step whenever you encounter a technical problem is to define the problem.  This will involve collecting input from those experiencing the issue directly &#8211; things like &#8220;the Internet is down&#8230;&#8221; or &#8220;my email is slow&#8230;&#8221; or &#8220;I can&#8217;t get to my Facebook account when I should be processing TPS reports&#8221;&#8230;  You get the idea.  Keep in mind that you will need to understand that they are explaining the symptoms &#8211; it&#8217;s your job to determine the problem behind the symptoms.</p>
<p>After you have identifies the problem, it&#8217;s time to trim it down.  What&#8217;s the scope?  How many users are affected?  What changed?  When did it happen?  Is it a constant problem or intermittent?</p>
<p>Now this is where your tool bag of structured troubleshooting methodologies should come out.  Try one that you think best matches your hypothesis of the root issue and work your way through it.  Did your test work?  If not, continue through the layers, the path, or whatever approach you are using.</p>
<p>When you find a test that is successful and determine that it in fact is the root cause, make sure to communicate the problem and recovery to all stakeholders and update any necessary documentation.  These are small, simple tasks &#8211; but they are rarely done consistently.</p>
<p>&nbsp;</p>
<p>If a configuration change was the culprit, think about your current change control policy and ask if it needs to be updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-tshoot-642-832-the-art-of-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP TSHOOT 642-832 :: Network Maintenance</title>
		<link>http://www.ccnpguide.com/ccnp-tshoot-642-832-network-maintenance-planning/</link>
		<comments>http://www.ccnpguide.com/ccnp-tshoot-642-832-network-maintenance-planning/#comments</comments>
		<pubDate>Thu, 12 May 2011 16:23:31 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[TSHOOT]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1704</guid>
		<description><![CDATA[Maintenance is no doubt an important component to network stability and that&#8217;s why we see it covered on the troubleshooting exam.  This is perfect multiple-choice style content as it is difficult to test your understanding of maintenance concepts and methodologies on a simulation-focused exam like TSHOOT.  Keep that in mind as you walk through the following [...]]]></description>
			<content:encoded><![CDATA[<p>Maintenance is no doubt an important component to network stability and that&#8217;s why we see it covered on the troubleshooting exam.  This is perfect multiple-choice style content as it is difficult to test your understanding of maintenance concepts and methodologies on a simulation-focused exam like TSHOOT.  Keep that in mind as you walk through the following topics.</p>
<h3></h3>
<h3></h3>
<blockquote>
<h3><span style="color: #888888;">Good troubleshooting reduces the time an outage lasts, good maintenance minimizes outages themselves.</span></h3>
</blockquote>
<p>&nbsp;</p>
<h1><span style="color: #ff6600;">Maintenance Methodologies</span></h1>
<p>Several well known maintenance models have been defined by a number of organizations.  Many organizations use parts of several instead of adopting one method completely, but it is important as a network engineer to understand what models exist and how they translate into improving your organization.  A documented maintenance strategy is worth its weight in gold.</p>
<h2></h2>
<h2></h2>
<h2><strong>IT Infrastructure Library (ITIL)</strong></h2>
<p>ITIL focuses on creating a technology service framework within an organization and aligning it closely with the organization&#8217;s requirements and processes.  Note that ITIL is a large and comprehensive approach that was developed specifically for IT professionals.</p>
<p>&nbsp;</p>
<h2><strong>FCAPS</strong></h2>
<p>FCAPS is an IT maintenance model created by ISO that categorizes network management into five parts.  FCAPS is an acronym using the first letters of the five categories it includes.</p>
<p>&nbsp;</p>
<h3>Fault management</h3>
<p>■ Preventive maintenance</p>
<p>■ Minimizing network downtime</p>
<p>&nbsp;</p>
<h3>Configuration management</h3>
<p>■ Both hardware and software installation and configuration</p>
<p>■ Change control</p>
<p>■ Inventory management</p>
<p>&nbsp;</p>
<h3>Accounting management</h3>
<p>■ Capacity planning</p>
<p>■ Cost efficiency</p>
<p>&nbsp;</p>
<h3>Performance management</h3>
<p>■ Maximize performance on existing network investments</p>
<p>&nbsp;</p>
<h3>Security management</h3>
<p>■ Confidentiality, integrity, availability (CIA)</p>
<p>■ Authentication, authorization, accounting (AAA)</p>
<p>■ Encryption</p>
<p>■ Intrusion detection/prevention</p>
<p>&nbsp;</p>
<h2><strong>Cisco Lifecycle Services</strong></h2>
<p>Cisco has come up with their own maintenance model, sometimes also referred to as PPDIOO, or Prepare, Plan, Design, Implement, Operate, and Optimize.  This model is specifically focused on deploying and operating Cisco&#8217;s product families.</p>
<p>&nbsp;</p>
<h2><strong>Telecommunications Management Network (TMN)</strong></h2>
<p>TMN was developed by ITU-T and is a tailored version of FCAPS specific to the telecommunications industry.</p>
<p>Once the model has been selected, its parts should inform an IT organization&#8217;s processes and standard procedures.  After all, a model is meaningless unless it affects how a business operates.</p>
<p>After the maintenance model components have defined an organizational processes (ex. automated config backups, manual security audits, etc.), tools should be selected to carry out those processes.  FTP could be used for configuration backups for example.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span class="Apple-style-span" style="color: #ff6600;">Network Maintenance Core Tasks</span></h1>
<p>Whatever model an IT organization chooses, there a some functions that should be included every time.  These include:</p>
<p>■ Managing adds, moves, and changes</p>
<p>■ Installing and configuring new network devices</p>
<p>■ Replacing failed hardware</p>
<p>■ Software backup</p>
<p>■ Configuration backup</p>
<p>■ Troubleshooting failure scenarios</p>
<p>■ Software upgrades</p>
<p>■ Network performance monitoring</p>
<p>■ Capacity planning</p>
<p>■ Creating/updating network documentation</p>
<p>&nbsp;</p>
<h1><span style="color: #ff6600;">Documentation</span></h1>
<p>Up-to-date, clear, and complete infrastructure documentation is crucial to reduce recovery times and maintain a robust networked environment.  Different levels of detail are appropriate for different audiences, but some common details that should be documented include:</p>
<p>■ Production configurations</p>
<p>■ Inventory (including serial numbers, support info, etc.)</p>
<p>■ Circuit information</p>
<p>■ Network drawings</p>
<p>■ IP address assignments</p>
<p>Another important component to network documentation is a performance baseline, or snapshot.  It captures the expected performance of your network systems like link bandwidth, WAN jitter and delay, and port status.  This is a tremendous help during troubleshooting efforts because without knowing what normal levels are, detecting abnormal traffic behavior becomes very subjective.</p>
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1><span style="color: #ff6600;">IOS Tools</span></h1>
<h2>Configuration</h2>
<p>Configurations should be backed up periodically or after changes are made.  One of the simplest methods is to save the configuration as a text file on a remote TFTP or FTP server.  TFTP and FTP servers are available on all modern operating systems and free, open source offerings are widely available.</p>
<p>Adding the date to the saved configuration can make rolling back changes easier in the future.  Here&#8217;s an example of a router saving it&#8217;s configuration to a local TFTP server:</p>
<p>RouterA# <strong>copy run tftp<br />
</strong>Address of name of remote host []? <strong>10.10.1.35<br />
</strong>Destination filename [routera-config]?<strong>routera</strong></p>
<p>&nbsp;</p>
<h2>Syslog</h2>
<p>Syslog is a tool that collects alerts from network devices and stores them on a common log.  Obviously, this can be very handy when you need to troubleshoot an issue across many devices.</p>
<p>Know that every syslog message contains two parts, a severity level and a facility.  The severity level goes from 0 to 7 with 0 being the most severe to 7 being simply informational.<br />
<strong>Syslog Priority (highest to lowest):<br />
</strong>0.  Emergency (highest)<br />
1.  Alert<br />
2.  Critical<br />
3.  Error<br />
4.  Warning<br />
5.  Notice<br />
6.  Informational<br />
7.  Debug (lowest)</p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2>NTP</h2>
<p>Alerting is important, but if the timestamps that are included are off then the alerts are unreliable (and next to useless).  NTP stands for Network Time Protocol and is used to keep accurate and consistent time on all network devices.  NTP works by using pulling the current time from a time server, each of which are assigned by stratum.  Stratum 1 clocks are synchronized directly with an atomic clock, stratum 2 clocks get their time from stratum 1 clocks, etc.</p>
<p>Configuring NTP is easy &#8211; just point the device to the proper time server:</p>
<p>Switch(config)# <strong>ntp server </strong>ip<em>_address_of_ntp_server</em></p>
<p>To verify:</p>
<p>Switch# <strong>show ntp status</strong></p>
<p>One last note for NTP, it is important to consider the time zone that each device is set to.  Make sure you have it consistent (ex. local time zones, GMT, HQ time zones, etc)</p>
<p>&nbsp;</p>
<h2>Archive</h2>
<p>Cisco has developed a built-in configuration backup and restore feature, called archive.  The archive function maintains a copy of the current configuration as well as a set of past configurations.  If a configuration change is made with unpleasant results, the switch or router can roll back to a previous configuration relatively easily.</p>
<p>There are several keywords available inside archive configuration mode.  Here is a list of some of the most common:</p>
<p><strong>path</strong><br />
Specifies where you want the backup configuration stored (ex. flash, tftp server, etc.)</p>
<p>Example:<br />
archive<br />
path flash://routerc</p>
<p>OR</p>
<p>archive<br />
path tftp://192.168.1.22/routerc.txt</p>
<p><strong>write-memory</strong><br />
When the write-memory keyword is configured, a backup of the configuration will be automatically saved every time the configuration is manually saved.</p>
<p><strong><br />
time-period</strong><br />
Sets the maximum time allowed before another backup is automatically saved</p>
<p>When the archive function backs up a configuration, it appends a -1, -2, -3, etc. to the end of the file name depending on how many have already been saved.  It will count up to 14 (represented as filename-14) and then cycle back to 1.  If your time-period is set too frequently, then you&#8217;re backups may be written over too often.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-tshoot-642-832-network-maintenance-planning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP ROUTE 642-902 :: VPNs and IPSec</title>
		<link>http://www.ccnpguide.com/ccnp-route-642-902-vpns-and-ipsec/</link>
		<comments>http://www.ccnpguide.com/ccnp-route-642-902-vpns-and-ipsec/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 14:35:43 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[ROUTE]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1340</guid>
		<description><![CDATA[  VPN tunnels and IPSec are two topics covered on the exam, but not in great detail.  You&#8217;ll need to know enough to verify a sample configuration and answer straightforward questions on both technologies. Let&#8217;s start with IPSec.   IPSec Basics IPSec allows the establishment of a secure connection between two hosts.  The IPSec protocol [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>VPN tunnels and IPSec are two topics covered on the exam, but not in great detail.  You&#8217;ll need to know enough to verify a sample configuration and answer straightforward questions on both technologies.</p>
<p>Let&#8217;s start with IPSec.</p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
IPSec Basics</span></h2>
<p><span style="color: #000000;">IPSec allows the establishment of a secure connection between two hosts.  The IPSec protocol sets up a unidirectional </span>SA (security association between the two endpoints).  Because the association is unidirectional, an SA is created on both ends, resulting in two SAs per IPSec tunnel.</p>
<p>IPSec tunnels are often used as a backup to a WAN link failure.  If a point-to-point WAN circuit drops, an IPSec tunnel can be configured to automatically be established over the internet to the remote site.  When the primary WAN circuit comes back up, the IPSec tunnel is disconnected.</p>
<h2> </h2>
<h3>Floating Static Routes</h3>
<p>Configuring an IPSec tunnel to activate when a primary link drops is commonly inplemented as a floating static route.  The idea is to configure to IPSec VPN as a static route, but with an administrative distance higher than that of the WAN routing protocol&#8217;s. </p>
<p>If the primary route is active, the backup link is not placed into the routing table because its AD is higher.  If the primary route goes down, the static route becomes active.</p>
<p>To configure a floating static route, make sure you define a higher AD value at the end:</p>
<p>R1(conf)# ip route prefix mask <em>address|interface</em><strong> <em>distance_value</em></strong></p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
VPN Tunnels</span></h2>
<p><span style="color: #000000;">One major problem with standard IPSec sessions is that they do not support broadcast or multicast traffic.  If you want to use an IPSec VPN in an &#8220;always on&#8221; fashion, then the tunnel needs to allow routing information to pass through.  Of course dynamic routing protocols use broadcast or multicast to send hellos and updates, so in lies the dilemma.</span></p>
<p><span style="color: #000000;">To get around this issue, a &#8220;tunnel within a tunnel&#8221; approach can be used.  A generic tunnel can be configured within the IPSec tunnel to allow routing protocol information (along with all the other traffic).</span></p>
<p><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;">There are generally four ways to do this paired with IPSec:</span></p>
<p><span style="color: #000000;"><strong><br />
DMVPN and GET VPN</strong></span><br />
<span style="color: #000000;">Both allow the creation of secure, &#8220;on-demand&#8221;, multipoint tunnels.<br />
</span></p>
<p><span style="color: #000000;"><strong>Virtual Tunnel Interface (VTI)</strong></span><br />
<span style="color: #000000;">A secure, &#8220;always-on&#8221; tunnel that supports multicast traffic.  This allows routing protocols to operate within it.<br />
</span></p>
<p><span style="color: #000000;"><strong>Generic Routing Encapsulation (GRE)</strong></span><br />
<span style="color: #000000;">GRE tunnels may be the most common of the bunch &#8211; they are also the default tunnel mode on Cisco routers.  GRE tunnels support many layer 3 protocols but perhaps most importantly allow multicast traffic accross the tunnel &#8211; granting dynamic routing protocol traffic. </span></p>
<p><span style="color: #000000;"><em>Be aware that GRE tunnels add an additional 20 byte IP header as well as a 4 byte GRE tunnel header.  </em></span></p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
Branch Office Connectivity</span></h2>
<p><span style="color: #000000;">The CCNP ROUTE exam covers several unusual topics related to managing and configuring the connectivity between an HQ site and a branch office.  You need to be familiar with some of the underlying technologies used.</span></p>
<p><span style="color: #000000;">Cisco ISR routers are often a good choice for branch sites as they support a wide variety of incoming services.  In smaller offices, a single ISR may be used for a both remote connectivity and inter-VLAN routing.  In that case, know that an Ethernet Switch Module would be required for the ISR router.</span></p>
<h3><span style="color: #000000;"> </span></h3>
<h3><span style="color: #000000;"><br />
DSL</span></h3>
<p><span style="color: #000000;">DSL, or Digital Subscriber Line, can be used as a backup WAN connection to a branch office.  DSL uses frequencies not used by TDM phone systems on a phone line &#8211; allowing the extra bandwidth to be used for data connectivity.</span></p>
<p><span style="color: #000000;"><strong>Asymetrical DSL </strong>has higher downstream bandwidth than upstream, while with <strong>symetric DSL </strong>they are both the same rate.</span></p>
<h2><span style="color: #000000;"> </span></h2>
<p><span style="color: #000000;">There are two primary methods for pushing L2 data across a DSL line:</span></p>
<p><span style="color: #000000;"><strong>PPoE</strong><br />
Point-to-Point Protocol over Ethernet is the most common method and encapsulates PPP traffic into Ethernet frames.</span></p>
<p><span style="color: #000000;"><strong>PPoA</strong><br />
Point-to-Point Protocol over ATM is less common and routes PPP traffic over an ATM network between the customer and the DSL service provider.</span></p>
<p><em><span style="color: #000000;">Both options can be configured on a Cisco router to terminate the DSL connectivity.  PPoE is especially helpful because it this frees the user computers from running PPoE</span></em></p>
<h3> </h3>
<h3>Cable</h3>
<p>Broadband cable providers also provide internet connectivity which can be used for WAN backup or Internet connectivity for telecommuters.  The internet signal is carried on the same line that the television is carried, but a cable modem allows the data traffic to be seperated.</p>
<p>The international standard for sending data over a cable system is Data Over Cable Service Interface Specification (or DOCSIS).  Many different versions of the standard are used throughout the world.</p>
<p>Cable system connections are typicall not terminated directly into a Cisco router.  Instead, a cable modem demodulates the incoming signal and converts the traffic to Ethernet frames, which a router can process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-route-642-902-vpns-and-ipsec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP ROUTE 642-902 :: IPv6</title>
		<link>http://www.ccnpguide.com/ccnp-route-642-902-ipv6/</link>
		<comments>http://www.ccnpguide.com/ccnp-route-642-902-ipv6/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 22:15:31 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[ROUTE]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1212</guid>
		<description><![CDATA[IPv6 is an important topic &#8211; and not just for the exam.  The growth of web-based services and diminishing IPv4 addressing will continue to push organizations towards IPv6, especially on web-facing networks.   Basics IPv4 addresses are 32 bits long and are represented in dotted-decimal format.  IPv6 addresses are 128 bits and are in hexadecimal [...]]]></description>
			<content:encoded><![CDATA[<p><span>IPv6 is an important topic &#8211; and not just for the exam.  The grow</span>th of web-based services and diminishing IPv4 addressing will continue to push organizations towards IPv6, especially on web-facing networks.</p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;">Basics</span></h2>
<p><span style="color: #000000;"><span>IPv4 addresses are 32 bits long and are represented in dotted-decimal format.  IPv6 addresses are 128 bits and are in hexadecimal format.</span></span></p>
<p>The first 64 bits of an IPv6 address are reserved for the network portion and the last 64 bits are used for the host portion.</p>
<p style="text-align: center;"><a rel="attachment wp-att-1214" href="http://www.ccnpguide.com/ccnp-route-642-902-ipv6/ipv6-addressing/"><img class="aligncenter size-large wp-image-1214" style="border: 0px;" title="IPv6 addressing" src="http://www.ccnpguide.com/wp-content/uploads/2011/03/IPv6-addressing-1024x297.jpg" alt="" width="502" height="146" /></a></p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><span>IPv6 Shorthand</span></span></h2>
<p>The ability to shorten IPv6 addresses is very important to understand because it makes reading and writing them much easier. </p>
<p>There are two ways to condense an IPv6 address. </p>
<p><strong>1.  Leading zeros can be removed in any section.</strong></p>
<p style="padding-left: 30px;">For example, <br />
0021:0001:0000:030A:0000:0000:0000:0987E</p>
<p style="padding-left: 30px;">Can be abbreviated as:<br />
21:1:0:30A:0:0:0:987E</p>
<p><strong>2.  Sequential sections of all zeros can be shortened to a single double colon.  </strong></p>
<p>This can only be used once per address though!  Using the same example address above, it can be further shortened to:</p>
<p>21:1:0:30A::987E</p>
<h2><span style="color: #ff6600;"> </span> </h2>
<h2><span style="color: #ff6600;"><br />
<span><span>Unicast</span></span>, <span><span>Multicast</span></span>, &amp; <span><span>Anycast</span></span></span></h2>
<p><strong><span><span>Unicast</span></span><br />
</strong><span><span>Unicast</span></span> is for sending traffic to a single interface.  In IPv6 there are actually two different <span><span>unicasts</span></span> types, <em>global <span><span>unicast</span></span> </em>and<em>link-local <span><span>unicast</span></span></em>.</p>
<p><strong><span><span>Multicast</span></span></strong><br />
Unlike IPv4, IPv6 addressing does not support broadcasts.  Instead, it has replaced it <span><span>wi</span></span>th <span><span>multicast</span></span> (which is a more efficient variation).  This is used for sending traffic to a group of devices.</p>
<p><strong><span><span>Anycast</span></span></strong><br />
IPv6 supports another, new packet type &#8211; <span><span>anycast</span></span>.  <span><span>Anycast</span></span> allows the same address to be used on multiple devices for load balancing and redundancy.  Technically, it is used for sending traffic to the nearest interface in a group.  While multiple devices may be running the same <span><span>anycast</span></span> address, only one will be used per packet sent.</p>
<p>Be aware that with IPv6, an interface can be assigned multiple addresses.  Here is the list:</p>
<p>- <span><span>Unicast</span></span> address</p>
<p>- Link-local address</p>
<p>- <span><span>loopback</span></span> (::1/128)</p>
<p>- All nodes <span><span>multicast</span></span> (FF00::1)</p>
<p>- Site-local <span><span>multicast</span></span> (FF02::2)</p>
<p>- Solicited-nodes <span><span>multicast</span></span></p>
<p>- Default Route (::/0)</p>
<h1><span style="color: #888888;"> </span></h1>
<h1><span style="color: #888888;"><br />
Address Assignment</span></h1>
<p><span style="color: #000000;">In IPv6, there are three different ways devices are assigned an IP address: manual configuration, using stateless <span><span>autoconfiguration</span></span>, or by using DHCPv6.</span></p>
<h2><span style="color: #000000;"> </span></h2>
<h2><span style="color: #ff6600;">Manual Address Configuration</span></h2>
<p>The first thing to know and manual IPv6 address configuration is that addresses assigned to a router interface use the <em>address/prefix-<span><span>leng</span></span>th </em>notation instead of the <em>address mask </em>notation.  This is so much easier than typing 25.255&#8230; after every <span><span>ip</span></span> address!</p>
<p>Also, make sure you first enable IPv6 routing with the <strong><span>ipv6 </span><span><span>unicast</span></span>-routing </strong>global configuration command.</p>
<p>Use the <strong><span>ipv6 address </span><em>ipv6-address</em>/<em>prefix-<span><span>leng</span></span>th </em></strong>command to assign an address.</p>
<p>An example of an interface configured with an IPv6 address:</p>
<p>R1# <span><span>conf</span></span> t<br />
R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing<br />
R1(<span><span>config</span></span>)# int gig 1/1<br />
R1(<span><span>config</span></span>-if)# ipv6 address 21:1:0:30A::987E/64</p>
<h3> </h3>
<h3>Manual Network Assignment</h3>
<p>Another way to manually configure an IPv6 address is to configure the network and allow the host portion to be <span><span>autopopulated</span></span> based on the device&#8217;s MAC address.  This can work well because MAC addresses are 64 bits long &#8211; the exactsame <span><span>leng</span></span>th as the host portion of an IPv6 address!</p>
<p>An example with the network portion defined:</p>
<p>R1(<span><span>config</span></span>)# int gig 1/1<br />
R1(<span><span>config</span></span>-if)# ipv6 address 21:1:0:30A::/64</p>
<p><em>Note: </em> Some systems have a 48 bit MAC address.  In this case, it flips the 7th bit and inserts 0xFFEE into the middle of the MAC address.  This modified version is called an <em>EUI-64 address</em>.  To do this, add the keyword <strong><span><span>eui</span></span>-64 </strong>to the end of the ipv6 address statement.</p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
Stateless <span><span>Autoconfiguration</span></span></span></h2>
<p>Stateless <span><span>autoconfiguration</span></span> allows a device to self-assign an IP address for use locally without any outside information.  Remember that interfaces using IPv6 will often have more than one IPv6 address assigned, and in this case stateless <span><span>autoconfiguraiton</span></span>will generate a link-local address in addition to any other manually assigned addresses.  Link-local addresses are created by starting <span><span>wi</span></span>th the prefix FE80:: and appending the device&#8217;s MAC address. Since every MAC address should be unique, it works well for auto-generated local IP addresses.</p>
<p>Link-local addresses are not <span><span>routable</span></span> within packets and are used for administrative purposes within the local segment.  For example, most <span><span>IGPs</span></span> use link-local addresses to for neighbor relationships and the link-local address is listed as the next-hop address in the routing table.</p>
<p>Once a router has created an IPv6 link-local address using stateless <span><span>autoconfiguration</span></span>, it used NDP to make sure it is actually unique within the local network.  NDP stands for Neighbor Discovery Protocol.  NDP uses ICMP packets as part of the neighbor discovery process.</p>
<p>To configure stateless <span><span>autoconfiguration</span></span>, use the <strong><span>ipv6 address </span><span><span>autoconfig</span></span> </strong>command.</p>
<p>Example:</p>
<p>R1(<span><span>config</span></span>)# int gig 1/1<br />
R1(<span><span>config</span></span>-if)# ipv6 address <span><span>autoconfig</span></span></p>
<h1><span style="color: #888888;"> </span></h1>
<h1><span style="color: #888888;"><br />
<span>IPv6 Routing</span></span></h1>
<p> </p>
<h2><span style="color: #ff6600;">Static Routes</span></h2>
<p>The configuration for IPv6 static routes is identical to IPv4, except for the ipv6 route keywords instead of <span><span>ip</span></span> route and the addresses will obviously look different.  Other than that, it is exactly the same!</p>
<p><strong> </strong></p>
<p><strong>An example of a static IPv6 default route:</strong></p>
<p>R1(<span><span>config</span></span>)# ipv6 route ::/0 serial1/1</p>
<p><strong>An example of an IPv6 static route with a next-hop address:</strong></p>
<p>R1(<span><span>config</span></span>)# ipv6 route 2003:2:1:A::/64 2003:2:1:F::1</p>
<p><em> </em> </p>
<p><em>To view the IPv6 routes in the routing table, use the command</em> <strong>show ipv6 route</strong>.</p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
<span>IPv6 EIGRP</span></span></h2>
<p>There are many differences in the way EIGRP is configured and <span><span>wi</span></span>th<span>IPv6.  It still sends hellos out every 5 seconds to its neighbors, but when running EIGRP </span><span><span>wi</span></span>th IPv6 addresses, it uses the <span><span>multicast</span></span> address FF02::A.</p>
<p>EIGRP messages are exchanged using the link-local address as the source address and perhaps the biggest difference is that there is no <em>network</em> command!  Instead, EIGRP routing is enabled on each participating interface.</p>
<p>Also, EIGRP running IPv6 requires a router ID be configured.  The format is that of an IPv4 address - 32 digits and it can be a private address (non-<span><span>routable</span></span>) with no issues.</p>
<p>The last major change is that the EIGRP process starts in the shutdown state.  You have to issue a no shut to bring it up on the router.</p>
<h3><strong> </strong></h3>
<h3><strong> </strong><strong><br />
To configure IPv6 EIGRP:</strong></h3>
<p>R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing<br />
!<br />
R1(<span><span>config</span></span>)# ipv6 router <span><span>eigrp</span></span> <em>AS<br />
</em>R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id <em><span>ipv4-address</span><br />
</em>R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# no shut<br />
R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit<br />
!<br />
R1(<span><span>config</span></span>)# interface<em> type number<br />
</em>R1(<span><span>config</span></span>-if)# ipv6 <span><span>eigrp</span></span> <em>AS</em></p>
<p><em> </em></p>
<h2><span style="color: #ff6600;"><br />
<span>OSPFv3</span></span></h2>
<p>OSPFv3 is an updated version of OSPF designed to accommodate IPv6 <span>native</span>ly.  Most of the configuration and function is identical to its <span><span>predeciessor</span></span>, but a few changes were made &#8211; starting <span><span>wi</span></span>th messaging.</p>
<p><span>OSPFv3 uses the </span><span><span>multicast</span></span> address FF02::5 and FF02::6, but like EIGRP, it now uses its link-local address as the source address in advertisements.  Also, it&#8217;s possible to run multiple instances of OSPFv3 on each link.</p>
<p>Like the IPv6 <span>implementation</span> of EIGRP, a 32 bit router ID must be manually created.  It will not automatically create one based on highest <span><span>loopback</span></span> or interface address.  The RID that is assigned will then be used to determine the DR and BDR on a segment (highest wins).</p>
<p><span>OSPFv3 has dropped it&#8217;s native authentication options.  Instead, it relies on the underlying authentications built into IPv6, like </span><span><span>IPSec</span></span>.</p>
<h3> </h3>
<h3>Configuration</h3>
<p>The configuration is now done on each individual interface.  The following is an example configuration:</p>
<p>R2(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing<br />
!<br />
R2(<span><span>config</span></span>)# ipv6 router <span><span>ospf</span></span> 100<em><br />
</em>R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id 10.10.10.1<br />
R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# area 1 stub no-summary<br />
R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit<br />
!<br />
R2(<span><span>config</span></span>)# interface gig1/1<br />
R2(<span><span>config</span></span>-if)# ipv6 address 2003:2:1:2::1/64<br />
R2(<span><span>config</span></span>-if)# ipv6 <span><span>ospf</span></span> 100 area 0<br />
!<br />
R2(<span><span>config</span></span>)# interface gig1/2<br />
R2(<span><span>config</span></span>-if)# ipv6 address 2003:2:1:A::1/64<br />
R2(<span><span>config</span></span>-if)# ipv6 <span><span>ospf</span></span> 100 area 1<br />
R2(<span><span>config</span></span>-if)# ipv6 ospf priority 30</p>
<p><em> </em></p>
<h2><span style="color: #ff6600;"><br />
MP-BGP</span></h2>
<p>MP-BGP, or multiple protocol BGP, was outlined in RFC 2858 and includes extensions to the <span>original</span> BGP standard that allows support for other protocols &#8211; one of which is IPv6!  The command <em><span>address-fami<span>ly</span> </span></em>was added to specify which new protocol functionality is being configured and is used when applying IPv6 addressing.</p>
<p>Like EIGRP and OSPFv3, an IPv4 address must be configured as a router ID.  The BGP configuration is not done at the interface level, it still is done in router configuration mode.  The major difference is that neighbors must be first defined under router BGP configuration mode and then &#8220;activated&#8221; under IPv6 address-family mode <span><span>submode</span></span>.  Networks and other parameters are also configured under IPv6 address-family mode <span><span>submode</span></span>.</p>
<h3> </h3>
<h3>Configuration</h3>
<p>Like this&#8230;</p>
<p>R3(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing<br />
!<br />
R3(<span><span>config</span></span>)# router <span><span>bgp</span></span> 600<em><br />
</em>R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id 10.10.10.10<br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# neighbor 2003:76:1:1::10 remote-as 700<br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# address-family ipv6 <span><span>unicast</span></span><br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# neighbor 2003:76:1:1::10 activate<br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# network 2003:2:2::/48<br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# exit<br />
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit</p>
<h1> </h1>
<h1> </h1>
<h1><span style="color: #888888;">Migrating to IPv6</span> </h1>
<p><em>Three options exist for transitioning from IPv4 to IPv6: dual stack, tunneling, or NAT.</em></p>
<p><strong>Dual Stack</strong><br />
This involves running IPv4 alongside IPv6 on the same system. </p>
<p><strong>Tunneling</strong><br />
This option allows you to encapsulate IPv6 traffic within an IPv4 header. </p>
<p><strong>NAT</strong><br />
A new network translation extension, NAT-PT allows IPv6-to4 translation.</p>
<h2><span style="color: #ff6600;"> </span> </h2>
<h3><span style="color: #ff6600;"><br />
<span style="color: #000000;">Dual Stack</span></span></h3>
<p>Using a dual-stack transition allows servers, clients, and applications to be slowly moved to IPv6.  Both protocols can run <span>concurrently</span>, neither communicating <span><span>wi</span></span>th the other.  If <span><span>bo</span></span>th IPv4 and IPv6 are running on a server for example, IPv6 will be used.</p>
<h3> </h3>
<p><strong>Configuration Example</strong></p>
<p>R1# <span><span>config</span></span> t<br />
R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing<br />
R1(<span><span>config</span></span>)# ipv6 <span><span>cef</span></span><br />
!<br />
R1(<span><span>config</span></span>)# interface serial1/0/1<br />
R1(<span><span>config</span></span>-if)# <span><span>ip</span></span> address 192.168.1.1<br />
R1(<span><span>config</span></span>-if)# ipv6 address 2001:1:3:1::1/64</p>
<p><span style="color: #ff6600;"> </span></p>
<h2> </h2>
<h2><span style="color: #ff6600;"><span>IPv6 Tunneling</span></span></h2>
<p>Dual-stacking IPv4 alongside IPv6 on systems works well, but it requires most of your <span>infrastructure</span> to support IPv6.  In many cases, the network core does not support IPv6 or it has not been <span>implemented</span>.  IPv6 tunnels solve this problem by allowing IPv6 islands to exist and bridging them over IPv4 systems.</p>
<p>Because IPv6 tunnels provide virtual IPv6 connectivity through an IPv4 transport, it does not matter what specific IPv4 transport is used.  The only requirement is that there is end-to-end IPv4 connectivity between both ends.</p>
<h2><span style="color: #ff6600;"> </span> </h2>
<h3><span style="color: #ff6600;"><br />
<span style="color: #000000;">Manual Tunnels</span></span></h3>
<p>The tunnels discussed here are from one router to another.  The source router (<span><span>RouterA</span></span>) encapsulates the IPv6 traffic in IPv4 headers, then forwards it to the other end of the tunnel (Router B).  Router B then <span><span>decapsulates</span></span> the packets and forwards them on to their destination using native IPv6.</p>
<p><em> </em>Manual IPv6 tunnels are easy to configure using the <strong>tunnel mode ipv6<span><span>ip</span></span> </strong>command.  Using the  Router A/B example above, the configuration on Router A would look something like this:</p>
<p><span><span>RouterA</span></span>(<span><span>config</span></span>)# interface tunnel0<br />
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# ipv6 address 2001:2:0:7::/64<br />
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel source 10.1.1.1<br />
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel destination 10.3.3.1<br />
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel mode ipv6<span><span>ip</span></span><br />
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# exit</p>
<h2> </h2>
<h3><span style="color: #000000;">GRE Tunnels</span></h3>
<p>First, GRE tunnels are the <span>default</span> tunnel method on <span><span>Cisco</span></span> routers.  GGRE tunnels are very flexible and work over most protocols.</p>
<p>The configuration is exactly the same as the manual configuration example above, but you do not have to <span>specify</span> the tunnel mode.  Also, routing protocols can be enabled on GRE tunnel interfaces just as if they were physical interfaces.</p>
<h3> </h3>
<h3>6to4 Tunnels</h3>
<p>6to4 tunnels are <span>similar</span> to the <span>manual </span><span>tunnel, but set up the tunnel dynamical<span>ly</span>.</span></p>
<p>6to4 tunnels use 2002::/16 IPv6 addresses in front of the 32 bit IPv4 address of the edge router &#8211; creating a 48 bit prefix.  Each router on both sides of the tunnel needs a route to its peer.  They only support static and BGP routes, so be careful.</p>
<p>Configure the tunnel as if it was a manual tunnel, using the IPv4 address as the source, but don&#8217;t enter a destination.The tunnel requires an IPv6 address using the method just described.  Finally, use the command <strong>tunnel mode ipv6ip 6to4</strong>.</p>
<h1> </h1>
<h1><span style="color: #888888;"><br />
NAT</span></h1>
<p>Translation is a unique solution because it allows IPv4 devices to communicate with IPv6 devices without the dual stack requirement.  NAT-PT allows bidirectional translation services.</p>
<p>1.  To enable NAT-PT IPv4 to IPv6 translation on a router, the first step is to use the <strong><span>ipv6 </span><span><span>nat</span></span></strong> command on each interface participating in the translation.</p>
<p>2.  The second step is to define at least on NAT-PT prefix.  Only traffic matching the prefix will be translated.  To apply it <span>globally</span> on the router, enter <strong><span>ipv6 </span><span><span>nat</span></span> </strong><em>prefix/prefix_<span><span>leng</span></span>th</em> in global configuration mode.  To apply it to traffic on a specific interface, enter <strong><span>ipv6 </span><span><span>nat</span></span> </strong><em>prefix/prefix_<span><span>leng</span></span>th </em>in interface configuration <span><span>submode</span></span>.</p>
<p>3. Define the address mappings (either static or dynamic) using the options discussed below.</p>
<h2> </h2>
<h2><span style="color: #ff6600;"><br />
Static NAT-PT</span></h2>
<p>For an IPv6 to IPv4 static <span>mapping</span>:</p>
<p>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v6v4 source </strong><em><span>ipv6_address ipv4_address</span></em></p>
<p>For an IPv4 to IPv6 static <span>mapping</span>:</p>
<p>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v4v6 source </strong><em><span>ipv4_address </span><em>ipv6_address </em></em></p>
<h2> </h2>
<h2><span style="color: #ff6600;">Dynamic NAT-PT</span></h2>
<p>There are many ways to implement dynamic NAT using IPv6, but at its most basic level a pool of addresses is created and the router temporarily assigns them to hosts as they need them.</p>
<p>For an IPv4 to IPv6 static <span>mapping</span>:</p>
<p>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v4v6 pool </strong><em>name <span>beginning</span>_ipv6 ending_ipv6 </em><strong>prefix-<span><span>leng</span></span>th</strong><em> prefix-length<br />
</em>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v4v6 source list </strong>(<em>access-list_number | name) </em><strong>pool </strong><em>name </em></p>
<p>For an IPv6 to IPv4 static <span>mapping</span>:</p>
<p>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v6v4 pool </strong><em>name <span>beginning</span>_ipv4 ending_ipv4 </em><strong>prefix-<span><span>leng</span></span>th</strong><em> prefix-length<br />
</em>R1(<span><span>config</span></span>)# <strong><span>ipv6 </span><span><span>nat</span></span> v6v4 source list </strong>(<em>access-list_number | name) </em><strong>pool </strong><em>name </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-route-642-902-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP ROUTE 642-902 :: BGP</title>
		<link>http://www.ccnpguide.com/ccnp-route-642-902-bgp/</link>
		<comments>http://www.ccnpguide.com/ccnp-route-642-902-bgp/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 17:35:34 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[ROUTE]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=1132</guid>
		<description><![CDATA[BGP, or Border Gateway Protocol is an external, dynamic routing protocol.  It is most often used between ISPs and between enterprises and their service providers.  BGP is literally the routing protocol of the Internet because it connects independent network together, enabling end-to-end transport.  Scalability and stability are BGP&#8217;s focus, not speed &#8211; as a result it behaves [...]]]></description>
			<content:encoded><![CDATA[<p>BGP, or Border Gateway Protocol is an external, dynamic routing protocol.  It is most often used between ISPs and between enterprises and their service providers.  BGP is literally the routing protocol of the Internet because it connects independent network together, enabling end-to-end transport.  Scalability and stability are BGP&#8217;s focus, not speed &#8211; as a result it behaves very differently than most other routing protocols.</p>
<p>BGP is recommended whenever multihoming is a requirement (dual ISP connections to different carriers), when route path manipulation is needed, and in transit Autonomous Systems.</p>
<h1><span style="color: #888888;"> </span> </h1>
<h1><span style="color: #888888;"><br />
A Quick Overview</span></h1>
<p>Routers running BGP are called BGP speakers.</p>
<p>BGP uses autonomous system numbers to keep track of different administrative domains.  1-64511 are public, 64512-65535 are private.</p>
<p>BGP is used to connect IGPs, interior gateway protocols like OSPF and EIGRP.  Routing between Autonomous Systems is referred to as <em>interdomain routing</em>.</p>
<p>The administrative distance for eBGP routes is 20, iBGP is 200.</p>
<p>BGP neighbors are called &#8220;peers&#8221; and must be statically assigned.</p>
<p>Peers receive incremental, triggered updates as well as keepalives using TCP port 179.</p>
<p>BGP is sometimes referred to as a &#8220;path-vector&#8221; protocol because its route to a network uses AS numbers on the path<br />
to the destination.</p>
<p>BGP uses it&#8217;s path-vector attributes to help in loop prevention.  When an update leaves an AS, the AS number is prepended to update along with all the other AS numbers that have spread the update.  When a BGP router receives an update, it first scans through the list of AS numbers.  If it sees it own AS number, the update is discarded.</p>
<h2><span style="color: #ff6600;"><br />
BGP Databases</span></h2>
<p>Like most modern routing protocols, BGP has two separate databases &#8211; a neighbor database and a BGP-specific database.</p>
<p><strong>Neighbor Database<br />
</strong>Lists all of the configured BGP neighbors (to view &#8211; #show ip bgp summary).</p>
<p><strong>BGP Database<br />
</strong>Lists all networks known by BGP along with their attributes. (to view &#8211; #show ip bgp).</p>
<h2><span style="color: #ff6600;"><br />
BGP Message Types</span></h2>
<p>There are four different BGP message types.</p>
<p><strong>Open<br />
</strong>After a BGP neighbor is configured, the router sends an open message to establish peering with the neighbor.</p>
<p><strong>Update<br />
</strong>The type of message used to transfer routing information between peers.</p>
<p><strong>Keepalive<br />
</strong>BGP peers sends keepalive messages every 60 seconds by default to maintain active neighbor status.</p>
<p><strong>Notification<br />
</strong>If a problem occurs and a BGP peer connection must be dropped, a notification message is sent and the session is closed.</p>
<h2><span style="color: #ff6600;"><br />
Internal vs. External</span></h2>
<p>iBGP, or internal BGP is a peering relationship between BGP routers within the same autonomous system. eBGP, or external BGP describes a peering relationship between BGP routers in different autonomous systems.  It is an important distinction to make.</p>
<p>In the diagram below, R1 and R2 are eBGP peers.  R2 and R3 and iBGP peers.</p>
<h2 style="text-align: center;"><span style="color: #000000;"> </span><span style="color: #000000;"><a href="http://www.ccnpguide.com/wp-content/uploads/2011/02/BGP-internal-vs-external.jpg"><img class="aligncenter size-full wp-image-1146" style="border: 0px;" title="BGP internal vs external" src="http://www.ccnpguide.com/wp-content/uploads/2011/02/BGP-internal-vs-external.jpg" alt="" width="424" height="253" /></a></span></h2>
<h2 style="text-align: left;"><span style="color: #ff6600;">BGP Next-Hop Self </span></h2>
<p style="text-align: left;"><span style="color: #000000;">When you have BGP neighbors peering between autonomous systems like R1 and R2 above, BGP uses the the IP address of the router the update was received from as its &#8220;next hop&#8221;.  Routers that receive an update from an eBGP neighbor, it must pass the update to its iBGP neighbors with-out modifying the next hop attribute.</span></p>
<p style="text-align: left;"><span style="color: #000000;">The next-hop IP address is the IP address of the edge router belonging to the next-hop autonomous system. </span></p>
<p style="text-align: left;"><span style="color: #000000;">For example, let&#8217;s say R1 sends an update to R2 from its 10.1.1.1 serial interface.  R2 must use keep the next-hop IP set as 10.1.1.1 when it passes the update along to R3, its iBGP peer.  The problem is that R2 does not know about 10.1.1.1 and so it cannot use it as its next hop address.</span></p>
<p style="text-align: left;"><span style="color: #000000;">The <strong>neighbor</strong> <em>[IP address]</em> <strong>next-hop-self</strong> command solves the problem by advertising itself as the next-hop address.  In this example, it would be applied to R2 so any updates passed along to R3 would use an R2 address as the next-hop.</span></p>
<p style="text-align: left;"><span style="color: #000000;">R2(config)# router bgp 65300<br />
R2(config-router)# neighbor 10.2.2.2 next-hop-self<br />
R2(config)# exit</span></p>
<h2 style="text-align: left;"><span style="color: #ff6600;"> </span></h2>
<h2 style="text-align: left;"><span style="color: #ff6600;"><br />
BGPs Synchronization Rule</span></h2>
<p style="text-align: left;"><span style="color: #000000;">The BGP synchronization rule states that a BGP router cannot use or forward new route updates it learns from iBGP peers unless it knows about the network from another source, like an IGP or static route. </span></p>
<p style="text-align: left;"><span style="color: #000000;">The idea is to prevent using or forwarding on information that is unreliable and cannot be verified.  Remember, BGP prefers reliability and stability over using the newest, fastest route.</span></p>
<p style="text-align: left;"><span style="color: #000000;">This means that iBGP peers will not update each other unless and IGP is running under the hood.  To remove the limitation, use the <strong>no synchronization</strong> command under BGP configuration mode.  recent versions of IOS have it disabled by default, but it is important topic to understand.</span></p>
<h2> </h2>
<h2><span style="color: #ff6600;">Resetting BGP Sessions</span></h2>
<p>Internet routers running BGP have enormous routing tables.  When a filter is applied, like a route map, changes to BGP attributes occur.  Those changes could affect many of the routes already in the routing table from BGP.  Because BGP&#8217;s network list is usually very long, applying a route map or prefix list after BGP has converged can be disastrous.  The router would have to check the filter against every possible route and attribute combination. </p>
<p>To make matters worse, if it were to apply the filters and pull routes back from neighbors, those changes could then cause another reconvergence &#8211; and on and on.  In an effort to avoid that scenario (BGP loves stability), BGP will only apply attribute and network changes to routes AFTER the filter has been applied.  All existing routes stay unchanged.</p>
<p>If the network administrator decides that the filter needs to be applied to all routes, then the BGP instance must be reset &#8211; forcing the entire BGP table to pass through the filter.  There are three ways to do this:</p>
<ul>
<li>Hard reset</li>
<li>Soft reset</li>
<li>Route refresh</li>
</ul>
<p>The hard and soft reset options aren&#8217;t discussed here because they are not directly relevant to the exam.  You should know though, that both options are extremely memory-taxing on the router as all the routes must be recomputed.  Route refresh was developed to solve the high memory problems, while still forcing a reset.</p>
<p>The <strong>clear ip bgp </strong>[ * | <em>neighbor-address</em>] command performs the BGP route refresh.</p>
<p><span style="color: #888888;"> </span></p>
<h1 style="text-align: left;"> </h1>
<h1 style="text-align: left;"><span style="color: #888888;">BGP Configuration</span></h1>
<h1 style="text-align: left;"> </h1>
<h2 style="text-align: left;"><span style="color: #ff6600;">Enabling BGP</span></h2>
<p style="text-align: left;">Like other routing protocols, BGP must be enabled with the router command.  Make sure to include the AS number.</p>
<p style="text-align: left;">R1(config)# <strong>router bgp</strong> <em>autonomous-system-number</em></p>
<h2 style="text-align: left;"><span style="color: #ff6600;"> </span></h2>
<h2 style="text-align: left;"><span style="color: #ff6600;"><br />
BGP Peering</span></h2>
<p style="text-align: left;">Each neighbor must be statically assigned using the neighbor command.  If the AS number matches the local router&#8217;s, it is an iBGP connection.  If the AS number is different, it is an eBGP connection.</p>
<p>R1(config-router)# <strong>neighbor </strong><em>ip-address</em><strong> remote-as</strong> <em>autonomous-system-number</em></p>
<p>If a router has a long list of directly connected neighbors, the BGP configuration can start to get long and difficult to follow &#8211; especially as neighbor policies are applied.  Peer groups solve that.</p>
<p><strong><br />
Peer groups </strong>are groups of peer neighbors that share a common update policy.  Updating an entire group of neighbor statements can then be done with one command.  Much easier for large BGP networks.  Think of a peer group as a logical grouping of routers that are grouped under a single name to make changes faster and configurations shorter.  Like OUs in Active Directory.</p>
<p>Peer groups not only reduce the number of lines of configuration, but they reduce the ease the overhead of the router. A BGP update process normally runs for each neighbor.  If a peer group is configured, a single update process runs for all routers in the group.  Notice that this means that all of the router inside a peer group must be either all iBGP or eBGP neighbors.</p>
<h3><strong> </strong></h3>
<h3><strong>Basic neighbor configuration example:</strong></h3>
<p>R1(config)# router bgp 65300<br />
R1(config-router)# neighbor 10.1.1.1 remote-as 65300<br />
R1(config-router)# neighbor 10.1.2.1 remote-as 65300<br />
R1(config-router)# neighbor 10.1.3.1 remote-as 65300</p>
<h3><strong> </strong></h3>
<h3>Peer group configuration example:</h3>
<p>R1(config)# router bgp 65300<br />
R1(config-router)# <strong>neighbor <em>MINE</em> peer-group<br />
</strong>R1(config-router)# <strong><strong>neighbor <em>MINE</em> remote-as 65300</strong><br />
</strong>R1(config-router)# neighbor 10.1.1.1 peer-group MINE<br />
R1(config-router)# neighbor 10.1.2.1 peer-group MINE<br />
R1(config-router)# neighbor 10.1.3.1 peer-group MINE</p>
<h2><span style="color: #000000;"> </span></h2>
<h2><span style="color: #000000;"><br />
<span style="color: #ff6600;">BGP Source Address</span></span></h2>
<p><span style="color: #000000;">R1 in the diagram below has two different options when it comes to peering to R2.  It can peer to the physical interface IP address, 10.1.1.2 or it can peer to R2&#8242;s loopback interface, 192.168.2.2.</span></p>
<p style="text-align: center;"><span style="color: #000000;"><a rel="attachment wp-att-1166" href="http://www.ccnpguide.com/ccnp-route-642-902-bgp/bgp-source-ip-2/"><img class="aligncenter size-large wp-image-1166" style="border: 0px;" title="BGP source IP" src="http://www.ccnpguide.com/wp-content/uploads/2011/02/BGP-source-IP1-555x450.jpg" alt="" width="444" height="360" /></a></span></p>
<p style="text-align: center;"><em><span style="color: #000000;"><a rel="attachment wp-att-1166" href="http://www.ccnpguide.com/ccnp-route-642-902-bgp/bgp-source-ip-2/"></a></span></em></p>
<p><span style="color: #000000;">If a peer relationship is made using the physical interface as the source address, problems can occur if the interface goes down.  In this scenario, even if R2&#8242;s 10.1.1.2 interface drops, it still has connectivity to R2&#8242;s networks via R3 and R2&#8242;s other physical interface.  Even though an IGP would still show R2&#8242;s network as accessible, the BGP peer relationship would drop because R1 cannot reach its peering address with R2.</span></p>
<p><span style="color: #000000;">Most implementations recommend using a loopback address as the BGP source address for this reason.  Remember that the loopback address must be added to the IGP running for this to work.</span><em><span style="color: #000000;"> </span></em><span style="color: #000000;">This way, if R2&#8242;s 10.1.1.2 interface fails, R2 will still be reachable.</span></p>
<p><span style="color: #000000;">The<strong> update-source </strong>command accomplishes this.  Here&#8217;s an example:</span></p>
<p><span style="color: #000000;">R1(config)# router bgp 65400<br />
R1(config-router)# neighbor 192.168.2.2 remote-as 65400<br />
R1(config-router)# neighbor 192.168.2.2 <strong>update-source loopback0</strong></span></p>
<p>R2(config)# router bgp 65400<br />
R2(config-router)# neighbor 192.168.1.1 remote-as 65400<br />
R2(config-router)# neighbor 192.168.1.1 <strong>update-source loopback0</strong></p>
<h2><span style="color: #ff6600;"><strong> </strong></span></h2>
<h2><span style="color: #ff6600;"><strong><br />
Defining Networks</strong></span></h2>
<p>Network statements in BGP are used differently than in other routing protocols like EIGRP or OSPF.  EIGRP and OSPF use the network statements to define which interfaces you want to participate in the routing protocol process.</p>
<p>BGP uses network statements to define which networks the local router should advertise.  Each network doesn&#8217;t have to be originating from the local router, but the network must exist in the routing table.  The optional mask keyword is often recommended as BGP supports subnetting and supernetting.</p>
<p><strong>Example:</strong></p>
<p>R1(config)# router bgp 65300<br />
R1(config-router)# neighbor 10.1.1.1 remote-as 65300<br />
R1(config-router)# network 10.1.1.0 255.255.255.0<br />
R1(config-router)# neighbor 10.1.2.1 remote-as 65300<br />
R1(config-router)# network 10.1.2.0 255.255.255.0</p>
<p>Understand that by default a BGP router will not advertise a network learned from one iBGP peer to another.  This is why iBGP is not a good replacement for an IGP like EIGRP and OSPF.</p>
<h1><span style="color: #808080;"> </span></h1>
<h1><span style="color: #808080;"><br />
BGP Path Selection</span></h1>
<p><span style="color: #000000;">Unlike most other routing protocols, BGP is not hell-bent on using the fastest path to a given destination.  Instead, BGP assigns a long list of attributes to each path.  Each of these attributes can be administratively tuned for extremely granular control of route selections.</span></p>
<p><span style="color: #000000;">BGP also does not load balance across links by default.  To select the best route, BGP uses the criteria in the following order:</span></p>
<h2><span style="color: #000000;"> </span></h2>
<p><span style="color: #000000;">1.  Highest weight</span></p>
<p><span style="color: #000000;">2.  Highest local preference</span></p>
<p><span style="color: #000000;">3.  Choose routes originated locally</span></p>
<p><span style="color: #000000;">4.  Path with the shortest AS path</span></p>
<p><span style="color: #000000;">5.  Lowest origin code ( i &lt; e &lt; ? )</span></p>
<p><span style="color: #000000;">6.  Lowest MED</span></p>
<p><span style="color: #000000;">7.  eBGP route over iBGP route</span></p>
<p><span style="color: #000000;">8.  Route with nearest IGP neighbor (lowest IGP metric)</span></p>
<p><span style="color: #000000;">9.  Oldest route</span></p>
<p><span style="color: #000000;">10.  Neighbor with the lowest router ID</span></p>
<p><span style="color: #000000;">11.  Neighbor with the lowest IP address</span></p>
<p><span style="color: #000000;"> </span></p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;">Controlling Path Selection</span></h2>
<p><span style="color: #000000;">The most common method of controlling the attributes listed above is to use route maps.  This allows specific attributes to be changed on specific routes.</span></p>
<p><span style="color: #000000;">Before we get into route maps, let&#8217;s first discuss the three prominent attributes, weight, local preference, and MED.</span></p>
<h3><span style="color: #000000;"> </span></h3>
<h3><span style="color: #000000;">Weight</span></h3>
<p><span style="color: #000000;">On Cisco routers, weight is the most influential BGP attribute.  The weight attribute is proprietary to Cisco and is normally used to select an exit interface when multiple paths lead to the same destination.  Weight is local and is not sent to other routers.  It can be a value between 0-65,535.  0 is the default.</span></p>
<p><span style="color: #000000;">In the example below, if you want R2 to prefer to use R1 when sending traffic to 192.168.20.0 then the weight attribute could raised on R2 for R1.</span></p>
<p style="text-align: center;"><span style="color: #000000;"><a rel="attachment wp-att-1187" href="http://www.ccnpguide.com/ccnp-route-642-902-bgp/bgp-weight/"><img class="aligncenter size-full wp-image-1187" style="border: 0px;" title="BGP weight" src="http://www.ccnpguide.com/wp-content/uploads/2011/02/BGP-weight.jpg" alt="" width="490" height="262" /></a></span></p>
<p><span style="color: #000000;">R2(config)# router bgp 65100<br />
R2(config-router)# neighbor 10.1.1.1 remote-as 65100<br />
R2(config-router)# neighbor 10.2.2.1 remote-as 65100<br />
R2(config-router)# neighbor 10.1.1.1 weight 100</span></p>
<h3><span style="color: #000000;"> </span></h3>
<h3><span style="color: #000000;"> </span></h3>
<h3><span style="color: #000000;"><br />
Local Preference</span></h3>
<p><span style="color: #000000;">Local preference is not proprietary to Cisco and can be used in a similar fashion to weight.  It can be set for the entire router or for a specific prefix.</span></p>
<p><span style="color: #000000;">Local preferences can range from 0-4,294,967,295, with 100 being the default value.  Unlike weight, local preference is propagated to iBGP neighbors.</span></p>
<p><span style="color: #000000;">Using the diagram above, if an administrator wanted R2 to use R1 when sending traffic to 192.168.20.0, the configuration would look something like this:</span></p>
<p><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;">R1(config)# router bgp 65100<br />
R1(config-router)# <strong>bgp default local-preference </strong>500</span></p>
<p><span style="color: #000000;"><br />
</span><span style="color: #000000;">After the local preference is raised on R1, it will be shared with R2 and R2 will begin using it as its best path to the distant network (assuming the weight is the same of course). </span></p>
<p><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;">If you want to set the local preference on specif prefixes, route maps are usually the best option.  Below is an example of the local preference being set using a route map:</span></p>
<p>R7(config)# router bgp 200<br />
R7(config-router)# neighbor 10.10.10.1 remote-as 100<br />
R7(config-router)# neighbor 10.10.10.1 route-map lp_example in<br />
R2(config-router)# exit</p>
<p>R7(config)# access-list 7 permit 10.30.30.0 0.0.0.255<br />
R7(config)# route-map lp_example permit 10<br />
R7(config-rmap)# match ip address 7<br />
R7(config-rmap)# set local-preference 300<br />
R7(config-rmap)# exit</p>
<p>R7(config)# route-map lp_example permit 20<br />
R7(config-rmap)# set local-preference<span style="color: #000000;"> 100</span></p>
<p><span style="color: #000000;"> </span></p>
<h3><span style="color: #000000;">MED</span></h3>
<p><span style="color: #000000;">The MED attribute, or multi-exit discriminator is used to influence which path external neighbors use to enter an AS.  MED is also much farther down on the attribute list, so attributes like weight, local preference, AS path length, and origin.  The default MED value is 0 and a lower value is preferred.</span></p>
<p><span style="color: #000000;">A common scenario for MED is when a company has two connections to the same ISP for internet.  Weight or local preference could be used to send outgoing traffic on the higher bandwidth link, but local preference is not shared with routers outside an AS.  MED could be set on one router so ISP routers prefer that path in.</span></p>
<p><span style="color: #000000;"><br />
To set the MED on all routes:</span></p>
<p><span style="color: #000000;">R1(config-router)# <strong>default-metric </strong><em>value</em></span></p>
<p><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;">Here&#8217;s an example using a route map to influence incoming paths to 10.30.30.0/24 using MED:<br />
</span></p>
<p><span style="color: #000000;">R7(config)# router bgp 200<br />
R7(config-router)# neighbor 10.10.10.1 remote-as 200<br />
R7(config-router)# neighbor 10.10.10.1 route-map med_example out<br />
R2(config-router)# exit</span></p>
<p>R7(config)# access-list 7 permit 10.30.30.0 0.0.0.255<br />
R7(config)# route-map med_example permit 10<br />
R7(config-rmap)# match ip address 7<br />
R7(config-rmap)# set metric 50<br />
R7(config-rmap)# exit</p>
<p>R7(config)# route-map med_example permit 20<br />
R7(config-rmap)# set metric 150</p>
<p><span style="color: #000000;"> </span></p>
<h1><span style="color: #888888;">Verification</span></h1>
<p>It&#8217;s important that you understand and are able to interpret to results of the <strong>show ip bgp </strong>command output.  It displays the contents of the local BGP topology database- including the attributes assigned to each network.  It is perhaps the most important BGP verification and troubleshooting tool!</p>
<p>Because BGP uses many attributes and sources routes in a number of ways, the output of the show ip bgp command can be a nit overwhelming if you don&#8217;t know what you are looking for. </p>
<p>R1# <strong>show ip bgp</strong><br />
BGP table version is 21, local router ID is 10.0.22.24<br />
Status codes: s suppressed, d damped, h history, * valid, &gt; best, i &#8211; internal<br />
Origin codes: i &#8211; IGP, e &#8211; EGP, ? &#8211; incomplete<br />
   Network          Next Hop            Metric LocPrf Weight Path<br />
*&gt; 10.1.0.0          0.0.0.0                  0         32768 ?<br />
*  10.2.0.0          10.0.22.25              10             0 25 ?<br />
*&gt;                   0.0.0.0                  0         32768 ?<br />
*  10.0.0.0         10.0.22.25               10             0 25 ?<br />
*&gt;                   0.0.0.0                  0         32768 ?<br />
*&gt; 192.168.0.0/16   10.0.22.25               10             0 25 ?</p>
<h2> </h2>
<h2><span style="color: #ff6600;"><br />
Attributes</span></h2>
<p>Here&#8217;s a breakdown of some important fields you should consider remembering:</p>
<p><strong>* </strong>- An asterisk in the first column means that the route has a valid next hop.</p>
<p><strong>s (suppressed)</strong> &#8211; BGP is not advertising the network, usually because it is part of a summarized route.</p>
<p><strong>&gt; </strong>- Indicates the best route for a particular destination.  These will end up in the routing table.</p>
<p><strong>i (internal) </strong>- If the third column has an i in it, it means the network was learned from an iBGP neighbor.  If it is blank, it means the network was learned from an external source.</p>
<p><strong>0.0.0.0 </strong>- The fifth column shows the next hop address for each route.  A 0.0.0.0 indicates the local router originated the route (examples include a network command entered locally or a network an IGP redistributed into BGP on the router)</p>
<p><strong>Metric (MED value)</strong> &#8211; The column titled Metric represents the configured MED values.  Recall that 0 is the default and if another value exists, lower is preferred.</p>
<p><strong>i/?</strong>- The last column displays information on how BGP originally learned the route.  In the example above, ? is used for each route meaning they were all redistributed routes into BGP from an IGP.  The other option is a question mark, which indicates that network commands were used to configure the route.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-route-642-902-bgp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNP ROUTE 642-902 :: Route Redistribution &amp; Filtering</title>
		<link>http://www.ccnpguide.com/ccnp-route-642-902-route-redistribution-filtering/</link>
		<comments>http://www.ccnpguide.com/ccnp-route-642-902-route-redistribution-filtering/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 19:47:58 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[ROUTE]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=999</guid>
		<description><![CDATA[  Redistribution is necessary when routing protocols connect and must pass routes between the two.  This can happen in a number of situations, but some examples include: Organizations transitioning routing protocols Businesses merge, and so must their networks OSPF or EIGRP is used at the access and distribution layer of an enterprise and BGP is used [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>Redistribution is necessary when routing protocols connect and must pass routes between the two.  This can happen in a number of situations, but some examples include:</p>
<ul>
<li>Organizations transitioning routing protocols</li>
<li>Businesses merge, and so must their networks</li>
<li>OSPF or EIGRP is used at the access and distribution layer of an enterprise and BGP is used in the core</li>
</ul>
<p> The challenge to redistributing routing protocols is that each routing protocol uses it own metric and they are not compatible with each other.  Furthermore, there is no magic algorithm than can automatically translate metrics between, say RP and BGP.</p>
<p>To deal with this dilemma, a new seed metric is used as a staring point when redistribution is configured.</p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
Configuring Redistribution</span></h2>
<p>To configure redistribution between routing protocols, the <strong>redistribute</strong> <em>protocol</em> command is used under the routing protocol that recieves the routes.</p>
<p>R1(config-router)# <strong>redistribute</strong> <em>protocol </em>[<em>AS</em>] [<strong>metric</strong> <em>metric-vlaue</em>]</p>
<p>The process-id field above is the AS number for RIP, EIGRP, BGP.  For OSPF, use the process ID.</p>
<p>Also, both RIP and EIGRP require the use the metric keyword! </p>
<p><strong> </strong></p>
<p><strong>EIGRP Redistribution Example:</strong></p>
<p>R1(config)# router eigrp 10<br />
R1(config-router)# redistribute ospf 20 metric 1000 100 255 1 1500</p>
<p>The example above shows OSPF being redistruted into EIGRP with a metric of 1000 100 255 1 1500.  That is a lot of different numbers for an EIGRP cost!  That&#8217;s because EIGRP redistribution metric requires you to input all of the metric calculation manually:</p>
<ul>
<li>bandwidth</li>
<li>delay</li>
<li>reliability</li>
<li>loading</li>
<li>mtu</li>
</ul>
<p><strong> </strong>You can perform a<strong> show interface</strong> on the outgoing router interface prior to see what values the router is currently using.</p>
<p><strong><br />
OSPF Redistribution Example:</strong></p>
<p>R1(config)# router ospf 100<br />
R1(config-router)# redistribute eigrp 10 subnets</p>
<p>The example above redistributes EIGRP routes into OSPF.  The subnets keyword at the end of the redistribute command is extremely important!  Without this keyword, OSPF will redistribute networks at their classful boundaries &#8211; not something most administrators want. </p>
<p>If you don&#8217;t use it the IOS will even give you a warning.  Make sure to include it.<span style="color: #ff6600;"> </span></p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
Distribute Lists</span></h2>
<p>Distribute lists are access lists applied to the routing process, determining which networks are allowed into the routing table or included in updates.  They essentially act as a filter.</p>
<p><strong>Think:</strong>  <strong>access list applied to routing = distribute lists</strong></p>
<p>When creating a distribute list, use the following steps:</p>
<p><strong><br />
Step 1.<br />
</strong>Identify the network addresses to be filtered and create an ACL &#8211; permitting the networks you want to be advertised.</p>
<p><strong>Step 2. <br />
</strong>Determine if you want to filter updates coming into the router or leaving the router.</p>
<p><strong>Step 3.<br />
</strong>Assign the ACL using the distribute-list command.</p>
<p><strong><br />
Incoming Distribute Lists:</strong></p>
<p>R1(config-router)# <strong>distribute-list</strong> {<em>acl-number | name</em>} <strong>in</strong> [<em>interface</em>-<em>type number</em>] </p>
<p><strong><br />
Outgoing Distrubute Lists:</strong></p>
<p>R1(config-router)# <strong>distribute-list</strong> {<em>acl-number | name</em>} <strong>out</strong> [interface-<em>name | routing-process | AS-number</em>] </p>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"> </span></h2>
<h2><span style="color: #ff6600;"><br />
Route Maps</span></h2>
<p>When a routing update arrives at an interface, a series of steps occur to process it correctly.  The diagram below outlines those steps and serves as a foundation for the rest of this route redistribution and filtering section.</p>
<p><span id="more-999"></span></p>
<p style="text-align: center;"><a href="http://www.ccnpguide.com/wp-content/uploads/2011/02/Route-Filter-Diagram.jpg"><img class="aligncenter size-full wp-image-1000" style="border: 0px;" title="Route Filter Diagram" src="http://www.ccnpguide.com/wp-content/uploads/2011/02/Route-Filter-Diagram.jpg" alt="" width="238" height="427" /></a></p>
<p> </p>
<h1><span style="color: #888888;"><br />
</span></h1>
<p>Route maps  are extremely flexible and are used in a number routing scenarios including:</p>
<ul>
<li><strong>Controlling redistribution</strong> based on permit/deny statements</li>
<li><strong>Defining policies in policy-based routing (PBR)</strong></li>
<li><strong>Add more mature decision making to NAT decisions</strong> than simply using static translations</li>
<li><strong>When implementing BGP PBR</strong></li>
</ul>
<p>Route maps allow an administrator to define specific traffic and then take automated actions against it to control how routing information is processed and forwarded.  Route maps uses logic similar to if/then statements in simple scripting.</p>
<p>In route map terms, it <em>matches</em> traffic against conditions and <em>sets </em>options for that traffic. </p>
<p><em>NOTE:  If you have downloaded the Switch Exam Guide, you will notice the similarity between the syntax structure of route maps and VACLs.</em></p>
<p>Each statement in a route map has a sequence number, which are read from lowest to highest.  The router stops reading statements when it reaches its first matching statement. </p>
<p>Understand that there is an implicit deny included in all route maps.  If traffic does not match any statement, it is denied.</p>
<h2> <br />
<span style="color: #ff6600;">Basic Route Map Configuration</span></h2>
<p><span style="color: #ff6600;"> </span>R1(config)# <strong>route-map</strong> {<strong>tag</strong>}<strong> permit | deny</strong> [<em>sequence_number</em>]</p>
<p>That is how all route maps begin.  <em>Permit</em> means that any traffic matching the <em>match</em> statement that follows is processed by the route map.  Deny means that any traffic matching the <em>match</em> statement that follows is NOT processed by the route map.  Know the difference.</p>
<h3> </h3>
<h2><span style="color: #ff6600;">Match &amp; Set Conditions</span></h2>
<p>If no match condition exists, the statement matches anything (similar to a &#8216;permit any&#8217;).</p>
<p>If no set condition exists, the statement is simply permitted or denied with no additional changes made.</p>
<p>If multiple match conditions are used on the same line, it is interpreted as a logical OR. In other words, if one condition is true, a match is made.  For example, the router would interpret &#8216;match a b c&#8217; as &#8216;a or b or c&#8217;.</p>
<p>If multiple match conditions are used on consecutive lines, it is interpreted as a logical AND.  In other words, all conditions must be true before a match is made. For example, the router would interpret the following example as <em>match a and b and c</em>:</p>
<p>route-map EXAMPLE permit 5<br />
match a<br />
match b<br />
match c</p>
<h3> </h3>
<h3> </h3>
<h3><span style="color: #ff6600;">Important route redistribution match conditions</span></h3>
<p><strong>ip address<br />
</strong>Refers to an access list that permits or denies networks</p>
<p><strong>ip address prefix-list<br />
</strong>Refers to a prefix list that permits or denies prefixes</p>
<p><strong>ip next-hop<br />
</strong>Refers to an access list that permits or denies ip next hops IP addresses</p>
<p><strong>ip route-source<br />
</strong>Refers to an access list that permits or denies advertising router IP addresses</p>
<p><strong>length<br />
</strong>Permits or denies packets based on length (in bytes)</p>
<p><strong>metric<br />
</strong>Permits or denies routes with specific metrics from being redistributed</p>
<p><strong>route-type<br />
</strong>Permits or denies redistribution based on the route type listed</p>
<p><strong>tag<br />
</strong>Routes can be labeled with a number that identifies it</p>
<h3> </h3>
<h3> </h3>
<h3><span style="color: #ff6600;">Important route redistribution set conditions</span></h3>
<p><strong>metric<br />
</strong>Sets the metric for redistributed routes</p>
<p><strong>tag<br />
</strong>Tags a route with a numbered identifier</p>
<h2><span style="color: #ff6600;">Route Map Verification</span></h2>
<p>Use the <strong>show route-map </strong>command to verify route maps and PBR entries are filtering as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-route-642-902-route-redistribution-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.ccnpguide.com @ 2012-02-06 09:19:56 -->
