<?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; blocking</title>
	<atom:link href="http://aconaway.com/tag/blocking/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>Fri, 10 Feb 2012 02:36:56 +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>IIUC Notes &#8211; More Phone Features</title>
		<link>http://aconaway.com/2010/10/02/iiuc-notes-more-phone-features/</link>
		<comments>http://aconaway.com/2010/10/02/iiuc-notes-more-phone-features/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 17:58:49 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[voice]]></category>
		<category><![CDATA[640-460]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[after-hours]]></category>
		<category><![CDATA[blocking]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cert]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[iiuc]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1101</guid>
		<description><![CDATA[Today we discuss paging, after-hours call blocking, call accounting, and music on hold.]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Here are some more notes from my IIUC studies. &nbsp;As always, corrections requested.</p>
<div><strong>Paging</strong></div>
<ul>
<li>Broadcasts messages to a group for a one-way communication</li>
<li>Paging groups are used to limit which phones get the broadcast</li>
<li>Paging can be unicast or multicast
<ul>
<li>Unicast groups limited to 10 members</li>
<li>Multicast requires mcast support on the network</li>
</ul>
</li>
<li>Paging configurations can be unicast, multicast, or multiple-group</li>
</ul>
<blockquote>
<p>! &nbsp;Unicast Paging<br />
		! &nbsp;When 1044 is dialed, ephone 1 is paged<br />
		R1(config)#ephone-dn 44<br />
		R1(config-ephone-dn)#number 1044<br />
		R1(config-ephone-dn)#paging<br />
		R1(config-ephone-dn)#exit<br />
		R1(config)#ephone 1<br />
		R1(config-ephone)#paging-dn 44</p>
<p>! &nbsp;Multicast Paging<br />
		! &nbsp;When 1045 is dialed, ephone 2 is paged<br />
		R1(config)#ephone-dn 45<br />
		R1(config-ephone-dn)#number 1045<br />
		R1(config-ephone-dn)#paging ip 239.1.1.100 port 2000<br />
		R1(config-ephone-dn)#exit<br />
		R1(config)#ephone 2<br />
		R2(config)#paging-dn 45</p>
<p>! &nbsp;Multiple Group Paging<br />
		! &nbsp;When 1046 is dialed, both ephones 1 and 2 are dialed<br />
		R1(config)#ephone-dn 46<br />
		R1(config-ephone-dn)#number 1046<br />
		R1(config-ephone-dn)#paging group 44, 45</p>
</blockquote>
<ul>
<li>There is a limit of 10 DNs in the paging group.</li>
</ul>
<p><strong>After-hours Call Blocking</strong></p>
<ul>
<li>Allows you to configure time ranges and patterns that cannot be called during those ranges</li>
<li>Three steps
<ol>
<li>Defines days and/or hours that are considered after-hours</li>
<li>Specify patterns to be blocked</li>
<li>Create exemptions</li>
</ol>
</li>
</ul>
<blockquote>
<p>R1(config)#telephony-service<br />
		R1(config-telephony)#after-hours day mon 18:00 07:00 &lt;- afterhours = 6pm to 7am<br />
		R1(config-telephony)#after-hours day tue 18:00 07:00<br />
		R1(config-telephony)#after-hours day wed 18:00 07:00<br />
		R1(config-telephony)#after-hours day thu 18:00 07:00<br />
		R1(config-telephony)#after-hours day fri 18:00 07:00<br />
		&#8230;<br />
		R1(config-telephony)#after-hours date Dec 25 00:00 00:00 &lt;- Christmas is after hours<br />
		&#8230;<br />
		R1(config-telephony)#after-hours block pattern 1 91900&#8230;&#8230;. 7-24 &lt;- Pattern index 1 blocks 900 numbers 7day/24hours<br />
		R1(config-telephony)#after-hours block pattern 2 91&#8230;&#8230;&#8230;. &lt;- Pattern index 2 block all long distance after hours<br />
		&#8230;<br />
		R1(config-telephony)#login timeout 15 clear 18:00 &lt;- Allows logins for entering a PIN for after-hours exemption; times out in 15 minutes and clears at 18:00<br />
		R1(config-telephony)#exit<br />
		R1(config)#ephone 1<br />
		R1(config-ephone)#after-hours exempt &lt;- the boss&#39;s phone can call anywhere except the 7-24 patterns<br />
		R1(confg-ephone)#ephone 2<br />
		R1(config-ephone)#ping 1234 &lt;- Your phone can log in with this PIN for after-hours access</p>
</blockquote>
<ul>
<li>Phones have to be restarted or reset for the Login key to be enabled.</li>
</ul>
<p><strong>Call Accounting</strong></p>
<ul>
<li>It&#39;s important to see who is calling international numbers every day at lunch.</li>
<li>Call Detail Records (CDRs) record who called what number when for how long plus more stuff.</li>
<li>CME logs CDRs to the logging buffer, syslog, or both.</li>
<li>Logging buffers clear when a router loses power, but it may be better than nothing. &nbsp;&lt;- Don&#39;t do this ever! &nbsp;Get a syslog server!</li>
</ul>
<blockquote>
<p>R1(config)#logging buffer 512000 &lt;- Set the logging buffer size to 512000 bytes<br />
		R1(config)#dial-control-mib retain-timer 120 &lt;- Roll records out in 120 minutes<br />
		R1(config)#dial-control-mib max-size 100 &lt;- Only keep last 100 records</p>
</blockquote>
<ul>
<li>Sending to syslog allows you to keep more records</li>
</ul>
<blockquote>
<p>R1(config)#gw-accounting syslog<br />
		R1(config)#logging 192.168.0.2 &lt;- Log to this server</p>
</blockquote>
<ul>
<li>Account codes are used for billing.
<ul>
<li>Each department or unit can enter a code that appears in the CDR for use later.</li>
</ul>
</li>
<li>Users press the Acct key when the call is ringing or connected to enter their code.</li>
</ul>
<p><strong>Music on Hold</strong></p>
<ul>
<li>Do I have to explain what MoH is?</li>
<li>WAV or AU file in flash</li>
<li>Files must be G.711 or G.729
<ul>
<li>G.711 is recommended since it is of higher quality</li>
</ul>
</li>
<li>Can be delivered via unicast or multicast</li>
</ul>
<blockquote>
<p>R1(config-telephony)#moh piratedmusic.au &lt;- Plays a local audio file as MoH<br />
		R1(config-telephony)#multicast moh 239.1.1.15 port 2001 &lt;- multicast the MoH</p>
</blockquote>
<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/2010/10/02/iiuc-notes-more-phone-features/feed/</wfw:commentRss>
		<slash:comments>0</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>

