<?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. Together, the posts represent the largest free resource for the CCNP exam certification available.</description>
	<lastBuildDate>Fri, 11 May 2012 18:42:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>STP and Link Load Sharing</title>
		<link>http://www.ccnpguide.com/stp-and-link-load-sharing/</link>
		<comments>http://www.ccnpguide.com/stp-and-link-load-sharing/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 11:22:24 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=3055</guid>
		<description><![CDATA[I want to share an example of Spanning Tree link load sharing across parallel paths between the same switches. Most organizations do not tune their STP topology to this level, but the example helps explain a major use of the port priority option and how it works. Let&#8217;s assume we have two switches, a multilayer [...]]]></description>
			<content:encoded><![CDATA[<p></br><img class=" wp-image-3098 alignright" title="stp load sharing" src="http://www.ccnpguide.com/wp-content/uploads/2012/04/stp-load-sharing.png" alt="" width="246" height="515" />I want to share an example of Spanning Tree link load sharing across parallel paths between the same switches. Most organizations do not tune their STP topology to this level, but the example helps explain a major use of the port priority option and how it works.</p>
<p>Let&#8217;s assume we have two switches, a multilayer distribution switch and a simple access layer switch. The switches are connected using two parellel links for redundancy.</p>
<p>Spanning tree will automatically put Gig0/11 on AccessSwitch in the blocking state (assuming the root bridge is above the distribution switch) because its sending port (Gig0/1) has the highest sending port number.</p>
<p>A quick review on STP path selection from the <a href="http://www.ccnpguide.com/ccnp-switch-642-813-spanning-tree-basics/" target="_blank">Spanning Tree page</a>:</p>
<ul>
<li><strong>Lowest root bridge ID</strong> &#8211; We are assuming a switch in the core claims this title</li>
<li><strong>Lowest path cost to the root</strong> &#8211; Again, the root is assumed to be above the distribution switch and that won&#8217;t influence which port is blocked here since both paths will have an identical cost</li>
<li><strong>Lowest sender bridge ID</strong> &#8211; Because both links on the access switch connect to the same switch, the sender bridge ID will be the same on both links</li>
<li><strong>Lowest sender port ID</strong>- This is how Gig0/11 goes into a blocking state &#8211; Gig0/0 is lower than Gig0/1 (again, lower sender port ID), which causes Gig0/10 to win, and transitions into forwarding</li>
</ul>
<p>Recall that the port ID is actually made up of two parts: the port priority and the port index (or port number). Because we haven&#8217;t manually changed any port priorities yet, both distribution switch port priorities will be the default of 32 and the port index will be used as the tie breaker.</p>
<p>By default, all traffic for all VLANs will traverse the left path from the access switch to the distribution switch. Now let&#8217;s say we want to do some simple VLAN load balancing across the two links. Why not use both if we have the bandwidth?<br />
&nbsp;</p>
<h3>STP Link Load Sharing</h3>
<p>One way to accomplish this is with STP port priority. We can set one port priority value for the first half of VLANs and a different priority value for the other half.</p>
<pre>DistSwitch(config)# interface gig 0/0
DistSwitch(config-if)# switchport mode trunk
DistSwitch(config-if)# spanning-tree vlan 1-10 port-priority 15
!
DistSwitch(config)# interface gig 0/1
DistSwitch(config-if)# switchport mode trunk
DistSwitch(config-if)# spanning-tree vlan 11-20 port-priority 15</pre>
<p>Now VLAN 1-10 traffic will be forwarding on the left link (via gig0/10) and only use the right path as a backup. The reverse is also true. VLAN 11-20 traffic will be forwarding on the right link (via gig0/11) and only use the left path as a backup.</p>
<p>Both paths are forwarding in a deterministic manner and you have effectively doubled the bandwidth available between the two switches. The only major limitation of this design is that it only load balances on a per-VLAN basis. If the first half of your VLANs are passing much more traffic than the second half, the load balancing will not be equally distributed. A better approach would be to use an <a href="http://www.ccnpguide.com/ccnp-switch-642-813-etherchannel/" target="_blank">EtherChannel</a> between the two switches, but it wouldn&#8217;t help demonstrate STP port priority.</p>
<p>I hope you found the example helpful. If you have further questions, feel free to leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/stp-and-link-load-sharing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Topology-Based Switching</title>
		<link>http://www.ccnpguide.com/topology-based-switching/</link>
		<comments>http://www.ccnpguide.com/topology-based-switching/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 17:24:07 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=2714</guid>
		<description><![CDATA[&#160; Most of Cisco&#8217;s switches support the ability to forward frames in hardware based in layer 3 and 4 information. This dramatically improves forwarding performance between network segments and is known as mult-layer switching, or MLS. Catalyst switches have supported different MLS types over the years, including process switching, route caching, and the most recent [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Most of Cisco&#8217;s switches support the ability to forward frames in hardware based in layer 3 and 4 information. This dramatically improves forwarding performance between network segments and is known as mult-layer switching, or MLS.</p>
<p>Catalyst switches have supported different MLS types over the years, including process switching, route caching, and the most recent &#8211; CEF. You can find more details about each under the Switch Forwarding Arcetectures section on the <a href="http://www.ccnpguide.com/ccnp-switch-642-813-switching/">Inter-VLAN Routing</a> page.</p>
<p>Cisco refers to CEF as a topology-based solution because it uses the switch&#8217;s current routing table to prepopulate the entire known networking topology into a special table. That table, known as the FIB or Forwarding Information Base, is a mirror copy of the routing table and is contained in memory for very fast look up.</p>
<p>The longest match in the FIB is used for the layer 3 destination and as the routing table changes, the FIB is updated automatically.</p>
<p>So what&#8217;s the takeaway?</p>
<p><strong>Remember that topology-based switching refers to CEF and that it uses the FIB for next-hop look ups.</strong></p>
<p>&nbsp;</p>
<p>If you have any questions related to CEF or inter-VLAN switching, feel free to leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/topology-based-switching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VoIP &amp; QoS</title>
		<link>http://www.ccnpguide.com/voip-qos/</link>
		<comments>http://www.ccnpguide.com/voip-qos/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 01:44:58 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SWITCH]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=2609</guid>
		<description><![CDATA[Voice over IP (VoIP) is becoming more and more common in the enterprise world by replacing traditional TDM phone systems with feature-rich IP-based communication servers.   Some benefits of converged voice, video, and data into a single network include:         Expense reducer If only a single cable drop is required per user, cabling and network provisioning costs go [...]]]></description>
			<content:encoded><![CDATA[<p></br><br />
Voice over IP (VoIP) is becoming more and more common in the enterprise world by replacing traditional TDM phone systems with feature-rich IP-based communication servers.  </p>
<p>Some benefits of converged voice, video, and data into a single network include:        </p>
<p><strong>Expense reducer</strong><br />
If only a single cable drop is required per user, cabling and network provisioning costs go down.  PSTN costs also go down as more calls can use the existing data network and not the public phone service.</p>
<p><strong>Efficiencies in bandwidth</strong><br />
For example, if a voice call is not in progress data can be transmitted on the same link.  That&#8217;s not the case with traditional phone lines.</p>
<p><strong>Innovative features</strong><br />
VoIP allows new services to be added including unifying several modes of communication (ex. voicemail, email, IM).  Service providers can also sell new services and provide more flexible pricing arrangements.<br />
  <br />
        </p>
<h1><span style="color: #888888;">AVVID  </span>  </h1>
<p>Architecture for voice, video and integrated data, more commonly referred to by Cisco as AVVID, was an all-encompassing blueprint for converged enterprise networks pitched by Cisco.  While it was originally intended to include a very large cross-section of product families, it has been primarily focused on Cisco&#8217;s VoIP products.  For the exam you should simply be aware of the fundamental deployment concerns which AVVID addresses:          </p>
<ul>
<li>High availability</li>
<li>QoS</li>
<li>Security</li>
<li>Mobility</li>
<li>Scalability</li>
</ul>
<p>  </p>
<h1><span style="color: #888888;">VoIP Components</span></h1>
<ul>
<li><strong>IP Phones</strong> &#8211; Provides voice and applications to users</li>
<li><strong>Cisco Unified Communications Manager</strong> (UCM) &#8211; Essentially an IP PBX</li>
<li><strong>Voice Gateways</strong> &#8211; Translate between IP and PSTN</li>
<li><strong>Gatekeepers</strong>- Optional, usually in larger environments.  Performs call admission control, allocates bandwidth for calls, and resolves phone numbers to IP addresses</li>
<li><strong>Video Conferencing Units</strong> &#8211; Allow voice/video calls</li>
<li><strong>Multipoint Control Units </strong>- Allow multi-point audio and videoconferencing</li>
<li><strong>Application Servers</strong> &#8211; Provide application services like Unity Voicemail</li>
</ul>
<p> <em>Note:  Voice traffic comes in two types, voice bearer and call control signaling.  The voice bearer traffic uses RTP (Real Time Protocol) over UDP, while the call control portion can use several different protocols to communicate between the phone and UCM and UCM to voice gateway.</em>        </p>
<p><strong> </strong>         </p>
<h1><span style="color: #888888;">VoIP Network Requirements</span></h1>
<p>When planning for a VoIP deployment, keep in mind the following factors:        </p>
<p><strong>Features </strong>like call security, QoS, delay, etc.        </p>
<p><strong>Cabling</strong>, use at least CAT-5.        </p>
<p><strong>Power</strong>, either PoE from the switch, power inline module, or power brick connected to the phone itself.        </p>
<p><strong>Bandwidth </strong>planning is crucial.  Commit no more than 75% capacity to allow for oversubscription and other types of traffic like video, and data.        </p>
<p><strong>Network Management </strong>is important for proactively managing bandwidth and availability.        </p>
<p><strong>High availability</strong> means redundant links, an auto-restart UPS, monitoring, and a response contract.        </p>
<h2><span style="color: #ff6600;"><br />
Call Signaling</span></h2>
<p>There are generally two separate traffic streams when placing a VoIP call.  The first is the call control signaling, used to setup, tear-down, maintain, and redirect calls.  Some examples of call signaling protocols include H.323, SIP, and MGCP.  Make sure you do not confuse these protocols with the voice compression protocols like G.729 and G.711.         </p>
<p>The second is the actual UDP voice traffic itself, which used RTP (Real-Time Transport Protocol) to encapsulate the traffic.         </p>
<h2><span style="color: #ff6600;"><br />
Bandwidth Considerations</span></h2>
<p>Each call uses somewhere around 21-106 kbs depending on the codec used, plus around 150 bps for control traffic.  Each voice packet is in the neighborhood of 60-120 bytes.        </p>
<p>A good formula for calculating call bandwidth is: (Packet payload + all headers) * Packets per second        </p>
<ul>
<li>Max one-way delay of 150 ms</li>
<li>Under 1% packet loss</li>
<li>Max average jitter (variable queue delays) of 30 ms</li>
<li>The sum of every application&#8217;s bandwidth (including voice) should not exceed 75% of the total available bandwidth for each link.</li>
</ul>
<h2><span style="color: #ff6600;"><br />
Voice VLANs</span></h2>
<p>Voice VLANs(sometimes referred to as auxiliary VLANS) are a way for Cisco switches to dynamically tag and assign voice traffic including placing it in it&#8217;s own separate VLAN/subnet.  That allows for QoS and security to be applied as well as simplified troubleshooting.  Voice VLANs are disabled by default.         </p>
<p>Cisco IP phones have a small internal switch that places an 802.1q tag on the voice traffic and marks the Class of Service (CoS) bits in the tag.  Data traffic (from the attached PC) is sent over the native VLAN, while all voice traffic is sent over the configured VLAN on the access port.  Cisco calls this setup a multi-VLAN access port.  This whole process of enabling voice VLANs also enables the switch to forward frames with specific <strong>802.1P</strong> markings.  802.1P designates how QoS is applied at the MAC layer.           </p>
<div><span style="color: #808080;"> </span></div>
<div><span style="color: #808080;"> </span></div>
<h1>
<div><span style="color: #808080;">Power over Ethernet</span></div>
</h1>
<h2><span style="color: #ff6600;">PoE Switches</span></h2>
<p>Two different power standards exist for PoE, Cisco Inline PoE and IEEE 802.3af.  Both have a mechanism to sense that a powered device is connected to a port  &#8211; 802.3af relies on the devices to let the switch know how much power it needs, while Cisco&#8217;s devices can additionally use CDP to send that information.  Most phones don&#8217;t require more that 15 Watts of power, but some PoE equipment still requires more.  The new 802.3at standard will specify up to 30 Watts of power.  Some current Cisco switches can supply up to 20W.     </p>
<p>Switch assumes all PoE devices require 15.4 W of power until the device tells the switch otherwise.  If the switch reboots, all PoE devices will receive 15.4 Watts at the same time, which is why you should budget 15.4 W for every PoE device when doing power planning.</p>
<p><em>Note:  Non-CDP devices always get 15.4 W allocated to them.</em>       </p>
<h2><span style="color: #ff6600;"><br />
PoE Configuration</span></h2>
<p>Cisco switches automatically detect and provide power, but if you need to disable it or re-enable it &#8211; use the following commands:   </p>
<pre>Switch(config-if)# <strong>power inline {never | auto}</strong></pre>
<p>To view power information for all ports:</p>
<pre>Switch# <strong>show power inline </strong><em>[interface]</em></pre>
<p>     <br />
<strong> </strong>        <strong> </strong>         </p>
<h1><span style="color: #808080;">Video</span></h1>
<p>Video traffic, from Cisco&#8217;s perspective, falls into one of three categories:</p>
<p><strong>Many to many</strong><br />
Examples include Telepresence, WebEx, peer-to-peer video apps<br />
Data flows client-to-client or MCU-to-client<br />
Bandwidth requirements for high-def video can be up to 12 Mbs per location (with compression)</p>
<p><strong>Many to few </strong><br />
Examples include IP surveillance cameras.<br />
Typically require up to 4 Mbs of bandwidth</p>
<p><strong>Few to Many</strong><br />
Example is Internet streaming from a single source<br />
Quality not as critical<br />
Traffic flows storage to client or server  to client</p>
<p>Quality of Service is a very important part of operating a VoIP platform on a campus network.  The ability to prioritize different traffic on the same link makes voice over IP a reality on a shared Ethernet fabric.  There are three main drivers for applying QoS: jitter, packet loss, and delay.     </p>
<h2><span style="color: #ff6600;"><br />
QoS Strategies</span></h2>
<h3><span style="color: #808080;">Implimented on inbound interfaces:</span></h3>
<p><strong>Classification</strong><br />
Distinguishes one type of traffic from another by ACLs, ingress interfaces, and NBAR.  After it is classified, other QoS functions can be applied.     </p>
<p><strong>Marking</strong><br />
(layer 2)  Within a frame, placing an 802.1p CoS value within the 802.1Q trunk tag.<br />
(layer 3)  IP Precedence or Differentiated Services Code Point (DSCP) values in a packet&#8217;s IP header.     </p>
<p><strong>Policing</strong><br />
Decides whether a specific type of traffic is within predefined bandwidth levels.  If not it is usually dropped (CAR and class-based routing are examples).      </p>
<h3><span style="color: #888888;"><br />
Implemented on outbound interfaces:</span></h3>
<p><strong>Traffic Shaping<br />
</strong>Defines an artificial maximum throughput for the interface, providing a steady stream that is throttled while congestion occurs by buffering traffic.     </p>
<p><strong>Queuing<br />
</strong>After traffic has been classified and marked, it can be placed into one of many queues to be sent at different rates and order.  Examples include First In First Out (FIFO), priority queuing, weighted fair queuing, and custom queuing.  Note:  the default queue method is FIFO.     </p>
<p><strong>Dropping<br />
</strong>By default, interface queues accept all traffic until they are full and drop everything after that.  Prioritized dropping can be configured to drop low-priority, re-transmittable packets first (ex. Weighted Random Early Detection [WRED]).     <br />
 </p>
<h2><span style="color: #ff6600;">DSCP</span></h2>
<p>Differentiated services provides a mechanism to change levels of service based on the value of specific bits in the IP header or the 802.1Q tag.  Each hop along the way must be configured to treat the marked traffic the way you want, also known as per-hop behavior (PHB).</p>
<p>As mentioned, there are two ways to mark the DSCP values depending on what layer you are marking it at.  The first method (layer 2) uses the three 802.1p bits within the 802.1Q tag to set the CoS value.  Voice is commonly set to 5 and video 4.</p>
<p>For layer 3, the 8 bit ToS field within the IP header is used.  There are again two options here.  IP Precedence can be set using the top 3 bits or DSCP can be set using the top 6 bits.  The bottom 2 bits are used for congestion notification.  When setting DSCP values, 0 is the default, indicating best-effort delivery.</p>
<p>The six bit DSCP code consists of two parts, the first 3 bits define the DiffServ Assured Forwarding (AF) class and the next two bits define the drop probability.  The sixth bit is unused.</p>
<p><em>Note:  Voice bearer traffic uses an Expedited Forwarding value of DSCP 46 to give it high priority.</em><br />
 </p>
<h2><span style="color: #ff6600;">Trust Boundaries</span></h2>
<p>The place where decisions about priority marking on incoming frames/packets is done is called the trust boundary.  When IP traffic comes into an interface and is already marked, the switch has the following options:</p>
<ul>
<li>Trust the DSCP value</span></li>
<li>Trust the IP Precedence value</span></li>
<li>Trust the CoS value in the frame</span></li>
<li>Classify the traffic based on an IP ACL or MAC ACL</span></li>
</ul>
<p><img class="aligncenter size-full wp-image-613" style="border: 0px;" title="IP Phone QoS Diagram" src="http://www.ccnpguide.com/wp-content/uploads/2010/11/IP-Phone-QoS-Diagram1.jpg" alt="" width="462" height="104" /><br />
Cisco recommends marking the traffic as close to the source as possible.  IP phones can mark their own traffic and other clients can be marked at the access switch.  If that is not an option mark at the distribution layer, but never at the core.  Marking slows traffic down, so it has no place being in the core.  All devices within the network path should be configured to trust the marking and provide service based on that.     </p>
<h1><span style="color: #808080;"><br />
Configuring QoS for VoIP</span></h1>
<p>Before rolling out VoIP in your environment, think through the following planning steps:</p>
<p>1. <strong>PoE</strong><br />
Ensure there is enough power for all the phones and has a UPS backup</p>
<p>2. <strong>Voice VLAN</strong><br />
Think through the number of VLANs/subnets required, add DHCP scoped for the phones, add voice networks to routing protocols</p>
<p>3. <strong>QoS</strong><br />
Decide on which marking and queues you plan on using.  Cisco recommends implementing AutoQoS and then tuning as needed.</p>
<p>4. <strong>Fast Convergence</strong><br />
Tune routing and HSRP/VRRP/GLBP timers</p>
<p>5. <strong>Test Plan</strong><br />
Test the implementation before rolling it out to real users.  Some things to look for include making sure the phone and PC have the correct IP addresses, the phone registers itself, and calls can be made. </p>
<h2><span style="color: #ff6600;"><br />
Auto QoS</span></h2>
<p>Auto QoS, when enabled, configures the switch interfaces using common best-practices including:  <br />
 <br />
•  Auto discovery and classification of network applications<br />
•  Creates QoS policies for those apps<br />
•  Configures the switch to support IP phones<br />
•  Sets up SNMP traps for network reporting<br />
•  Provides a consistent QoS configuration across the environment</p>
<p><em>Note:  Auto QoS uses CDP to function properly with an IP phone, so make sure it is not disabled if you plan on implementing Cisco&#8217;s Auto QoS.</em>  </p>
<h2><span style="color: #ff6600;"><br />
Configuring Auto QoS</span></h2>
<p>Configures the interface to trust CoS on incoming traffic:</p>
<pre>Switch(config-if)# auto qos voip trust</pre>
<p>Configures the interface to trust CoS only if Cisco phone is connected (requires CDP):</p>
<pre>Switch(config-if)# auto qos voip cisco-phone</pre>
<p>Displays the Auto QoS configuration:</p>
<pre>Switch# show auto qos</pre>
<h2><span style="color: #ff6600;"><br />
Manual QoS Configuration</span></h2>
<p>Associates a voice VLAN with a switch port:</p>
<pre>Switch(config-if)# switchport voice vlan vlan-ID</pre>
<p>Trust markings on traffic entering an interface.  Effectively moves the trust boundary to the attached device (often an IP phone or server):</p>
<pre>Switch(config-if)# mls qos trust {dscp | cos}</pre>
<p>Trust markings only if a Cisco phone is connected:
<pre>Switch(config-if)# mls qos trust device cisco-phone</pre>
<p>Instructs the IP phone to set/overwrite CoS values for data coming from a PC attached to the phone.  The phone would then be the new trust boundary because it is now doing the marking on the data traffic.  Also important to note that the CoS value assigned at the end of the statement is a number between 0 and 7..  7 being the highest priority and 0 being the default value:</p>
<pre>Switch(config-if)# switchport priority extend cos cos-value</pre>
<p>Instructs the phone to trust the priority of the data coming from the attached PC:</p>
<pre>Switch(config-if)# switchport priority extend trust</pre>
<p>Verify interface parameters:</p>
<pre>Switch# show interfaces interface-id switchport</pre>
<p>Verify QoS parameters on an interface:</p>
<pre>Switch# show mls qos interface interface-id</pre>
<h2><span style="color: #ff6600;"><br />
Final VoIP QoS Considerations</span></h2>
<p>•  If a voice VLAN is configured, untagged traffic is a sent according to the default CoS priority of the port<br />
•  CDP is required to allow for voice VLANs<br />
•  Portfast must be enabled on a switch interface configured as a voice VLAN<br />
•  Several mechanisms can be used in combination to improve VoIP quality including queuing, classification and marking close to the source, and congestion prevention protocols like WRED</p>
<h1><span style="color: #808080;"><br />
QoS for Video</span></h1>
<p>Video traffic can change dramatically depending on what kind of compression is used and how static the picture is.  Video that is constantly changing will use much more bandwidth and be more bursty than more still-image video.  Voice traffic is much more steady in comparison.</p>
<p>Video should be placed in it&#8217;s own queue, especially if the organization is doing interactive video.  Consider creating separate queues for interactive and streaming video if the business uses it.  Less than 200 ms of latency is considered acceptable by most standards. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/voip-qos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing the new CCNPGuide.com Blog!</title>
		<link>http://www.ccnpguide.com/announcing-the-new-ccnpguide-com-blog/</link>
		<comments>http://www.ccnpguide.com/announcing-the-new-ccnpguide-com-blog/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 02:10:57 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.ccnpguide.com/?p=2596</guid>
		<description><![CDATA[&#160; I&#8217;ve wanted to start a blog for a long time on the site as a way to interact with those of you preparing for your certifications in a more direct fashion. I want to use this to do a few things including: Walk through some of the more difficult topics and explain them in [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I&#8217;ve wanted to start a blog for a long time on the site as a way to interact with those of you preparing for your certifications in a more direct fashion. I want to use this to do a few things including:</p>
<ul>
<li>Walk through some of the more difficult topics and explain them in depth</li>
<li>Use more visuals to lay out topologies</li>
<li>Answer to your exam questions (as long as we don&#8217;t violate any NDAs in the process)</li>
</ul>
<p>Here&#8217;s where you come in&#8230;</p>
<p>I want to know what parts are most difficult for you to understand or those that you feel most underprepared for. If you have specific questions, I&#8217;d be happy to answer those as well.</p>
<p>So shoot me an <a href="http://www.ccnpguide.com/contact/" target="_blank">email</a> with your ideas or leave a comment below. I can&#8217;t wait to get started.</p>
<p>Aaron</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/announcing-the-new-ccnpguide-com-blog/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[&#160; 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 or [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
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><span style="color: #000000;"><br />
Troubleshooting Any Routing Protocol</span></h3>
<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>
<h3><span style="color: #000000;"><br />
Routing Protocol Troubleshooting Methodology</span></h3>
<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.</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>Now let&#8217;s dissect each of these for the major routing protocols one at a time.<br />
&nbsp;</p>
<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>EIGRP Interface Table<br />
</strong></span>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>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</strong></span><br />
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>
<h3><span style="color: #000000;"><br />
Is the EIGRP route being advertised properly?</span></h3>
<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>
<h3><span style="color: #000000;"><br />
Is the EIGRP route being received?</span></h3>
<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>
<h3><span style="color: #000000;"><br />
Is there a more desirable route being used?</span></h3>
<p>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.</p>
<h1></h1>
<h1><span style="color: #ff6600;"><br />
OSPF</span></h1>
<p>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.</p>
<p>OSPF stores its information in three different tables: the OSPF interface table, neighbor table, and link-state database.</p>
<p><strong>OSPF Interface Table</strong>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.</p>
<p><strong>OSPF Neighbor Table</strong>The neighbor table contains a list of discovered OSPF neighbors.  Use the<strong> show ip ospf neighbors </strong>command to display its contents.</p>
<p><strong>OSPF Link State Database</strong><br />
The link state database contains the received LSAs. Use the <strong>show ip ospf database </strong>command to display its contents.</p>
<h3><span style="color: #000000;"><br />
Is the OSPF route being advertised properly?</span></h3>
<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 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>. </p>
<p>Remember, OSPF only advertises subnets of interfaces that match an OSPF network statement.</p>
<h3><span style="color: #000000;"><br />
Is the OSPF route being received?</span></h3>
<p>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.</p>
<p>You can also perform a <strong>debug ip ospf adj </strong>to show any issues that would prevent the routers from forming an adjacency.</p>
<p>OSPF is more particular about matching protocol variables than EIGRP.  OSPF requires that all of the following parameters match between devices:</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>The OSPF protocol values can be seen using the <strong>show ip ospf interfaces </strong>command.</p>
<p>Lastly, route maps or distribution lists could be blocking routing traffic.  Do a <strong>show ip protocols </strong>to display any distribute lists.</p>
<h3><span style="color: #000000;"><br />
Is there a more desirable route being used?</span></h3>
<p>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.</p>
<h1><span style="color: #ff6600;"><br />
BGP</span></h1>
<p>BGP stores its information in two tables: the BGP neighbor table and the BGP table.</p>
<p><strong>BGP Neighbor Table</strong><br />
The neighbor table contains a list of known BGP neighbors.  Use the<strong> show ip bgp neighbors </strong>command to display its contents.</p>
<p><strong>BGP Table</strong><br />
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.</p>
<h3><span style="color: #000000;"><br />
Are the BGP routers neighbors?</span></h3>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<h3><span style="color: #000000;"><br />
Is the BGP route being advertised?</span></h3>
<p>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.</p>
<p>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.</p>
<h1><span style="color: #ff6600;"><br />
Route Redistribution</span></h1>
<p>Route redistribution can be a tricky situation to troubleshoot, but understanding the following concepts should be helpful.</p>
<p><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.</p>
<p><strong>2. Routing loops are a common problem with multi-router routing redistribution</strong>.  Use a single router to perform the redistribution if possible.</p>
<p><strong>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.</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[&#160; 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 show interface show interface counters show interface counters errors Look for the following errors: FCS-Err Usually a cabling [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<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>
<h4>Physical layer Troubleshooting Commands</h4>
<pre>show interface</pre>
<pre>show interface counters</pre>
<pre>show interface counters errors</pre>
<p><i>Look for the following errors:</i></p>
<p><strong>FCS-Err</strong><br />
Usually a cabling issue.</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.</p>
<p><strong>Undersize, Giants</strong><br />
The transmitting NIC may have problems.</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.<br />
&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>1. 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>
<p>2.  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>
<p>3.  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>
<h3>
Broadcast Storms</h3>
<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.<br />
&nbsp;</p>
<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.<br />
&nbsp;</p>
<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, or native VLAN mismatches. </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>
<p><strong>MAC Address Table</strong> (MAC-to-port mapping)</p>
<pre>show mac-address</pre>
<p><strong>VLAN Assignments</strong> (VLAN-to-port mapping)</p>
<pre>show vlan</pre>
<p><strong>Trunk Assignments</strong></p>
<pre>show interface switchport</pre>
<pre>show interface switchport trunk</pre>
<pre>show etherchannel </pre>
<p>&nbsp;</p>
<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, <i>show ip cef</i> 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 Cisco proprietary; its primary advantage is its ability to automatically load balance between gateway routers.</p>
<h2>
</h2>
<h4>HSRP</h4>
<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>
<pre>Router(config)# interface gig1/1
Router(config-if)# ip address 192.168.1.2
Router(config-if)# standby 4 ip 192.168.1.1
Router(config-if)# standby 4 priority 200
Router(config-if)# standby 4 preempt</pre>
<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>2</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[&#160; 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 [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
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.<br />
&nbsp;</p>
<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 physical layer and work your way up.</p>
<h3></h3>
<h3>Top-Down</h3>
<p>Start with the OSI application layer and work your way down.</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.<br />
&nbsp;</p>
<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>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[&#160; 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 [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
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.<br />
&nbsp;</p>
<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.<br />
&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>
<h3>Fault management</h3>
<p>■ Preventive maintenance<br />
■ Minimizing network downtime</p>
<h3>Configuration management</h3>
<p>■ Both hardware and software installation and configuration<br />
■ Change control<br />
■ Inventory management</p>
<h3>Accounting management</h3>
<p>■ Capacity planning<br />
■ Cost efficiency</p>
<h3>Performance management</h3>
<p>■ Maximize performance on existing network investments</p>
<h3>Security management</h3>
<p>■ Confidentiality, integrity, availability (CIA)<br />
■ Authentication, authorization, accounting (AAA)<br />
■ Encryption<br />
■ Intrusion detection/prevention<br />
&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.<br />
&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.<br />
&nbsp;</p>
<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<br />
■ Installing and configuring new network devices<br />
■ Replacing failed hardware<br />
■ Software backup<br />
■ Configuration backup<br />
■ Troubleshooting failure scenarios<br />
■ Software upgrades<br />
■ Network performance monitoring<br />
■ Capacity planning<br />
■ Creating/updating network documentation<br />
&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<br />
■ Inventory (including serial numbers, support info, etc.)<br />
■ Circuit information<br />
■ Network drawings<br />
■ 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.<br />
&nbsp;</p>
<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>
<pre>RouterA# <strong>copy run tftp
</strong>Address of name of remote host []? <strong>10.10.1.35
</strong>Destination filename [routera-config]?<strong>routera</strong></pre>
<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):</p>
<p></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)<br />
&nbsp;</p>
<h2>NTP</h2>
<p>Alerting is important, but if the timestamps that are included are not correct, 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>
<pre>Switch(config)# <strong>ntp server </strong>ip<em>_address_of_ntp_server</em></pre>
<p>To verify:</p>
<pre>Switch# <strong>show ntp status</strong></pre>
<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)<br />
&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:</p>
<pre>archive
path flash://routerc</pre>
<p>OR</p>
<pre>archive
path tftp://192.168.1.22/routerc.txt</pre>
<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>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 sets [...]]]></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.  Let&#8217;s start with IPSec.</p>
<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><span style="font-size: 14px;"><br />Floating Static Routes</span></h2>
<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 the 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 it has a higher administrative distance.  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 administrative distance value at the end of the statement:</p>
<pre>R1(conf)# ip route prefix mask <em>address|interface</em><strong> <em>distance_value</em></strong>
</pre>
<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, which creates a problem.</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> <span style="color: #000000;"> </span> <span style="color: #000000;">There are generally four ways to do this paired with IPSec:</span></p>
<p><span style="color: #000000;"><strong> DMVPN and GET VPN</strong></span> <br /><span style="color: #000000;">Both allow the creation of secure, &#8220;on-demand&#8221;, multipoint tunnels. </span></p>
<p><span style="color: #000000;"> </span> <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. </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; permitting dynamic routing protocol traffic. </span> <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;"><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> <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="font-weight: normal;"><br />DSL</span></h3>
<p>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. <strong>Asymetrical DSL </strong>has higher downstream bandwidth than upstream, while with <strong>symetric DSL</strong> they are both the same rate.</p>
<p>There are two primary methods for pushing L2 data across a DSL line:</p>
<p><strong>PPPoE<br /></strong> Point-to-Point Protocol over Ethernet is the most common method and encapsulates PPP traffic into Ethernet frames.</p>
<p><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.  Both options can be configured on a Cisco router to terminate the DSL connectivity.  PPPoE is especially helpful because it frees the local office&#8217;s computers from running PPPoE</p>
<h3><span style="font-weight: normal;"><br />Cable</span></h3>
<p>Broadband cable providers also provide internet connectivity which can be used for WAN backup or provide 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 separated.</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.  Cable system connections are typically 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>2</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> </p>
<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;"><br />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/v3/?attachment_id=1214"><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>
<p><span style="color: #ff6600; font-size: 18px;"><br />IPv6 Shorthand</span></p>
<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><br />1.  Leading zeros can be removed in any section.</strong></p>
<p><strong> </strong>For example,  0021:0001:0000:030A:0000:0000:0000:0987E can be abbreviated as: 21:1:0:30A:0:0:0:987E</p>
<p><strong><br />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.  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><span><br />Unicast</span></span>, <span><span>Multicast</span></span>, &amp; <span><span>Anycast</span></span></span></h2>
<p><strong><span><span>Unicast<br /></span></span></strong><span><span>Unicast</span></span> is for sending traffic to a single interface.  In IPv6 there are actually two different <span><span>unicast</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;"><br />Address Assignment</span></h1>
<p><span style="color: #000000;">There are three different ways devices are assigned an IPv6 address: manual configuration, stateless <span><span>autoconfiguration</span></span>, or DHCPv6.</span></p>
<h2><span style="color: #ff6600;"><br />Manual Address Configuration</span></h2>
<p>The first thing to know about 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 255.255&#8230; after every <span><span>IP</span></span> address!</p>
<p>Also, make sure you first enable IPv6 routing with the <strong><em><span>ipv6 </span><span><span>unicast</span></span>-routing</em> </strong>global configuration command.  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>
<pre>R1# <span><span>conf</span></span> t
R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing
R1(<span><span>config</span></span>)# int gig 1/1
R1(<span><span>config</span></span>-if)# ipv6 address 21:1:0:30A::987E/64
</pre>
<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 exact same <span><span>leng</span></span>th as the host portion of an IPv6 address!</p>
<p>An example configuration with the network portion defined:</p>
<pre>R1(<span><span>config</span></span>)# int gig 1/1
R1(<span><span>config</span></span>-if)# ipv6 address 21:1:0:30A::/64</pre>
<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><em><span><span>eui</span></span>-64 </em></strong>to the end of the ipv6 address statement.</p>
<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 using 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 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 uses NDP to make sure it is actually unique within the local network.  NDP stands for Neighbor Discovery Protocol and uses ICMP packets as part of the neighbor discovery process.</p>
<p>To configure stateless <span><span>autoconfiguration</span></span>, use the <strong><em><span>ipv6 address </span><span><span>autoconfig</span></span> </em></strong>command.</p>
<p>Example:</p>
<pre>R1(<span><span>config</span></span>)# int gig 1/1
R1(<span><span>config</span></span>-if)# ipv6 address <span><span>autoconfig</span></span>
</pre>
<h1><span style="color: #888888;"><br />IPv6 Routing</span></h1>
<p><span style="color: #ff6600; font-size: 18px;">Static Routes</span></p>
<p>The configuration for IPv6 static routes is identical to IPv4, except for the<em> ipv6 route</em> keywords instead of<em> <span><span>ip</span></span> route</em>.  Other than that, it is exactly the same.</p>
<p><strong>An example of a static IPv6 default route:</strong></p>
<pre>R1(<span><span>config</span></span>)# ipv6 route ::/0 serial1/1</pre>
<p><strong>An example of an IPv6 static route with a next-hop address:</strong></p>
<pre>R1(<span><span>config</span></span>)# ipv6 route 2003:2:1:A::/64 2003:2:1:F::1</pre>
<p><em><br /><span style="font-style: normal;">To view the IPv6 routes in the routing table, use the</span> </em>command <strong style="font-style: italic;">show ipv6 route</strong>.</p>
<h2><span style="color: #ff6600;"><br />IPv6 EIGRP</span></h2>
<p>There are many differences in the way EIGRP is configured for <span>IPv6. </span></p>
<ul>
<li><span>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.</li>
<li>EIGRP messages are exchanged using the link-local address as the source address.  Perhaps the biggest difference is that there is no <em>network</em> command.  Instead, EIGRP routing is enabled on each participating interface.</li>
<li>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.</li>
<li>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.</li>
</ul>
<h3><strong><br />To configure IPv6 EIGRP:</strong></h3>
<pre>R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing
!
R1(<span><span>config</span></span>)# ipv6 router <span><span>eigrp</span></span> <em>AS
</em>R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id <em><span>ipv4-address</span>
</em>R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# no shut
R1(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit
!
R1(<span><span>config</span></span>)# interface<em> type number
</em>R1(<span><span>config</span></span>-if)# ipv6 <span><span>eigrp</span></span> <em>AS</em></pre>
<p><span style="color: #ff6600; font-size: 18px;"><br />OSPFv3</span></p>
<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>predecessor</span></span>, but a few changes were made starting <span><span>wi</span></span>th messaging.</p>
<ul>
<li><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. </li>
<li>It is possible to run multiple instances of OSPFv3 on each link.</li>
<li>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).</li>
<li><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>.</li>
</ul>
<h3>Configuration</h3>
<p>The configuration is now done on each individual interface.  The following is an example configuration:</p>
<pre>R2(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing
!
R2(<span><span>config</span></span>)# ipv6 router <span><span>ospf</span></span> 100<em>
</em>R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id 10.10.10.1
R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# area 1 stub no-summary
R2(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit
!
R2(<span><span>config</span></span>)# interface gig1/1
R2(<span><span>config</span></span>-if)# ipv6 address 2003:2:1:2::1/64
R2(<span><span>config</span></span>-if)# ipv6 <span><span>ospf</span></span> 100 area 0
!
R2(<span><span>config</span></span>)# interface gig1/2
R2(<span><span>config</span></span>-if)# ipv6 address 2003:2:1:A::1/64
R2(<span><span>config</span></span>-if)# ipv6 <span><span>ospf</span></span> 100 area 1
R2(<span><span>config</span></span>-if)# ipv6 ospf priority 30</pre>
<p><span style="color: #ff6600; font-size: 18px;"><br />MP-BGP</span></p>
<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>Configuration</h3>
<pre>R3(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing
!
R3(<span><span>config</span></span>)# router <span><span>bgp</span></span> 600<em>
</em>R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# router-id 10.10.10.10
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# neighbor 2003:76:1:1::10 remote-as 700
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# address-family ipv6 <span><span>unicast</span></span>
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# neighbor 2003:76:1:1::10 activate
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# network 2003:2:2::/48
R3(<span><span>config</span></span>-<span><span>rtr</span></span>-<span><span>af</span></span>)# exit
R3(<span><span>config</span></span>-<span><span>rtr</span></span>)# exit</pre>
<h1><span style="color: #888888;"><br />Migrating to IPv6</span></h1>
<p>Three options exist for transitioning from IPv4 to IPv6: dual stack, tunneling, or NAT.</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;"><br />Dual Stack</span></h2>
<h2><span style="font-weight: normal; font-size: medium;">Using a dual-stack transition allows servers, clients, and applications to be slowly moved to IPv6.  Both protocols can run </span><span style="font-weight: normal; font-size: medium;"><span>concurrently and</span></span><span style="font-weight: normal; font-size: medium;"> neither communicating </span><span style="font-weight: normal; font-size: medium;"><span><span>wi</span></span></span><span style="font-weight: normal; font-size: medium;">th the other.  If </span><span style="font-weight: normal; font-size: medium;"><span><span>bo</span></span></span><span style="font-weight: normal; font-size: medium;">th IPv4 and IPv6 are running on a server for example, IPv6 will be used.</span></h2>
<h3><span style="font-weight: normal; font-size: medium;"><strong><br />Configuration Example</strong></span></h3>
<pre>R1# <span><span>config</span></span> t
R1(<span><span>config</span></span>)# ipv6 <span><span>unicast</span></span>-routing
R1(<span><span>config</span></span>)# ipv6 <span><span>cef</span></span>
!
R1(<span><span>config</span></span>)# interface serial1/0/1
R1(<span><span>config</span></span>-if)# <span><span>ip</span></span> address 192.168.1.1
R1(<span><span>config</span></span>-if)# ipv6 address 2001:1:3:1::1/64</pre>
<p><span style="color: #ff6600;"><br /></span><span style="color: #ff6600; font-size: 18px;"><br />IPv6 Tunneling</span></p>
<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 bridges 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="font-size: 14px;"><br />Manual Tunnels</span></h2>
<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>Manual IPv6 tunnels are easy to configure using the <em><strong>tunnel mode ipv6<span><span>ip</span></span> </strong>c</em>ommand.  Using the  Router A/B example above, the configuration on Router A would look something like this:</p>
<pre><span><span>RouterA</span></span>(<span><span>config</span></span>)# interface tunnel0
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# ipv6 address 2001:2:0:7::/64
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel source 10.1.1.1
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel destination 10.3.3.1
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# tunnel mode ipv6<span><span>ip</span></span>
<span><span>RouterA</span></span>(<span><span>config</span></span>-if)# exit
</pre>
<h2><span style="font-size: 14px;"><br />GRE Tunnels</span></h2>
<p>First, GRE tunnels are the <span>default</span> tunnel method on <span><span>Cisco</span></span> routers.  GRE 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>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 <em><strong>tunnel mode ipv6ip 6to4</strong>. </em></p>
<h1><span style="color: #888888;"><br />NAT</span></h1>
<h1><span style="font-weight: normal; font-size: medium;">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.</span></h1>
<p>1.  To enable NAT-PT IPv4 to IPv6 translation on a router, the first step is to use the <strong><em><span>ipv6 </span><span><span>nat</span></span></em></strong> command on each interface participating in the translation.</p>
<p>2.  The second step is to define at least one NAT-PT prefix.  Only traffic matching the prefix will be translated.  To apply it <span>globally</span> on the router, enter <em><strong><span>ipv6 </span><span><span>nat</span></span> </strong>prefix/prefix_<span><span>leng</span></span>th</em> in global configuration mode.  To apply it to traffic on a specific interface, enter <strong><em><span>ipv6 </span><span><span>nat</span></span> </em></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><span style="color: #ff6600;"><br />Static NAT-PT</span></h2>
<p>For an IPv6 to IPv4 static <span>mapping</span>:</p>
<pre>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></pre>
<p>For an IPv4 to IPv6 static <span>mapping</span>:</p>
<pre>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>
</pre>
<h2><span style="color: #ff6600;"><br />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>
<pre>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
</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></pre>
<p>For an IPv6 to IPv4 static <span>mapping</span>:</p>
<pre>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
</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></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ccnpguide.com/ccnp-route-642-902-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

