<?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; OSPF</title>
	<atom:link href="http://www.ccieuk.com/tag/ospf/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>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>
