<?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>Aaron&#039;s Worthless Words &#187; state</title>
	<atom:link href="http://aconaway.com/tag/state/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:07:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>BGP Notes &#8211; Neighbor States</title>
		<link>http://aconaway.com/2011/06/07/bgp-notes-neighbor-states/</link>
		<comments>http://aconaway.com/2011/06/07/bgp-notes-neighbor-states/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 21:21:01 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccie]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[350-001]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[peer]]></category>
		<category><![CDATA[state]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1650</guid>
		<description><![CDATA[Corrections appreciated.]]></description>
			<content:encoded><![CDATA[<p>Corrections appreciated.</p>
<p><strong>Idle </strong>: There is no relationship, but the router sends out a TCP SYN to the neighbor to get the ball rolling.</p>
<p><strong>Idle (admin)</strong> : The neighbor is admined down.</p>
<p><strong>Connect </strong>: The router is waiting for the TCP connection to finish.  If the TCP connection finishes, the router sends an <em>open</em> and transitions to OpenSent.  If it times out, it transitions to Active.</p>
<p><strong>Active </strong>: The router tries to initiate a TCP connection.  If the TCP connection finishes, the router sends an <em>open</em> and transitions to OpenSent.</p>
<p><strong>OpenSent </strong>: The router is waiting for an <em>open</em> to be returned.  If one is received, the router transitions to OpenConfirm.</p>
<p><strong>OpenConfirm </strong>: The router is waiting for a keepalive.  If one arrives, the router transitions to Established.</p>
<p><strong>Established </strong>: The neighbor relationship is complete and <em>updates</em> are exchanged.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2011/06/07/bgp-notes-neighbor-states/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stubby Post &#8211; Changing the Prompt on the ASA</title>
		<link>http://aconaway.com/2011/01/19/stubby-post-changing-the-prompt-on-the-asa/</link>
		<comments>http://aconaway.com/2011/01/19/stubby-post-changing-the-prompt-on-the-asa/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 03:08:08 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[asa]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[context]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[primary]]></category>
		<category><![CDATA[priority]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[secondary]]></category>
		<category><![CDATA[standby]]></category>
		<category><![CDATA[state]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1339</guid>
		<description><![CDATA[RichardF commented on an article I wrote last November and mentioned the prompt command in the ASA.  I never set aside any time to research it, but I finally took the time today while waiting for a maintenance window.]]></description>
			<content:encoded><![CDATA[<p>RichardF commented on <a href="http://aconaway.com/2010/11/22/running-commands-on-a-standby-asa-from-the-active/">an article I wrote last November</a> and mentioned the <em>prompt</em> command in the ASA.&nbsp; I never set aside any time to research it, but I finally took the time today while waiting for a maintenance window.</p>
<p>This is one of those little things in life that make me happy.&nbsp; Since the active ASA always has the same hostname and IP address, I find it hard to keep track of to which firewall I&#39;m actually connected.&nbsp; That &quot;configurtions are no long in sync&quot; message you get when you <em>conf t</em> on the standby firewall really irks me.&nbsp; With the <em>prompt</em> command, I can see which firewall I&#39;m on and in what state it is.</p>
<p>Here are the options you can use.</p>
<blockquote>
<p>firewall(config)# prompt ?</p>
<p>		configure mode commands/options:<br />
		&nbsp; context&nbsp;&nbsp; Display the context in the session prompt (multimode only)<br />
		&nbsp; domain&nbsp;&nbsp;&nbsp; Display the domain in the session prompt<br />
		&nbsp; hostname&nbsp; Display the hostname in the session prompt<br />
		&nbsp; priority&nbsp; Display the priority in the session prompt<br />
		&nbsp; state&nbsp;&nbsp;&nbsp;&nbsp; Display the traffic passing state in the session prompt</p>
</blockquote>
<p>Note that the command is similar to the <em>service timestamps</em> in IOS where you can stack options.&nbsp; I wound up setting my prompts to &quot;hostname priority state&quot; so I can see that information without having to do a <em>show failover</em>.&nbsp; If you run contexts, I&#39;m sure that would be a good one to include as well.&nbsp; I imagine adding &quot;domain&quot; may make the prompt too long for use, though.&nbsp; Heh.</p>
<p>Send any <strike>candy hearts</strike> questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2011/01/19/stubby-post-changing-the-prompt-on-the-asa/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BCMSN Notes &#8212; STP States</title>
		<link>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/</link>
		<comments>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:49:20 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bcmsn]]></category>
		<category><![CDATA[blocking]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[listening]]></category>
		<category><![CDATA[spanning tree]]></category>
		<category><![CDATA[state]]></category>
		<category><![CDATA[stp]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=340</guid>
		<description><![CDATA[I&#8217;ve decided to take on the CCNP certification, so I&#8217;m going to wind up with a few posts will be more my own notes than anything.  :) A switch port on a 2960 comes up with a default configuration on VLAN 1.  What happens from the perspective of spanning-tree? First, the port comes up on blocking mode.  This is to make sure that loops aren&#8217;t created without first listening to the network to see what&#8217;s going on. Next, if the port may be a root or designated port, the port is moved to the listening state.  In this state, the port can send and receives BPDUs only.  It can&#8217;t send traffic, but it can discover the other switches participating in STP. After the forwarding delay, the port goes into the learning state.   In this state, the port can send and receive BPDUs as in listening, but it can now receive traffic.  It can&#8217;t yet send any. After the forwarding delay again, the port goes into the forwarding state.  The port can now send and receive data. If the port is configured with spanning-tree portfast, the mode goes from blocking directly to forwarding without going through these steps.  Obviously you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to take on the CCNP certification, so I&#8217;m going to wind up with a few posts will be more my own notes than anything.  :)</p>
<p>A switch port on a 2960 comes up with a default configuration on VLAN 1.  What happens from the perspective of spanning-tree?</p>
<ul>
<li>First, the port comes up on <strong>blocking </strong>mode.  This is to make sure that loops aren&#8217;t created without first listening to the network to see what&#8217;s going on.</li>
<li>Next, if the port may be a root or designated port, the port is moved to the <strong>listening </strong>state.  In this state, the port can send and receives BPDUs only.  It can&#8217;t send traffic, but it can discover the other switches participating in STP.</li>
<li>After the forwarding delay, the port goes into the <strong>learning </strong>state.   In this state, the port can send and receive BPDUs as in listening, but it can now receive traffic.  It can&#8217;t yet send any.</li>
<li>After the forwarding delay again, the port goes into the <strong>forwarding </strong>state.  The port can now send and receive data.</li>
</ul>
<p>If the port is configured with <em>spanning-tree portfast</em>, the mode goes from <strong>blocking </strong>directly to <strong>forwarding </strong>without going through these steps.  Obviously you don&#8217;t want a switch plugged into a port configured for portfast since you may wind up with a loop.</p>
<p>Here&#8217;s the <em>debug spanning-tree events</em> output from one of my labs.  F0/3 is configured for portfast.  I <em>shut</em>/<em>no shut</em> it to see what happens.</p>
<blockquote>
<pre>*Mar  8 18:09:51.163: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
sw01#
*Mar  8 18:09:51.747: set portid: VLAN0007 Fa0/3: new port id 8003
*Mar  8 18:09:51.747: STP: VLAN0007 Fa0/3 -&gt;jump to forwarding from blocking
sw01#
*Mar  8 18:09:53.739: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  8 18:09:54.739: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up</pre>
</blockquote>
<p>Notice the &#8220;jump to forwarding from blocking&#8221;.</p>
<p>Here&#8217;s the same output when the port is not in portfast mode.  Notice the timestamps.  It takes about 30 seconds (2 x default foward delay) to go from blocking to listening to learning to forwarding.</p>
<blockquote>
<pre>*Mar  8 18:13:05.313: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
sw01#
*Mar  8 18:13:06.013: set portid: VLAN0007 Fa0/3: new port id 8003
*Mar  8 18:13:06.013: STP: VLAN0007 Fa0/3 -&gt; listening
sw01#
*Mar  8 18:13:06.381: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  8 18:13:07.381: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
sw01#
*Mar  8 18:13:21.013: STP: VLAN0007 Fa0/3 -&gt; learning
sw01#
*Mar  8 18:13:36.013: STP: VLAN0007 Fa0/3 -&gt; forwarding</pre>
</blockquote>
<p>Send any obvious corrections and questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

