<?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>CCIE UK &#187; Technical Articles</title>
	<atom:link href="http://www.ccieuk.com/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ccieuk.com</link>
	<description>Moving towards CCIE....</description>
	<lastBuildDate>Sun, 17 Jan 2010 17:02:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Basics of RIP Version 1</title>
		<link>http://www.ccieuk.com/2009/09/23/the-basics-of-rip-version-1/</link>
		<comments>http://www.ccieuk.com/2009/09/23/the-basics-of-rip-version-1/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 20:53:39 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[CCIE Study]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[RIP]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=211</guid>
		<description><![CDATA[RIP does have its limitations but it is still a venerable routing protocol. Its been around since the 1980s, so has stood the test of time and is supported across a wide variety of platforms, including Windows Servers and both Unix workstations and servers. Run out of routers and need to split a subnet in [...]]]></description>
			<content:encoded><![CDATA[<p>RIP does have its limitations but it is still a venerable routing protocol. Its been around since the 1980s, so has stood the test of time and is supported across a wide variety of platforms, including Windows Servers and both Unix workstations and servers. Run out of routers and need to split a subnet in two? You could use an old server with two NICs and have this speak to your network kit using RIP.  Its clear that more serious admins wouldn&#8217;t touch it and it can have a bad reputation but it still does have a place in networking. It is very suitable for smaller networks and its ease of configuration make it a good choice for those network admins with little experience.  It is also an excellent choice for teaching network students about routing protocols as a lot of the structure , such as timers, are used in other protocols.</p>
<p>So here is a general summary of RIP.</p>
<p> <span id="more-211"></span></p>
<ul>
<li>All RIP messages are encapsulated in a UDP segment with the source <strong>and </strong>destination port of 520.</li>
</ul>
<p> </p>
<ul>
<li> The metric that is used by RIP is hop count. A hop count of 1 is a directly connected network. A hop count of 16 is defined as unreachable.  A hop count metric simply counts the am0unt of router hops that is required to reach a network.</li>
</ul>
<p> </p>
<ul>
<li>RIP has an administrative distance of 120.</li>
</ul>
<p> </p>
<ul>
<li>RIP employs split horizon with poison reverse.  Split horizon is a feature for preventing routing loops in networks. It basically tells the router that when sending updates out of an interface, do not include any networks that were learned from updates received on that same interface. Poison reverse adds an additional feature. When sending updates out of an interface, for any updates learned on that interface the router now marks those networks as unreachable. It&#8217;s neighboring router now has positive confirmation that these networks cannot be reached via this source.</li>
</ul>
<p> </p>
<p><strong><span style="color: #0000ff;"><span style="text-decoration: underline;">RIP Timers</span></span></strong></p>
<p><span style="color: #000000;"><strong>Update Timer</strong></span></p>
<p><span style="color: #000000;">A RIP router sends its entire routing table to its neighbours at regular intervals. This interval is defined using the update timer and by default is set at 30 seconds. The router, however, adds a random variable to the timer to stop the routers&#8217; updates becoming synchronised to each other. A router&#8217;s regular update will therefore be between 25 and 35 seconds.</span></p>
<p><span style="color: #000000;"><strong>Invalid Timer</strong></span></p>
<p><span style="color: #000000;">The invalid timer is set to 180 seconds whenever a new route is learnt. The timer is reset each time the router receives a update containing that route. If no update is received for a route already in the routing table within 180 seconds, the hop count for that route is changed to 16 (unreachable)</span></p>
<p><span style="color: #000000;"><strong>Flush Timer</strong></span></p>
<p><span style="color: #000000;">The flush timer is set at 240 seconds by default. A route marked as unreachable will continue to be advertised by the router until the flush timer has expired. After this time it will be completely removed from the routing table.</span></p>
<p><span style="color: #000000;"><strong>Holddown Timer</strong></span></p>
<p><span style="color: #000000;">If a router receives an update that either has a higher or unreachable metric for an active route in the routing table, it will start the holddown timer. The new, less preferred, route entry will not be placed in the table until the holddown timer expires. For RIP the default for the holddown timer is 180 seconds.</span></p>
<p><span style="color: #000000;"><span style="color: #0000ff;"><span style="text-decoration: underline;"><strong>RIP Message Format</strong></span></span></span></p>
<p><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">The RIP protocol defines two RIP message types:</span></span></span></p>
<ul>
<li><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Request message &#8211; used to ask neighbouring routers to send updates</span></span></span></li>
<li><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Response message &#8211; carries the updates</span></span></span> </li>
</ul>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ccieuk.com/wp-content/uploads/2009/09/rip-message1.gif"><img class="aligncenter size-full wp-image-230" title="RIP Message" src="http://www.ccieuk.com/wp-content/uploads/2009/09/rip-message1.gif" alt="RIP Message" width="283" height="434" /></a> </p>
<p style="text-align: center;"> </p>
<ul>
<li>
<div style="TEXT-ALIGN: justify"><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Each message can contain up to 25 route entires.</span></span></span></div>
</li>
</ul>
<p style="TEXT-ALIGN: justify"> </p>
<ul>
<li>
<div style="TEXT-ALIGN: justify"><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Each entry will contain an Address Family Identifier, the IP address of the route and the metric.</span></span></span></div>
</li>
</ul>
<p style="TEXT-ALIGN: justify"> </p>
<ul>
<li>
<div style="TEXT-ALIGN: justify"><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Command &#8211; if set to 1 the message is Request. If set to 2 the message is a Response.</span></span></span></div>
</li>
</ul>
<p style="TEXT-ALIGN: justify"> </p>
<ul>
<li>
<div style="TEXT-ALIGN: justify"><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Addrress Familiy Identifier &#8211; is set to 2 for IP.</span></span></span></div>
</li>
</ul>
<p style="TEXT-ALIGN: justify"> </p>
<ul>
<li>
<div style="TEXT-ALIGN: justify"><span style="color: #000000;"><span style="color: #0000ff;"><span style="color: #000000;">Metric &#8211; the hop count between 1 and 16.</span></span></span></div>
</li>
</ul>
<p style="TEXT-ALIGN: justify"> </p>
<p style="TEXT-ALIGN: justify">I hope you will find this article a decent quick study guide about the basic theory of RIP. I hope to do an article at some point on the configuration of RIP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/09/23/the-basics-of-rip-version-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Cisco Voice Lab Part 1 &#8211; CUCM and VMWare</title>
		<link>http://www.ccieuk.com/2009/07/09/setting-up-a-cisco-voice-lab-part-1-cucm-and-vmware/</link>
		<comments>http://www.ccieuk.com/2009/07/09/setting-up-a-cisco-voice-lab-part-1-cucm-and-vmware/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 14:52:16 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[CCIE Study]]></category>
		<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[Voice and IPT]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=128</guid>
		<description><![CDATA[I have recently passed the CCVP qualification and I think it would be useful to pass on some of the methods I used for setting up a home CCVP lab. The CCVP is one certification were just using books and study materials isn&#8217;t really an option. You really have to get some hands on experience. Not [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently passed the CCVP qualification and I think it would be useful to pass on some of the methods I used for setting up a home CCVP lab. The CCVP is one certification were just using books and study materials isn&#8217;t really an option. You really have to get some hands on experience. Not everyone will have the luxury of working in a Cisco VoIP/IPT environment or be able to go on the commercial CCVP courses. It is still possible to get some hands on experience by setting up a small home lab however.<span id="more-128"></span></p>
<p>I&#8217;d say its possible to do around 80% of the CCVP without any hardware purchase, the other 20% being to do with voice port modules, such as FXO modules, FXS modules, DSP modules and also areas such as MGCP voice gateways. If you do want to get hands on practice in those areas you coud purchase a second hand router that can handle these modules and also act as an MGCP gateway. In my voice lab, I&#8217;ve used an old Cisco 3640 router for this purpose. To support the FXO and FXS modules I had to purchase a NM-2V module for the router. The FXO and FXS cards then slot into the NM-2V. I&#8217;ll supply a full breakdown of the hardware I&#8217;ve used in a later post.</p>
<p>To build the software only part of the lab you are going to need the following:</p>
<ul>
<li>A PC with a decent up to date processor. I&#8217;d recommend having at least 2Gig of RAM. However you may be able to get away with less. My PC specs are Intel Quad Core Q9450 overclocked to 3Ghz, 4Gig RAM and Vista Home Premium. I have also set up this sort of lab using Ubuntu Linux.</li>
<li>A copy of Cisco Unified Communications Manager (search on ebay for Cisco Call Manager). There are sellers selling legitimate copies. I paid around £60 for the discs.</li>
<li><a title="VMWare Server" href="http://www.vmware.com/download/server/" target="_blank">VMware Server</a> </li>
<li><a title="GNS3" href="http://www.gns3.net/" target="_blank">GNS3</a>. You could use dynampis/dynagen if you are familiar with the software. However, I find the speed and ease with which you can now set up labs with GNS3 makes it much more useable.</li>
<li>A copy of a relevant IOS for a Cisco 3725 router. I would recommend getting an IOS that can support a version of <a title="Cisco IOS for CME" href="http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/requirements/guide/33matrix.htm" target="_blank">Call Manager Express</a>. That way you can get some practice setting up H323 trunks. You can even use a H323 gateway to simulate being your PSTN router. One other benefit is that you can practice CME SRST fallback. Getting an IOS can be a stumbling block for many people and unfortunately I can&#8217;t help you there. Please remember that the Cisco IOS is a licensed proprietry piece of software. If you have an appropriate CCO login you should be able to download an IOS to use.</li>
<li>A copy of Cisco IP Communicator. This is a software phone that you use to register with your CUCM servers and CME routers. Again this is available to download from Cisco if you have an appropriate CCO account.</li>
<li>I also recommend buying a second-hand hardware Cisco phone as its good to learn how to support the sort of phone that your users will be using. I managed to gt a Cisco 7940 from ebay for about £35 including shipping.</li>
</ul>
<p><span style="color: #0000ff;"><strong>Installing VMare</strong></span></p>
<p><span style="color: #000000;">I am currently using version 1.0.6 on a Windows Vista PC, so my instructions will pertain to that version of VMWare Server. The latest version of VMWare Server is currently 2.0.1 and this should also be fine for running a CUCM server installation.</span></p>
<p><span style="color: #000000;">First of all go to the <a title="Download VMWare" href="http://www.vmware.com/download/server/" target="_blank">download section </a>of the VMWare site and download the version of VMWare for your OS. As part of the download process you will have to obtain a serial number. Please take a note of this serial number.</span></p>
<p><span style="color: #000000;">After the installation of VMWare is complete you will need to set up a virtual machine with the correct settings to support a CUCM6.0 server. The specifications for this are:</span></p>
<ul>
<li><span style="color: #000000;">Red Hat Enterprise Linux 3 virtual OS</span></li>
<li><span style="color: #000000;">I used bridge networking so that I could give the CUCM server an address on my home LAN.</span></li>
<li><span style="color: #000000;">80Gb disk capactiy. I know this seems a lot but CUCM will only install if the disk is at least 72Gb</span></li>
<li><span style="color: #000000;">1GB of RAM, although I tried 512Mb and this seemed to work ok.</span></li>
</ul>
<p><span style="color: #000000;">Once you have the virtual machine set up then just place your CUCM DVDs in your DVD  tray and boot up the machine. Alternatively, you can use an ISO image and use that to boot from. You can do this by editing the CD ROM settings of your virtual machine.</span></p>
<p><span style="color: #000000;">You should hopefully now hear the wirring noise of your DVD loading and, after seeing some Linuxy type boot messages, you should be presented with the CUCM 6 installation. You should now be able to run through the installation wizard and install CUCM 6.0</span></p>
<p><span style="color: #000000;">There is an <a title="CUCM VMWare Video" href="http://www.blindhog.net/how-to-install-call-manager-6x-in-vmware/" target="_blank">excellent post </a> by Josh on the blindhog site with a video showing a step by step guide on setting up CUMC 6 using VMWare. It even takes you through the CUCM 6 installation wizard. In fact the inspiration for my lab came from doing some reasearch on building a home voice lab and coming across another <a title="Building a voice lab" href="http://www.blindhog.net/how-to-build-a-voice-lab-with-gns3-and-vmware/" target="_blank">brilliant post</a> from Josh. This post should give you a good idea of just what is possible using GNS3, VMWare and some hardware.</span></p>
<p><span style="color: #000000;">In the next part of this article I&#8217;ll detail how to set up GNS3 and interface this with your physical network and CUCM server.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/07/09/setting-up-a-cisco-voice-lab-part-1-cucm-and-vmware/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>UDLD and EtherChannel Configuration</title>
		<link>http://www.ccieuk.com/2009/06/25/udld-and-etherchannel-configuration/</link>
		<comments>http://www.ccieuk.com/2009/06/25/udld-and-etherchannel-configuration/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:27:11 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[CCIE Study]]></category>
		<category><![CDATA[LAN Switching]]></category>
		<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=113</guid>
		<description><![CDATA[A data centre network for a client I work with had an interesting issue this week. For no apparent reason some users within the data centre environment reported connection issues to hosts in the network. They were able to connect to some hosts but not others. Then all of a sudden connection would be restored [...]]]></description>
			<content:encoded><![CDATA[<p>A data centre network for a client I work with had an interesting issue this week. For no apparent reason some users within the data centre environment reported connection issues to hosts in the network. They were able to connect to some hosts but not others. Then all of a sudden connection would be restored but quickly lost again.</p>
<p>One of my colleagues was able to access two of the core data centre switches but I could only get to one. A very quick trip to the data centre floor and a console cable connection into the core data centre switches revealed the issue.<span id="more-113"></span></p>
<p>The two switches in question (Catalyst 4507s) have a 2 x 1Gb EtherChannel configured on either end, connected by fibre connections. One side of the connection reported that both links were active in the Etherchannel. The other side had one link as down and the logs showing that the connection had left the EtherChannel.</p>
<p>The full reason for this is still unknown but this type of issue, where one side sees the link as up but the other sees it as down, is called a unidrectional failure. To solve the matter at hand, we first of all shut down the faulty link at the end that still had the link up. As soon as this was done everything sprung into life and everyone was able to connect to the data centre hosts. While the link was down we quickly swapped out the GBic cards and brought the connection backup. The link joined back into the EtherChannel and everything was back as it should be.</p>
<p>This highlighted an issue with the Etherchannel configuration on these particular switches however. Here is a look at the configuration of one of the Etherchannel interfaces as it stood at that time.</p>
<p>interface GigabitEthernet1/1<br />
description ** link to xxxxxx **<br />
switchport trunk encapsulation dot1q<br />
switchport trunk allowed vlan x,xx,xx,xx-xx,xx-xx,xx<br />
switchport mode trunk<br />
qos trust dscp<br />
<span style="color: #ff0000;">channel-group 1 mode on</span></p>
<p>I have always advised network engineers to use a mode of desirable on either side of an  Etherchannel connection, rather than forcing the Etherchannel up.  The on mode forces a port to join an Etherchannel without any sort of Etherchannel protocol negotiation taking place. Using the desirable keyword instead of the on keyword means that the switch uses the Port Aggregation Protocol (PAgP). When using PAgP the switch learns of partner interfaces on other switches that support PAgP and dynamically groups its interfaces into an Etherchannel. Lets look at an example. I&#8217;ve set up two Cisco Catalyst 3550s back to back connecting ports 13 and 14 off each switch together.</p>
<p>Here is the configuration of the ports on either end of the connection.</p>
<p>interface FastEthernet0/13<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
<span style="color: #ff0000;">channel-group 1 mode desirable<br />
</span>!<br />
interface FastEthernet0/14<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
<span style="color: #ff0000;">channel-group 1 mode desirable</span></p>
<p>Once the port channel group on the first configured interface the IOS automatically creates the port channel interafce.</p>
<p>interface Port-channel1<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk</p>
<p>If the same configuration is applied at both ends then the PAgP protocol will dynamically place each relevant interface into the Etherchannel.</p>
<p>Here is the output of the show etherchannel summary command from SW1</p>
<p>SW1#show etherchannel summary<br />
Flags:  D &#8211; down        P &#8211; in port-channel<br />
I &#8211; stand-alone s &#8211; suspended<br />
H &#8211; Hot-standby (LACP only)<br />
R &#8211; Layer3      S &#8211; Layer2<br />
U &#8211; in use      f &#8211; failed to allocate aggregator<br />
u &#8211; unsuitable for bundling<br />
w &#8211; waiting to be aggregated<br />
d &#8211; default port<br />
Number of channel-groups in use: 1<br />
Number of aggregators:           1</p>
<p>Group  Port-channel  Protocol    Ports<br />
&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1      Po1(SU)         PAgP      Fa0/13(P)   Fa0/14(P)</p>
<p>Lets see what happens if I change port fas0/14 on SW2, removing it from the channel and thus stopping PAgP.</p>
<p>SW2(config-if)#no channel-group 1<br />
SW2(config-if)#do show etherchannel summ<br />
Flags:  D &#8211; down        P &#8211; in port-channel<br />
I &#8211; stand-alone s &#8211; suspended<br />
H &#8211; Hot-standby (LACP only)<br />
R &#8211; Layer3      S &#8211; Layer2<br />
U &#8211; in use      f &#8211; failed to allocate aggregator<br />
u &#8211; unsuitable for bundling<br />
w &#8211; waiting to be aggregated<br />
d &#8211; default port<br />
Number of channel-groups in use: 1<br />
Number of aggregators:           1</p>
<p>Group  Port-channel  Protocol    Ports<br />
&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1      Po1(SU)         PAgP      Fa0/13(P)</p>
<p>On SW1 both fas0/13 and 14 are still configured as part of port channel 1. But as PAgP is used, SW1 drops port14 from the group when it stops seeing PAgP.</p>
<p>SW1#sh etherchannel summ<br />
Flags:  D &#8211; down        P &#8211; in port-channel<br />
I &#8211; stand-alone s &#8211; suspended<br />
H &#8211; Hot-standby (LACP only)<br />
R &#8211; Layer3      S &#8211; Layer2<br />
U &#8211; in use      f &#8211; failed to allocate aggregator<br />
u &#8211; unsuitable for bundling<br />
w &#8211; waiting to be aggregated<br />
d &#8211; default port<br />
Number of channel-groups in use: 1<br />
Number of aggregators:           1</p>
<p>Group  Port-channel  Protocol    Ports<br />
&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1      Po1(SU)         PAgP      Fa0/13(P)   Fa0/14(I)</p>
<p>Port fas0/14 is now operating as a stand-alone port and is now a seperate trunk between the switches.</p>
<p>SW1#sh int trunk</p>
<p>Port        Mode         Encapsulation  Status        Native vlan<br />
Fa0/14      on           802.1q         trunking      1<br />
Po1         on           802.1q         trunking      1</p>
<p>SW2#sh int trunk</p>
<p>Port        Mode         Encapsulation  Status        Native vlan<br />
Fa0/14      on           802.1q         trunking      1<br />
Po1         on           802.1q         trunking      1</p>
<p>In the data centre situation I described above this would have dropped the offending interfaces from the etherchannel as one side would have stopped seeing PAgP. However, it may have been possible for one switch to move the interface into stand-alone mode and pass traffic across a broken link, as it was still seeing this link as up. In order to help in situations like these Cisco developed the Unidirectional Link Dection protocol.</p>
<p>UDLD can now be configured in aggressive mode from IOS Release 12.1(3a)E.  Cisco describe aggressive mode as follows:</p>
<p>&#8221; Configure UDLD aggressive mode only on point-to-point links between network devices that support UDLD aggressive mode. With UDLD aggressive mode enabled, when a port on a bidirectional link that has a UDLD neighbor relationship established stops receiving UDLD packets, UDLD tries to reestablish the connection with the neighbor. After eight failed retries, the port is disabled. <a name="wp1027554"></a></p>
<p class="pB1_Body1">To prevent spanning tree loops, nonaggressive UDLD with the default interval of 15 seconds is fast enough to shut down a unidirectional link before a blocking port transitions to the forwarding state (with default spanning tree parameters).</p>
<p><a name="wp1027556"></a></p>
<p class="pB1_Body1">When you enable UDLD aggressive mode, you receive additional benefits in the following situations:</p>
<p><a name="wp1027558"></a></p>
<p class="pBu1_Bullet1">•One side of a link has a port stuck (both Tx and Rx)</p>
<p><a name="wp1027560"></a></p>
<p class="pBu1_Bullet1">•One side of a link remains up while the other side of the link has gone down</p>
<p><a name="wp1027516"></a></p>
<p class="pB1_Body1">In these cases, UDLD aggressive mode disables one of the ports on the link, which prevents traffic from being discarding. &#8220;</p>
<p class="pB1_Body1">I use aggressive mode when available. Configuration is simple. To configure non-aggressive udld you would enter the following command.</p>
<p class="pB1_Body1">
<p class="pB1_Body1">SW2(config)#int fas0/13<br />
SW2(config-if)#udld port</p>
<p class="pB1_Body1">
<p class="pB1_Body1">To configure aggressive mode only one more keyword is required</p>
<p class="pB1_Body1">
<p class="pB1_Body1">SW2(config-if)#int fas0/14<br />
SW2(config-if)#udld port aggressive</p>
<p class="pB1_Body1">
<p class="pB1_Body1">Using the show udld command you can check to make sure that udld is running as desired.</p>
<p class="pB1_Body1">
<p class="pB1_Body1">SW2#sh udld</p>
<p class="pB1_Body1">Interface Fa0/13<br />
&#8212;<br />
Port enable administrative configuration setting: Enabled / in aggressive mode<br />
Port enable operational state: Enabled / in aggressive mode<br />
Current bidirectional state: Bidirectional<br />
Current operational state: Advertisement &#8211; Single neighbor detected<br />
Message interval: 7<br />
Time out interval: 5</p>
<p class="pB1_Body1">Entry 1<br />
&#8212;<br />
Expiration time: 44<br />
Cache Device index: 1<br />
Current neighbor state: Bidirectional<br />
Device ID: CAT0640X09Y<br />
Port ID: Fa0/13<br />
Neighbor echo 1 device: CAT0825X28N<br />
Neighbor echo 1 port: Fa0/13</p>
<p class="pB1_Body1">Message interval: 15<br />
Time out interval: 5<br />
CDP Device name: SW1</p>
<p class="pB1_Body1">Interface Fa0/14<br />
&#8212;<br />
Port enable administrative configuration setting: Enabled / in aggressive mode<br />
Port enable operational state: Enabled / in aggressive mode<br />
Current bidirectional state: Bidirectional<br />
Current operational state: Advertisement &#8211; Single neighbor detected<br />
Message interval: 15<br />
Time out interval: 5</p>
<p class="pB1_Body1">Entry 1<br />
&#8212;<br />
Expiration time: 33<br />
Cache Device index: 1<br />
Current neighbor state: Bidirectional<br />
Device ID: CAT0640X09Y<br />
Port ID: Fa0/14<br />
Neighbor echo 1 device: CAT0825X28N<br />
Neighbor echo 1 port: Fa0/14</p>
<p class="pB1_Body1">Message interval: 15<br />
No timeout interval<br />
No CDP device name</p>
<p class="pB1_Body1">
<p class="pB1_Body1">The final configuration of the ports on either end looks like this:</p>
<p class="pB1_Body1">
<p class="pB1_Body1">interface FastEthernet0/13<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
udld port aggressive<br />
channel-group 1 mode desirable<br />
!<br />
interface FastEthernet0/14<br />
switchport trunk encapsulation dot1q<br />
switchport mode trunk<br />
udld port aggressive<br />
channel-group 1 mode desirable</p>
<p class="pB1_Body1">
<p class="pB1_Body1">Etherchannels are wonderful things and in the most part run without any hitches. However, I think that running some sort of protocol to help dynamically manage the participating interfaces and using UDLD to monitor for unidirectional failures is a good safeguard from situations such as the one described above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/06/25/udld-and-etherchannel-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco CMM for Catalyst 6500</title>
		<link>http://www.ccieuk.com/2009/04/22/cisco-cmm-for-catalyst-6500/</link>
		<comments>http://www.ccieuk.com/2009/04/22/cisco-cmm-for-catalyst-6500/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:40:04 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[Voice and IPT]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=78</guid>
		<description><![CDATA[I had the chance earlier today to look at the Cisco Communication Media Module for a Cisco Catalyst 6500. The module is used as a gateway in a Call Manager 4 cluster. The module takes up one module slot in the Catalyst 6500 and, depending on the particular module you need, it can come with [...]]]></description>
			<content:encoded><![CDATA[<p>I had the chance earlier today to look at the <a title="CMM" href="http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xy/archive/gtcmm.html" target="_self">Cisco Communication Media Modul</a><a title="CMM" href="http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xy/archive/gtcmm.html" target="_blank">e</a> for a Cisco Catalyst 6500. The module is used as a gateway in a Call Manager 4 cluster. The module takes up one module slot in the Catalyst 6500 and, depending on the particular module you need, it can come with either 6 E1 or T1 ports.</p>
<p>It&#8217;s the first time I&#8217;ve used this particular module but setting it up as an MGCP gateway is no different from setting up any other MGCP gateway. First of all to access the CMM module you use the session command from enable mode.</p>
<pre>6509#session slot 8 processor 0
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 127.0.0.80 ... Open</pre>
<pre>6509-VGW-CMM&gt;en
6509-VGW-CMM#</pre>
<p>The voice module is configured through IOS commands just the same as any other Cisco voice modules or cards. However, in this particular setup the endpoint configuration is controlled via Call Manager via MGCP.</p>
<p>To set up the CMM as an MGCP gateway to be controlled by Call Manager you need to issue the two following commands:</p>
<pre>ccm-manager config server <em>call_manager_ip_address</em>
ccm-manager config</pre>
<p>You can now add this gateway into Call Manager and start configuring the endpoints (or E1 ports) on the device from there. It&#8217;s a fairly straightfoward excercise. Just make sure you use the same name in the Call Manager configuration as you have given your gateway. <span id="more-78"></span></p>
<p>To add the Gateway in Call Manager select <strong>Device &gt; Gateway</strong> from the main menu. You should be presented with the Add a New Gateway configuration screen below. On this screen select <strong>Communications Media Module</strong> as the Gateway type and <strong>MGCP</strong> as the Device Protocol.</p>
<p><a href="http://www.ccieuk.com/wp-content/uploads/2009/04/cmmconfig1.jpg" target="_blank"><img class="alignleft size-thumbnail wp-image-99" title="cmmconfig1" src="http://www.ccieuk.com/wp-content/uploads/2009/04/cmmconfig1-150x150.jpg" alt="cmmconfig1" width="150" height="106" /></a></p>
<p>Click on the Next button and you should be presented with the Communications Media Module configuration page.  In the Domain Name field enter the hostname of the CMM module.</p>
<p><a href="http://www.ccieuk.com/wp-content/uploads/2009/04/cmmconfig2.jpg"><img class="alignleft size-thumbnail wp-image-103" title="cmmconfig2" src="http://www.ccieuk.com/wp-content/uploads/2009/04/cmmconfig2-150x150.jpg" alt="cmmconfig2" width="150" height="150" /></a>Select the WS-X660 for Module one and then select your particular sort of CMM. For our purposes we are using the WS-SVC-CMM-6E1.  After doing this the six E1 endpoints should appear in the configuration and be available for your to configure.</p>
<p>Here is a copy of the full Communications Media Module configuration once the E1 ports have been configured in Call Manager.</p>
<pre>version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CMM
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
!
no aaa new-model
!
resource policy
  policy transcode global
   system
   !
  !
!
clock summer-time bst recurring
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
ip cef
no ip domain lookup
!
isdn switch-type primary-net5
!
voice call send-alert
voice call convert-discpi-to-prog
voice rtp send-recv
voice dsp release early
!
voice service voip
!
!
!
!
!
!
!
!
!
!
!
!
call-history-mib retain-timer 500
call-history-mib max-size 500
!
!
controller E1 1/0
 clock source line secondary 5
 pri-group timeslots 1-31 service mgcp
!
controller E1 1/1
 clock source internal
 pri-group timeslots 1-31 service mgcp
!
controller E1 1/2
 clock source line primary
 pri-group timeslots 1-31 service mgcp
!
controller E1 1/3
 clock source line secondary 1
 pri-group timeslots 1-31 service mgcp
!
controller E1 1/4
 clock source line secondary 2
 pri-group timeslots 1-31 service mgcp
!
controller E1 1/5
 clock source line secondary 3
 pri-group timeslots 1-31 service mgcp
!
!
!
!
interface GigabitEthernet1/0
 ip address 10.xxx.xxx.xxx 255.255.255.248
 no ip proxy-arp
 no negotiation auto
 no keepalive
!
interface Serial1/0:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial1/1:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial1/2:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial1/3:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial1/4:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial1/5:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface FastEthernet3/0
 no ip address
 no ip proxy-arp
 shutdown
 full-duplex
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 GigabitEthernet1/0
!
no ip http server
no ip http secure-server
!
access-list 1 permit 10.xxx.xxx.xxx
snmp-server community ?????????? RO 1
!
control-plane
!
!
voice-port 1/0:15
 cptone GB
!
voice-port 1/1:15
 cptone GB
!
voice-port 1/2:15
 cptone GB
!
voice-port 1/3:15
 cptone GB
!
voice-port 1/4:15
 cptone GB
!
voice-port 1/5:15
 cptone GB
!
ccm-manager redundant-host 10.xxx.xxx.xxx
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 10.xxx.xxx.xxx 10.xxx.xxx.xxx
ccm-manager config
!
mgcp
mgcp call-agent 10.xxx.xxx.xxx 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
mediacard 4
 resource-pool trans dsps 1
 resource-pool transcode dsps 2
!
!
sccp local GigabitEthernet1/0
sccp ccm 10.xxx.xxx.xxx identifier 1 version 4.1
sccp ip precedence 1
sccp
!
sccp ccm group 3
 bind interface GigabitEthernet1/0
 associate ccm 1 priority 1
 associate profile 100 register M08ABC123456789
!
dspfarm
!
dspfarm profile 100 transcode
 rtp timeout 7200
 codec g711ulaw packetization-period 30
 codec g711alaw packetization-period 10
 codec g729r8 packetization-period 30
 codec g729ar8 packetization-period 10
 codec g723r63 packetization-period 30
 codec g723r53 packetization-period 30
 associate resource-pool 100
!</pre>
<p><em></em></p>
<p><em></em></p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/04/22/cisco-cmm-for-catalyst-6500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TechRepublic File System Video</title>
		<link>http://www.ccieuk.com/2009/04/19/techrepublic-file-system-video/</link>
		<comments>http://www.ccieuk.com/2009/04/19/techrepublic-file-system-video/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 10:39:08 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=71</guid>
		<description><![CDATA[The TechRepublic site is one of the very best on the web for IT resources and an excellent source of learning materials.  I came across a nice video presented by Bill Detwiler the other day called 10 Cisco IOS Router file management commands every Cisco admin should know. Most CCNA students I&#8217;ve taught in the last [...]]]></description>
			<content:encoded><![CDATA[<p>The TechRepublic site is one of the very best on the web for IT resources and an excellent source of learning materials.  I came across a nice video presented by Bill Detwiler the other day called <a title="File Management Video" href="http://blogs.techrepublic.com.com/itdojo/?p=420&amp;tag=nl.e099.dl090401&amp;tag=nl.e099" target="_blank">10 Cisco IOS Router file management commands every Cisco admin should know</a>. Most CCNA students I&#8217;ve taught in the last few years have experience of managing files and file systems through GUIs. Very few have used DOS or a Unix/Linux command line to do file management tasks and so they can struggle at first with managing files using IOS.  The video includes commands such as:</p>
<ul>
<li>dir</li>
<li>cd</li>
<li>copy</li>
<li>verify</li>
<li>fsck</li>
</ul>
<p>The video post also contains a link to a <a title="File Management Article" href="http://blogs.techrepublic.com.com/networking/?p=759" target="_blank">corresponding article </a>by David Davis that covers each of the commands in a little more detail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/04/19/techrepublic-file-system-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OSPF Passive Interface Command</title>
		<link>http://www.ccieuk.com/2009/04/18/ospf-passive-interface-command/</link>
		<comments>http://www.ccieuk.com/2009/04/18/ospf-passive-interface-command/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 10:47:41 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[CCIE Study]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[LAN Switching]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Technical Articles]]></category>
		<category><![CDATA[OSPF]]></category>

		<guid isPermaLink="false">http://www.ccieuk.com/?p=35</guid>
		<description><![CDATA[
I was recently asked by a client to help troubleshoot an issue they were having after upgrading the IOS on two of their core Cisco Catalyst 6509s. The two switches are connected together by three 1Gb fibre links that run about 500m between two buildings (Building A and B). Two of the links are bundled [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: left;">
<p>I was recently asked by a client to help troubleshoot an issue they were having after upgrading the IOS on two of their core Cisco Catalyst 6509s. The two switches are connected together by three 1Gb fibre links that run about 500m between two buildings (Building A and B). Two of the links are bundled together in an 802.1q Etherchannel. Only one vlan, 100, is allowed to cross the link and this vlan is used purely for traffic to and from a cluster of Call Manager 4 servers. The other link is a 1Gb layer 3 fibre link that is used for any other user traffic across the core switches.</p></div>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<p>Here is a high-level layout of the switches and their connections. All IP addresses and vlans have been changed from their original values.
</p></div>
<div class="mceTemp mceIEcenter">
<div id="attachment_37" class="wp-caption aligncenter" style="width: 421px"><img class="size-full wp-image-37" title="Network Layout" src="http://www.ccieuk.com/wp-content/uploads/2009/04/ospfpassive1.gif" alt="Network Layout" width="411" height="203" /><p class="wp-caption-text">Network Layout</p></div>
</div>
<p>The 6509s also have links to other core switches within the network, so if the layer 3 link goes down traffic should be routed through these other switches. <span id="more-35"></span></p>
<p>After the IOS upgrades took place users at Building B had reported that access to a server at Building A was slow or dropping out. The Layer 3 link was up with no errros reported and to the client everything looked fine.</p>
<p>After looking at the routing between both locations I discovered that the traffic was crossing the layer 2 etherchannel passing through the vlan 100 interfaces of both switches. The way the switches were configured, this route <em>was</em> the optimal path for traffic to flow through, although my client was adamant that this had not been the case before. To OSPF, the interior gateway protocol that was used, this path had the lowest cost (due to the higher available bandwidth), and so this path was chosen.</p>
<p><strong>Building A Switch</strong></p>
<p><strong></strong>interface Vlan100<br />
description ** IPTVoice_Server_Vlan **<br />
ip address 10.100.10.3 255.255.255.192<br />
no ip redirects<br />
ip route-cache flow<br />
standby 99 ip 10.100.10.1<br />
standby 99 preempt</p>
<p>router ospf 1<br />
!<br />
network 10.100.10.0 0.0.0.63 area 17</p>
<p><strong>Building B Switch</strong></p>
<p>interface Vlan100<br />
description ** IPT/IPCC Voice_Server_Vlan1 **<br />
ip address 10.100.10.2 255.255.255.192<br />
no ip redirects<br />
standby 99 ip 10.100.10.1<br />
standby 99 priority 105<br />
standby 99 preempt</p>
<p>router ospf 1<br />
!<br />
network 10.100.10.0 0.0.0.63 area 17</p>
<p>Another closer look showed that one of the interfaces of the Etherchannel on the Building A switch was showing a high amount of errors.  Replacing the fibre patch cable soon sorted the issue and users started reporting that all was well again with their connection to the server.</p>
<p>This, however, did not solve the mystery of user traffic suddenly passing over the Voice Server Vlan. A quick download of some archived configurations from Ciscoworks soon revealed what had happend. Before the IOS upgarde interface vlan 100 on Building A 6509 was <em>shutdown</em>. After some confused looks and some discussion, the only reason we could come up with for this being done was that when the voice server solution was deployed by an outside vendor, the vendor encountered the same problem of user traffic flowing over the etherchannel. The design documents stated that the link should only be used for voice server traffic and that HSRP should be up and running. The deployment engineers may have brought the link up and noticed user traffic flowing over it. Instead of working round the problem they may have found the easiest solution was to shut down one of the interface vlan 100 interfaces. I have left the matter of why the deployment was like this with my not so happy client to dicuss with the vendor.</p>
<p>Adjusting the ospf costs would not have made a difference in this case. The users and the users&#8217; servers were in ospf area 17, while the layer 3 link was a backbone link in area 0. Intra-area links will always be preferred over Inter-area ones. We could have, of  course, put the servers network in a different area but, the fastest and simplest solution I could come up with for this problem involved the ospf passive command. OSPF should only generally be run on transit links and I&#8217;ve used the passive command in many environments where layer 3 switches have lots of vlan intefaces that have formed braodaast network type adjancies. This also helps to cut down on CPU and memory usage.</p>
<p>The command is implement under the router ospf configuration mode and it&#8217;s an easy one to understand. To stop the two vlan 100 interfaces forming an adjaceny I only had to add it to one side of the link.</p>
<p><strong>Building A Switch</strong></p>
<p>router ospf 1<br />
!<br />
passive-interface Vlan100</p>
<p>That one command was enough to take down the ospf adjacency between the two Vlan 100 interfaces and stop the user traffic flowing across the link. The 10.100.100/24 subnet is still advertised out to the rest of the network and now HSRP is running as the designer planned, as both interfaces as are up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ccieuk.com/2009/04/18/ospf-passive-interface-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
