<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8854913</id><updated>2011-04-21T16:25:50.393-07:00</updated><title type='text'>CCIE Lab Quest</title><subtitle type='html'>Every step on the way</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8854913.post-111164340748383949</id><published>2004-10-26T13:40:00.000-07:00</published><updated>2005-05-07T23:26:26.260-07:00</updated><title type='text'>TCP Congestion Control</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;TCP header Structure:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. source port&lt;br /&gt;2. destination port&lt;br /&gt;3. sequence number&lt;br /&gt;4. ack number&lt;br /&gt;5. header length&lt;br /&gt;6. flags (SYN, ACK, FIN, PUSH, RST, URG)&lt;br /&gt;7. advertised window size&lt;br /&gt;8. checksum&lt;br /&gt;9. urgent pointer&lt;br /&gt;10. options&lt;br /&gt;11. padding&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;TCP segment size is limited by the MTU size.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;TCP windows size is the total number of octets that can be transmitted before an ACK is received. If the TCP windows size is big enough, multiple segments can be transmitted.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;strong&gt;TCP contains four congestion control algorithms:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;Slow Start&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;Congestion Avoidance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;Fast Retransmit&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;"&gt;Fast Recovery&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;1. Slow Start&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;Old TCPs would start a connection with the sender injecting multiple segments into the network, up to the window size advertised by the receiver. This is problematic If there are routers and slower links between the sender and the receiver, because intermediate routers may need to queue the packets, and may run out of space.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The algorithm to avoid this is called slow start. It adds another window to the sender's TCP: the congestion window, called "cwnd". When a new connection is established with a remote host, the congestion window is initialized to the size of one segment. Each time an ACK is received, the congestion window is doubled.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The sender can transmit up to the minimum of the congestion window and the advertised window. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;The congestion window is flow control imposed by the sender, while the advertised window is flow control imposed by the receiver. The former is based on the sender's assessment of perceived network congestion; the latter is related to the amount of available buffer space at the receiver for this connection.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2. Congestion Avoidance&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;The loss of a packet typically signals congestion on the network between the source and destination. There are two indications of packet loss: a timeout occurring and the receipt of duplicate ACKs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Congestion avoidance and slow start are independent algorithms with different objectives. But when congestion occurs TCP must slow down its transmission rate of packets into the network, and then invoke slow start to get things going again. In practice they are implemented together. Slow increases the window size exponentially, and congestion avoidance increases the window size linearly.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Congestion avoidance and slow start require that two variables be maintained for each connection: a congestion window, cwnd, and a slow start threshold size, ssthresh. &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;The combined algorithm operates as follows:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;1. Initialization for a given connection sets cwnd to one segment and ssthresh to 65535 bytes.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;2. Sender never sends out more than the minimum of cwnd and the receiver's advertised window.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;3. When congestion occurs (indicated by a timeout or the reception of 3 or more duplicate ACKs), one-half of the current window size (the minimum of cwnd and the receiver's advertised window, but at least two segments) is saved in ssthresh. Additionally, if the congestion is indicated by a timeout, cwnd is set to one segment (i.e., slow start).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;4. When new data is acknowledged by the other end, increase cwnd, but the way it increases depends on whether TCP is performing slow start or congestion avoidance. If cwnd is less than or equal to ssthresh, TCP is in slow start; otherwise TCP is performing congestion avoidance. Slow start continues until TCP is halfway to where it was when congestion occurred (since it recorded half of the window size that caused the problem in step 3), and then congestion avoidance takes over.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;3. Fast Retransmit&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;A duplicate ACK can be caused by a lost segment or just a reordering of segments. TCP assumes that if there is just a reordering of the segments, there will be only one or two duplicate ACKs before the reordered segment is processed, which will then generate a new ACK. If three or more duplicate ACKs are received in a row, it is a strong indication that a segment has been lost. TCP then performs a retransmission of what appears to be the missing segment, without waiting for a retransmission timer to expire.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;4. Fast Recovery&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;After fast retransmit sends what appears to be the missing segment, congestion avoidance, but not slow start is performed. This is the fast recovery algorithm. It is an improvement that allows high throughput under moderate congestion, especially for large windows.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;The reason for not performing slow start is that the receiver can only generate the duplicate ACK when another segment is received, which means there is still data flowing between the two ends, and TCP does not want to reduce the flow abruptly by going into slow start.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://www.faqs.org/rfcs/rfc2001.html"&gt;RFC 2001&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://www.faqs.org/rfcs/rfc2581.html"&gt;RFC 2581&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://www.faqs.org/rfcs/rfc1323.html"&gt;RFC 1323&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-111164340748383949?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/111164340748383949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=111164340748383949' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111164340748383949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111164340748383949'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/tcp-congestion-control.html' title='TCP Congestion Control'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-111164332302640684</id><published>2004-10-26T13:35:00.000-07:00</published><updated>2005-03-23T21:48:43.026-08:00</updated><title type='text'>Wireless LAN</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-111164332302640684?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/111164332302640684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=111164332302640684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111164332302640684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111164332302640684'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/wireless-lan.html' title='Wireless LAN'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-110913088475539884</id><published>2004-10-26T13:30:00.000-07:00</published><updated>2005-05-07T23:41:18.650-07:00</updated><title type='text'>T1 - line coding, framing and signaling</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;T1 uses either AMI (Alternate Mark Inversion) or B8ZS (Binary 8 Zero Substitution) line coding. A CSU/DSU is the device that converts the input digital signal into T1 line code.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;A T1 frame contains 24 8-bit time slots (also called channels) and a framing bit, which makes 193 bits in total, and transmit 8000 frames per second.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;T1 framing is either D4 Super Frame (SF) or Extended Super Frame (ESF). The difference is the number of signaling bits. A D4 SF is the packaging of 12 frames, while an ESF has 24 frames and additional signaling bits means more control capabilities. &lt;strong&gt;Two mechanisms can be activated when using D4 SF or ESF: synchronization mechanism, which is always activated, and signaling mechanism, which is optional.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;T1 can support voice, dedicated data or ISDN PRI:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;On a dedicated data T1 circuit, the signaling is not needed and therefore is disabled. SF or ESF framing bits are only used for synchronization.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;On a voice T1 circuit, however, signaling is required. SF/ESF framing bits are used for both synchronization and signaling. In-band signaling, CAS (channel associated signaling, also called robbed-bit signaling) is used because the voice quality will not be impacted by losing the least significant bit.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;On a ISDN PRI circuit, a D channel is used for out-of-band signaling, which is also called CCS (common channel signaling).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;CAS signaling can be either Ground/Loop or E&amp;amp;M Wink/Delay/Immediate.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;When using the T1 interfaces several modes of operation are available. These modes are listed below:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Unframed (UNF): A stream of bits at 1544 Kbs. No channels are associated to any specific group of bits. None of the mechanism described above is used.&lt;br /&gt;2. Superframe (SF): Data transferred using the SF format.&lt;br /&gt;3. SF + CAS&lt;br /&gt;4. ESF&lt;br /&gt;5. ESF + CAS&lt;br /&gt;6. ESF + FDL (Facility Data Link provides maintenance and supervisory control)&lt;br /&gt;7. ESF + CAS/CRC/FDL (CRC provides error monitoring capability)&lt;br /&gt;8. CCS: Can be used in each of the framed formats, by dedicating one channel (usually TS-24) for delivering the signaling messages, in a predetermined protocol.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-family:Arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/dial_c/dcchant.htm"&gt;Configuring Channelized E1 and T1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://jhunix.hcf.jhu.edu/~tnaugler/770.512/Common_files/CircuitSwitching/Hall/t1_frm.html"&gt;North American T1 Facilities&lt;/a&gt;&lt;br /&gt;&lt;br&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-110913088475539884?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/110913088475539884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=110913088475539884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/110913088475539884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/110913088475539884'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/t1-line-coding-framing-and-signaling.html' title='T1 - line coding, framing and signaling'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-110974382978713987</id><published>2004-10-26T13:28:00.000-07:00</published><updated>2005-03-23T21:49:09.630-08:00</updated><title type='text'>PSTN</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;SS7 is also known as Common Channel Signaling (CCS). It runs on a separate network that consists of Service Switching Point (SSP), Signal Transfer Point (STP) and Service Control Point (SCP).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;While CAS and Out-of-Band Signaling such as PRI are used on the edge of the PSTN network (between the CO switch and the PBX), SS7 is used on the core.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;SONET is a layer 2 protocol, similar to ATM, but more efficient.&lt;/span&gt; &lt;span style="font-family:arial;"&gt;IP over SONET needs to encapsulate IP into PPP first.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;ATM network can be built either upon fiber optic directly, or on top of SONET, which allows service providers to provide ATM service through a traditional SONET network.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;SONET is purely TDM based. Currently a fiber supports up to OC192 (10Gbps) data transmission rate with a single wavelength. With WDM/DWDM we essentially create multiple SONET rings on a single fiber (up to 128 wavelengths), and therefore multiple ADM is needed. With proper traffic grooming, we can reduce the number of ADMs therefore reduce the cost.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Voice Signaling: Loop-Start; Ground-Start; E&amp;M&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Loop-Start; Ground-Start and E&amp;M can be either analog or digital. When they are used as digital signaling, the different state is represented by the A, B, C, D bits of CAS.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The main difference between ground-start and loop-start signaling is that ground-start requires ground detection to occur in both ends of a connection before the tip and ring loop can be closed. This ensures that both ends are ready before the call can start.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;E&amp;amp;M does not creat a loop, it uses two separate lines - Ear Lead and Mouth Lead. And the voltage change on the E-Lead or M-Lead indicates the change of state.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/warp/public/788/signalling/net_signal_control.html"&gt;&lt;span style="font-family:arial;"&gt;Voice Signaling and Control&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.cisco.com/warp/public/788/voip/1stage2stage.html"&gt;&lt;span style="font-family:arial;"&gt;Understanding One-stage and Two-stage Dialing&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.cisco.com/warp/public/788/voip/direct_inward_dial.html"&gt;&lt;span style="font-family:arial;"&gt;Understanding DID&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;a href="http://lids.mit.edu/~modiano/papers/J14.pdf"&gt;SONET/WDM Taffic Grooming&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-110974382978713987?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/110974382978713987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=110974382978713987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/110974382978713987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/110974382978713987'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/pstn.html' title='PSTN'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-111562625052920681</id><published>2004-10-26T13:27:00.000-07:00</published><updated>2005-05-09T13:48:35.743-07:00</updated><title type='text'>Dialup Services</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;More information can be found at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/warp/public/793/access_dial/5300.html"&gt;Configuring PRI for Incoming Async and ISDN Calls&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/warp/public/471/mod-aux-exec.html"&gt;Configuring a Modem on the AUX Port for EXEC Dialin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/warp/public/793/access_dial/pppdialup.html"&gt;Configuring PPP Dialin with External Modems&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-111562625052920681?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/111562625052920681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=111562625052920681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111562625052920681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/111562625052920681'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/dialup-services.html' title='Dialup Services'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109951719927500054</id><published>2004-10-26T13:25:00.000-07:00</published><updated>2004-11-03T13:26:39.276-08:00</updated><title type='text'>IP Services and Management</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109951719927500054?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109951719927500054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109951719927500054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109951719927500054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109951719927500054'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/ip-services-and-management.html' title='IP Services and Management'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881673670596642</id><published>2004-10-26T11:52:00.000-07:00</published><updated>2006-06-14T12:17:57.186-07:00</updated><title type='text'>Switching</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;VTP&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Three VTP modes: server mode; client mode and transparent mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Extended VALNs can only be added under the transparent mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Trunking&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;802.1Q by default does not tag the native VLAN. ISL doesn't have native VLAN, it tags all VLANs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Cisco switches use DTP to negotiate trunk mode and encapsulation mode.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Etherchannel&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Two etherchannel negotiation protocols: Cisco's proprietary PAgP and industry standard LACP.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Two switches will form etherchannel with the following modes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;on - on &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;(no PAgP or LACP)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;auto - desirable &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;(desirable side initiates PAgP negotiation)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;desirable - desirable&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;active - passive &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;(active side initiates LACP negotiation)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;active - active&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Connfiguration on all channel member interfaces has to be identical in order to form the etherchannel.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;By defult etherchannel load balance base on source addresses. Depending on the traffic pattern, this can be changed to destination based to achieve better load balancing.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Spanning Tree&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Spanning Tree has three steps:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Select Root Bridge&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;A bridge ID consists of bridge priority and bridge MAC address. The switch with the lowest bridge ID becomes the root.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Select Root Port&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Port cost, upstream neighbor's bridge ID, port priority, and port ID are used to select the root port (in that order).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Note: when selecting root port, it is upstream neighbor's port priority that we are comparing. So the port priority affects downstream neighbor, while port cost affects the local switch itself and all its downstream switches, because port cost is accumulative.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;3. Select Designated Port&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Spanning tree &lt;em&gt;root guard&lt;/em&gt; will block a port from which a superior bpdu is received. It may also prevent spanning tree problem when there is a uni-directional fiber failure.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;When using spanning tree port-fast, should also enable &lt;em&gt;&lt;span style="font-family:arial;"&gt;bpdu guard&lt;/span&gt;&lt;/em&gt; on the port.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;802.1x&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;Two steps to configure 802.1x:&lt;br /&gt;&lt;br /&gt;1. Use &lt;span style="font-family:courier new;"&gt;aaa authentication dot1x default group radius &lt;span style="font-family:arial;"&gt;or&lt;/span&gt; tacacs+&lt;/span&gt; in the global mode.&lt;br /&gt;&lt;br /&gt;2. on the switch port enter &lt;span style="font-family:courier new;"&gt;dot1x port-control auto&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Private VLAN&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Private VLAN, also known as protected ports, is normally used in DMZ. Protected ports cannot communicate with each other, however they can communicate with unprotected ports in the same VLAN.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface fastethernet0/1&lt;br /&gt;Switch(config-if)# switchport protected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Port Blocking&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;It's used to prevent unknown unicast or multicast traffic from being forwarded from one port to another. Port blocking can be configured on a protected or nonprotected port.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface gigabitethernet0/1&lt;br /&gt;Switch(config-if)# switchport block multicast&lt;br /&gt;Switch(config-if)# switchport block unicast&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Storm Control&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Storm control prevents traffic on a LAN from being disrupted by a broadcast, a multicast, or a unicast storm on one of the physical interfaces.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface fastethernet0/1&lt;br /&gt;Switch(config-if)# storm-control unicast level 87 65&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface fastethernet0/1&lt;br /&gt;Switch(config-if)# storm-control broadcast level 20&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Port Security&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Port security is used to restrict input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;&lt;/span&gt;Access Control List&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Switch ACLs include IP ACLs; MAC ACLs - which can be used to filter non-IP traffic; and VLAN ACLs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Below is an sample configuration of IP ACL:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# access-list 102 permit tcp any 128.88.0.0 0.0.255.255 gt 1023&lt;br /&gt;Switch(config)# access-list 102 permit tcp any host 128.88.1.2 eq 25&lt;br /&gt;Switch(config)# access-list 102 permit icmp any any&lt;br /&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface gigabitethernet0/1&lt;br /&gt;Switch(config-if)# ip access-group 102 in&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;And here is the MAC ACL configuration:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# mac access-list extended mac1&lt;br /&gt;Switch(config-ext-macl)# deny any any decnet-iv&lt;br /&gt;Switch(config-ext-macl)# permit any any&lt;br /&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# interface gigabitethernet0/3&lt;br /&gt;Switch(config-if)# mac access-group mac1 in&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Finally the VLAN ACL configuration, remember there is an unexplicit deny any at the end:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# ip access-list extended SERVER1_ACL&lt;br /&gt;Switch(config-ext-nacl))# permit ip 10.1.2.0 0.0.0.255 host 10.1.1.100&lt;br /&gt;Switch(config-ext-nacl))# permit ip host 10.1.1.4 host 10.1.1.100&lt;br /&gt;Switch(config-ext-nacl))# permit ip host 10.1.1.8 host 10.1.1.100&lt;br /&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Switch(config)# vlan access-map SERVER1_MAP&lt;br /&gt;Switch(config-access-map)# match ip address SERVER1_ACL&lt;br /&gt;Switch(config-access-map)# action drop&lt;br /&gt;Switch(config)# vlan access-map SERVER1_MAP 20&lt;br /&gt;Switch(config-access-map)# action forward&lt;br /&gt;Switch(config-access-map)# exit&lt;br /&gt;&lt;/span&gt;&lt;a name="wp1171386"&gt;&lt;/a&gt;&lt;span style="font-family:courier new;"&gt;!&lt;br /&gt;Switch(config)# vlan filter SERVER1_MAP vlan-list 10-20&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;Note: VLAN ACL is processed before the router ACL, below is the process flow.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/hello/143/956/480/VLAN-ACL.0.jpg"&gt;&lt;img class="phostImg" src="http://photos1.blogger.com/hello/143/956/480/VLAN-ACL.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;UDLD&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;UDLD can be used to detect uni-directional fiber problem. UDLD has two modes: enable mode and aggressive mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;Fallback Bridging&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Fallback bridging is to support non-routable legacy protocols across different VLANs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12225see/scg/index.htm"&gt;&lt;span style="font-family:arial;"&gt;Catalyst 3550 Configuration Guide&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881673670596642?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881673670596642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881673670596642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881673670596642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881673670596642'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/switching.html' title='Switching'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881667461011140</id><published>2004-10-26T11:50:00.001-07:00</published><updated>2006-06-14T13:17:22.000-07:00</updated><title type='text'>QoS</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ToS, Precendence and DSCP Mapping&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ToS/Precedence and DSCP are both using the 8-bit Type of Service field in the IP header.&lt;br /&gt;&lt;br /&gt;ToS/Precedence:&lt;br /&gt;P2 P1 P0 T2 T1 T0 U U&lt;br /&gt;&lt;br /&gt;DSCP (DiffServ Code Point):&lt;br /&gt;D5 D4 D3 D2 D1 D0 U U&lt;br /&gt;&lt;br /&gt;where T2 is Delay, T1 is Throughput, T0 is Reliability, U is unused.&lt;br /&gt;&lt;br /&gt;DiffServ utilizes the same IP precedence bits, plus offers finer priority granularity with the next three bits (D0 is always 0, so it's actually two bits).&lt;br /&gt;&lt;br /&gt;D5, D4 and D3 defines the class - 101 is class EF and 001, 010, 011, 100 are class AF.&lt;br /&gt;&lt;br /&gt;Class EF doesn't have subclass, but class AF support subclass using D2 and D1 bits.&lt;br /&gt;&lt;br /&gt;For instance af21 is 010010, basically af2 is the main class, while 1 is the subclass (Note: the last bit is D0, which is always 0). Below is the complete mapping list.&lt;br /&gt;&lt;br /&gt;&lt;0-63&gt; Differentiated services codepoint value&lt;br /&gt;af11 Match packets with AF11 dscp (001010)&lt;br /&gt;af12 Match packets with AF12 dscp (001100)&lt;br /&gt;af13 Match packets with AF13 dscp (001110)&lt;br /&gt;af21 Match packets with AF21 dscp (010010)&lt;br /&gt;af22 Match packets with AF22 dscp (010100)&lt;br /&gt;af23 Match packets with AF23 dscp (010110)&lt;br /&gt;af31 Match packets with AF31 dscp (011010)&lt;br /&gt;af32 Match packets with AF32 dscp (011100)&lt;br /&gt;af33 Match packets with AF33 dscp (011110)&lt;br /&gt;af41 Match packets with AF41 dscp (100010)&lt;br /&gt;af42 Match packets with AF42 dscp (100100)&lt;br /&gt;af43 Match packets with AF43 dscp (100110)&lt;br /&gt;cs1 Match packets with CS1(precedence 1) dscp (001000)&lt;br /&gt;cs2 Match packets with CS2(precedence 2) dscp (010000)&lt;br /&gt;cs3 Match packets with CS3(precedence 3) dscp (011000)&lt;br /&gt;cs4 Match packets with CS4(precedence 4) dscp (100000)&lt;br /&gt;cs5 Match packets with CS5(precedence 5) dscp (101000)&lt;br /&gt;cs6 Match packets with CS6(precedence 6) dscp (110000)&lt;br /&gt;cs7 Match packets with CS7(precedence 7) dscp (111000)&lt;br /&gt;default Match packets with default dscp (000000)&lt;br /&gt;ef Match packets with EF dscp (101110)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FR Traffic Shaping:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Traffic shaping will initially allocate full tokens to the interface, after they are used up, tokens will have to be earned.&lt;br /&gt;&lt;br /&gt;FR traffic shaping’s &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;CIR&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; is actually the target rate, not provider’s &lt;span style="font-family:arial;"&gt;CIR&lt;/span&gt;, normally it’s greater than provider’s CIR.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;minCIR&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; (if not specified, by default &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;minCIR = 1/2 CIR&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;) is provider’s CIR. &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;minCIR&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; should only be used in conjunction with adaptive shaping.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Bc (bits) = CIR * Tc&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Be&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; (bits) is actually the size of a token bucket, which saves all the unused &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Bc&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; bits from previous intervals (initially &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Be&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; bucket is full). If&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt; Be&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; bucket is full, no more unused &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Bc&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; bits can be saved. The available bits in the &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Be&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; bucket is the number of bits that can be sent out above &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;Bc&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; during any given interval. &lt;em&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Be&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; can only be used once per second - during the first &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; in the 1-second period.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; by default is 1/8 second on a link slower than 640Kbps, and 1/16 second on a link faster than 640Kbps. Maximum &lt;em&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; valus is 125ms, and minimum &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; value is 10ms.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Note: when there is a time sensitive traffic, use the smallest &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; value to prevent high priority packets from waiting a long interval for the next &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;Tc&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Traffic shaping has its own queue, which is separate from the outbound interface queue. The &lt;em&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;traffic shaping queue&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; can hold 40 packet by default (the range is 1-1024).&lt;br /&gt;&lt;br /&gt;When there is a congestion, the receiver will get packets with &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;FECN&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; bit marked, and the returning traffic back to the sender will have the &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;BECN&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; bit marked. The problem is if the receiver never sends any packet back, the sender won’t get any &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;BECN&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;frame-relay fecn-adapt&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; command forces the receiver to send a packet back whenever it receives a &lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;em&gt;FECN&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; packet.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;In the below example, CLASS_1 will be applied on PVC 504, CLASS_2 will be applied on PVC 503, and CLASS_3 will be applied on PVC502.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Serial 0/0&lt;br /&gt;encapsulation frame-relay&lt;br /&gt;frame-relay traffic-shaping&lt;br /&gt;frame-relay class CLASS_1&lt;br /&gt;!&lt;br /&gt;interface Serial 0/0.1 point-to-point&lt;br /&gt;ip address 10.0.1.1 255.255.255.0&lt;br /&gt;frame-relay interface-dlci 504&lt;br /&gt;!&lt;br /&gt;interface Serial 0/0.2 multipoint&lt;br /&gt;ip address 10.0.2.1 255.255.255.0&lt;br /&gt;frame-relay class CLASS_2&lt;br /&gt;frame-relay map 10.0.2.2 502 broadcast&lt;br /&gt;frame-relay map 10.0.2.3 503 broadcast&lt;br /&gt;frame-relay interface-dlci 502&lt;br /&gt;class CLASS_3 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt4/qcfpolsh.htm#22120"&gt;&lt;span style="font-family:arial;"&gt;Frame Relay Traffic Policing&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk39/tk51/technologies_tech_note09186a0080102a42.shtml"&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;ATM Traffic Shaping&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881667461011140?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881667461011140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881667461011140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881667461011140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881667461011140'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/qos_26.html' title='QoS'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881661614648349</id><published>2004-10-26T11:49:00.001-07:00</published><updated>2004-10-26T11:50:16.146-07:00</updated><title type='text'>Route Redistribution</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881661614648349?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881661614648349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881661614648349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881661614648349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881661614648349'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/route-redistribution.html' title='Route Redistribution'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881656883592314</id><published>2004-10-26T11:49:00.000-07:00</published><updated>2005-04-18T20:46:51.470-07:00</updated><title type='text'>BGP</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;How does BGP prevent routing loop?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· Check AS path for the eBGP routes&lt;br /&gt;· BGP routes learned from an iBGP neighbor will not be advertised to another iBGP neighbor (unless it’s a route reflector)&lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881656883592314?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881656883592314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881656883592314' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881656883592314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881656883592314'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/bgp.html' title='BGP'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881651945628211</id><published>2004-10-26T11:48:00.002-07:00</published><updated>2005-04-20T13:45:22.023-07:00</updated><title type='text'>OSPF</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;How OSPF works:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;OSPF routers send out Hello packets every 10 seconds (30 seconds for NBMA and Point-to-Multipoint networks) to negotiate a two-way neighbor relationship (in order to become neighbors, they must agree on certain parameters such as Hello interval and network types). A neighbor is declared down if no Hello packet is received within the dead-interval (by default 4 x Hello-interval).&lt;br /&gt;&lt;br /&gt;Adjacency is not necessarily established between all two-way neighbors (e.g. DOthers don't establish adjacency with each other).&lt;br /&gt;&lt;br /&gt;LSAs are sent to the adjacent neighbors. Neighbors first forward the received LSAs out to their own adjacent neighbors, then create their own topology databases based on these LSAs. This repeats until the LSAs are flooded throughout the whole area.&lt;br /&gt;&lt;br /&gt;Every router in the area builds SPF tree based on its own topology database and calculate the shortest path to every known destination.&lt;br /&gt;&lt;br /&gt;LSAs are retransmitted every 30 minutes with a incremental sequence number even there is no network topology change. LSAs will timeout after 60 minutes without receiving refresh LSAs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF multicast addresses:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· 224.0.0.5 is All OSPF routers&lt;br /&gt;· 224.0.0.6 is All DRouters (DR and BDR)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF network types:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Broadcast Network&lt;br /&gt;&lt;br /&gt;· elects DR and BDR&lt;br /&gt;· OSPF routers only become adjacent with DR/BDR&lt;br /&gt;· Hellos are sent to 224.0.0.5&lt;br /&gt;· LSAs are sent to 224.0.0.6, then DR floods them to 224.0.0.5&lt;br /&gt;&lt;br /&gt;2. Poin-to-Point Network&lt;br /&gt;&lt;br /&gt;· no DR/BDR election&lt;br /&gt;· neighbors always become adjacent&lt;br /&gt;· both Hellos and LSAs use 224.0.0.5&lt;br /&gt;&lt;br /&gt;3. Point-to-Multipoint Network&lt;br /&gt;&lt;br /&gt;· no DR/BDR election&lt;br /&gt;· multiple remote sites terminating on the same interface&lt;br /&gt;· creates a /32 host route for each neighbor (no need for complete frame-relay mapping)&lt;br /&gt;· essentially creates a group of point-to-point adjacencies&lt;br /&gt;· better alternative to NBMA&lt;br /&gt;&lt;br /&gt;4. Point-to-Multipoint non-broadcast Network&lt;br /&gt;&lt;br /&gt;· no DR/BDR election&lt;br /&gt;· variation from point-to-multipoint (it allows defining different cost for different neighbors)&lt;br /&gt;· neighbors need to be explicitly defined on the hub&lt;br /&gt;&lt;br /&gt;5. Non-broadcast Multi-access Network (NBMA)&lt;br /&gt;&lt;br /&gt;· elects DR and BDR&lt;br /&gt;· DR has to have direct pvc to every neighbor, need to explicitly set priority to 0 on all DOther routers&lt;br /&gt;· neighbors need to be explicitly defined on the DR (DOther doesn’t need neighbor definition)&lt;br /&gt;· essentially the DR will forward LSA among the Dothers&lt;br /&gt;· all OSPF packets are unicast&lt;br /&gt;&lt;br /&gt;6. Loopback Network&lt;br /&gt;&lt;br /&gt;· by default creates /32 host route for loopback interfaces&lt;br /&gt;&lt;br /&gt;7. Virtual Link Network&lt;br /&gt;&lt;br /&gt;· treated as point-to-point network&lt;br /&gt;· cannot run across a stub area&lt;br /&gt;· must be terminated on router ID instead of just any physical interface address.&lt;br /&gt;· different from tunneling in that the transitional routers will see the real destination address, which means the routers on the path in the transitional area must know how to route the packet&lt;br /&gt;· A virtual ink essentially creates two ABRs, and the routers on the path need to know how to reach the destination, therefore a virtual link cannot be built across a stub area.&lt;br /&gt;&lt;br /&gt;Note: Network types with DR/BDR are able to establish adjacency with each other (may need to adjust timer), and network types without DR/BDR are able to establish adjacency with each other. However they cannot mix match.&lt;br /&gt;&lt;br /&gt;When using non-broadcast network type, a complete frame-relay mapping statement has to be explicitly defined on all routers on the same NBMA subnet (even if there is no direct pvc between the two routers) because spoke A will see sopke B (not the DR) as the next hop for spoke B’s sunbets.&lt;br /&gt;&lt;br /&gt;Complete frame-relay mapping statement is not required for point-to-multipoint network type because it creates a /32 host route for each router, and spoke A’s next-hop for spoke B’s subets is the hub (because a point-to-multipoint network is treated as a group of point-to-point networks).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF interface state machine:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF neighbor state machine:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Down&lt;br /&gt;2. Init&lt;br /&gt;3. Two-way&lt;br /&gt;4. Ex-Start&lt;br /&gt;5. Exchange&lt;br /&gt;6. Loading&lt;br /&gt;7. Full&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF area types:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;· Transitional area&lt;br /&gt;· Backbone area&lt;br /&gt;· Stub area (doesn’t accept any external routes, only inter-area routes)&lt;br /&gt;· Totally stubby area (doesn’t even accept inter-area routes, only a default route)&lt;br /&gt;· NSSA area (only accept its own external routes and inter-area routes)&lt;br /&gt;· Totally NSSA area (only accept its own external routes and a default route)&lt;br /&gt;&lt;br /&gt;Note: ASBR of a NSSA area uses a P-bit (pass bit) to notify the ABR whether or not to translate the type 7 NSSA external LSAs into type 5 external AS LSAs and flood them throughout other areas. Cisco implementation always set P-bit to 1.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF LSA types: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;type 1 – router link LSA&lt;br /&gt;type 2 – network link LSA (generated by DR)&lt;br /&gt;type 3 – network summary LSA&lt;br /&gt;type 4 – ASBR summary LSA&lt;br /&gt;type 5 – external AS LSA&lt;br /&gt;type 6 – MOSPF LSA&lt;br /&gt;type 7 – external NSSA LSA&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF metric:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;cost = 10^8/bw&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;cost is only considered in one-direction (only the outgoing interfaces on the path towards the destination will be considered, which means the router interfaces at each end of a link can have different costs).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF route types&lt;/strong&gt; (in the order of preference):&lt;br /&gt;&lt;br /&gt;intra-area routes&lt;br /&gt;inter-area routes&lt;br /&gt;type 1 external routes&lt;br /&gt;type 2 external routes&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF packet types: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Hello packet&lt;br /&gt;LSA request packet&lt;br /&gt;LSA update packet&lt;br /&gt;LSA acknowledgement packet&lt;br /&gt;Database description packet (used during ExStart state)&lt;br /&gt;· I-bit (indicates the first DD packet)&lt;br /&gt;· M-bit (indicates more DD packets to come)&lt;br /&gt;· M/S-bit (indicates Master of the database sync process)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF stub router:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Similar to EIGRP stub router, the stub router will change its interfaces in the non-stub areas to infinity while keep the stub area interfaces unchanged.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSPF Demand Circuit:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;OSPF demand circuit suppresses both Hello packets and LSA refresh packets (LSAs learned across it will not age), but still floods LSA updates across it when there is a network topology change.&lt;br /&gt;&lt;br /&gt;More information can be found at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/warp/public/cc/pd/iosw/prodlit/osfn_tc.htm"&gt;OSPF Stub Router&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881651945628211?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881651945628211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881651945628211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881651945628211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881651945628211'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/ospf.html' title='OSPF'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881650710660840</id><published>2004-10-26T11:48:00.001-07:00</published><updated>2005-04-20T13:30:52.260-07:00</updated><title type='text'>IS-IS</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;IS-IS LSP packets are not IP packets (unlike OSPF LSAs). Therefore on the BRI, ATM and Frame Relay interface, we need to define layer 2 mapping for CLNS protocol.&lt;br /&gt;&lt;br /&gt;IS-IS LSP’s MaxAge is 20 minutes, and Refresh interval is 15 minutes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Level-1 and Level-2 Domain:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· IS-IS level-1 and level-2 domains are different from OSPF areas. A level-2 domain can have more than one areas in it.&lt;br /&gt;· A network can have multiple level-1 domains but only one level-2 domain.&lt;br /&gt;· A level-1 domain can only have one area. It is similar to OSPF Totally NSSA area. It will see intra-area routes, a default route from the L1/L2 router for inter-area destinations, and external routes.&lt;br /&gt;· A level-2 domain can have multiple different areas. It is similar to OSPF backbone area. And level-2 domain must be contiguous.&lt;br /&gt;&lt;br /&gt;Note: Level-1 can learn routes in a different area through IS-IS route leaking.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Areas and Level-1 and Level-2 Routers:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· IS-IS area is not defined on the interface but on the router itself using a CLNS NET address.&lt;br /&gt;· A level-1/level-2 or level-2 router is similar to OSPF ABR.&lt;br /&gt;· A level-1 router can be a ASBR but not ABR.&lt;br /&gt;· A level-2 router can have adjacency with other level-2 routers in different areas&lt;br /&gt;· A level-1 router can only establish adjacency with level-1 routers in the same area.&lt;br /&gt;· Two types of IS-IS adjacency: L1-L1 and L2-L2. Adjacency cannot be established between a level-1 router and a level-2 router.&lt;br /&gt;&lt;br /&gt;Note: When redistributing other routing protocols into IS-IS, you can choose whether to redistribute into level-1 or level-2.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CLNS NET Address: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· A CLNS NET address consists of three parts: &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;area_id.system_id.nsel&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;, in which &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;system_id&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; is 6 Bytes and &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;N-Selector&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; (nsel) is 1 Byte and its value is always 0x00.&lt;br /&gt;· A CLNS NET address always starts with a single Byte (e.g. 000A.0000.0000.0001.00 is not valid, but 00.000A.0000.0000.0001.00 is valid).&lt;br /&gt;· A CLNS NET address is in hex-decimal format. (so area 10 should be 0x0A).&lt;br /&gt;· A CLNS NET address length has to be consistent throughout the domain.&lt;br /&gt;· The first Byte of &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;area_id&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; is AFI, an AFI value of 0x49 means it’s private IS-IS address.&lt;br /&gt;· A router can only have one CLNS NET (Network Entity Title) address.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Network Types: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· Broadcast network (default type for any multipoint interface)&lt;br /&gt;· Point-to-Point network&lt;br /&gt;&lt;br /&gt;Note: Only interfaces with matching network types can establish adjacency. IS-IS does NOT support NBMA network, tunnel has to be created for this scenario.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Hello Packet Types: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· Level-1 LAN Hello&lt;br /&gt;· Level-2 LAN Hello&lt;br /&gt;· Serial Hello (level-1 and level-2 Hello on a point-to-point segment use are same)&lt;br /&gt;&lt;br /&gt;Note: IS-IS Hello packets will use padding to increase the packet size to MTU, and this may cause problem when using tunneling. This behavior can be disabled.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Designated Intermediate System: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· Unlike OSPF, IS-IS router on a broadcast/multi-access network will establish adjacency with not only the DIS, but all of its neighbors.&lt;br /&gt;· IS-IS doesn’t have BDR.&lt;br /&gt;· IS-IS DIS election is preemptive.&lt;br /&gt;· DIS is responsible for advertising the network out to the whole domain.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;LSP Option Bits: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;· ATT bit – attach bit, if set to 1 means the originating router is attached to multiple areas.&lt;br /&gt;· OL bit – overload bit, setting OL bit to 1 turns the originating router into a stub router, it will not be used as a transit router.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Three ways to include an interface into ISIS: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Enable isis on the interface&lt;br /&gt;2. Redistribute connected interface&lt;br /&gt;3. Use passive-interface in IS-IS for the interface&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IS-IS Metric: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The original metric is 1-63, and new metric is 1-16777214. This can be controlled by using the metric-style &lt;narrowwide&gt;command under IS-IS configuration.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IS-IS sample configuration: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;router isis&lt;br /&gt; net 49.000A.0000.0000.0001.00&lt;br /&gt;!&lt;br /&gt;interface Serial 0/0&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; frame-relay map clns 301 broadcast&lt;br /&gt; ip router isis&lt;br /&gt;!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Note: IS-IS has to be enabled under global config as well as under interface config.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881650710660840?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881650710660840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881650710660840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881650710660840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881650710660840'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/is-is.html' title='IS-IS'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881649475982162</id><published>2004-10-26T11:48:00.000-07:00</published><updated>2006-06-26T11:15:22.263-07:00</updated><title type='text'>EIGRP</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;EIGRP stub routing&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;EIGRP stub routing will suppress transit eigrp updates, it receives updates but will not passon to downstream neighbor.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;EIGRP route summarization&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;EIGRP allows you to summarize route on the interface level with command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip summary-address eigrp 100 144.1.0.0 255.255.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;it creates a static route for the summarized network pointing to the null0 interface.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;EIGRP metric&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[&lt;em&gt;&lt;strong&gt;K1&lt;/strong&gt;&lt;/em&gt;*BW + (&lt;strong&gt;&lt;em&gt;K2&lt;/em&gt;&lt;/strong&gt;*BW)/(256-Load) + &lt;strong&gt;&lt;em&gt;K3&lt;/em&gt;&lt;/strong&gt;*Delay] * [&lt;strong&gt;&lt;em&gt;K5&lt;/em&gt;&lt;/strong&gt;/(Reliability + &lt;strong&gt;&lt;em&gt;K4&lt;/em&gt;&lt;/strong&gt;)]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The default constant values are &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:courier new;"&gt;K1&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; = &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;em&gt;K3&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; = 1 and &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;em&gt;K2&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; = &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:courier new;"&gt;K4&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; = &lt;strong&gt;&lt;em&gt;&lt;span style="font-family:courier new;"&gt;K5&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; = 0.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;EIGRP metric can also be manually changed using &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;offset-list&lt;/strong&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;EIGRP timers&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip hello-timer eigrp 100 10&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;ip hold-timer eigrp 100 75&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;EIGRP distance&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;distance eigrp&lt;/strong&gt;&lt;/span&gt; command can assign different distances for internal eigrp routes learned from different neighbors (but for the internal eigrp routes ONLY, can't use different distances for external routes learned from different neighbors).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Default route redistribution&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Need to explicitly allow EIGRP to allow default route redistribution on the default route origin router.&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;default-information allowed inout&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;Load-balancing can be controlled with &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;variance&lt;/strong&gt;&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfeigrp.htm"&gt;&lt;span style="font-family:arial;"&gt;Configuring EIGRP&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881649475982162?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881649475982162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881649475982162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881649475982162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881649475982162'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/eigrp.html' title='EIGRP'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881648222250542</id><published>2004-10-26T11:47:00.000-07:00</published><updated>2004-10-26T11:48:02.223-07:00</updated><title type='text'>RIP v2</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881648222250542?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881648222250542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881648222250542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881648222250542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881648222250542'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/rip-v2.html' title='RIP v2'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-114850496681133049</id><published>2004-10-26T11:46:00.000-07:00</published><updated>2006-06-24T14:01:42.316-07:00</updated><title type='text'>Default Route and Classless Routing</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;By default, if a router receives a packet destined for a subnet it does not recognize, the router discards the packet. However when classless routing is enabled, instead of discarding the packet, the router forwards the packet to the best supernet route.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;There are three ways to define gateway of last resort:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip defaul-gateway&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip default-network&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip route 0.0.0.0 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The &lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;ip default-gateway&lt;/span&gt; &lt;/span&gt;&lt;span style="font-family:arial;"&gt;command differs from the other two commands. It should only be used when ip routing is disabled on the Cisco router.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The &lt;span style="font-family:courier new;"&gt;ip default-network&lt;/span&gt; command is classful. It must be issued using the major net, in order to flag the candidate default route. RIP, IGRP and EIGRP understand default-network, and will automatically redistribute it out.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;More information can be found at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094823.shtml"&gt;Route Selection in Cisco Routers&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-114850496681133049?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/114850496681133049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=114850496681133049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/114850496681133049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/114850496681133049'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/default-route-and-classless-routing.html' title='Default Route and Classless Routing'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881645183142798</id><published>2004-10-26T11:45:00.000-07:00</published><updated>2006-05-24T13:59:53.090-07:00</updated><title type='text'>Multicast</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;strong&gt;Multicast Addresses&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Multicast address is 224.0.0.0 - 239.255.255.255, within which 224.0.0.0 - 224.0.0.255 are used for LAN multicast. 239.0.0.0 - 239.255.255.255 are private multicast addresses similar to RFC 1918 addresses.&lt;br /&gt;&lt;br /&gt;Multicast address are class D addresses, therefore there are 28 bit effective address space. However ethernet only allocates half of an OUI address space, which is 23 bits (01:00:5E:0xxx xxxx.xx.xx), for multicast. Therefore multiple multicast IP addresses can be mapped to the same ethernet MAC address.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IGMP v1 and IGMP v2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;IGMP is used by hosts to report their group membership to the neighboring multicast routers. And IGMP Snooping and CGMP are used by the switches to determine the group membership of the switch ports.&lt;br /&gt;&lt;br /&gt;* IGMP v1 Query-Response Process&lt;br /&gt;&lt;br /&gt;1. ICMP Querier router periodically sends out membership query to All-Hosts address 224.0.0.1 on the local subnet.&lt;br /&gt;2. A host responds by sending membership report message to the group address it's a member of. And other hosts within the same group will suppress their report.&lt;br /&gt;&lt;br /&gt;IGMP v1 doesn't have join message, it uses unsolicited membership report message to join a group. IGMP v1 doesn't have querier election process, the PIM or DVMRP designated router is automatically used as IGMP v1 querier router.&lt;br /&gt;&lt;br /&gt;* IGMP v2 Leave Process&lt;br /&gt;&lt;br /&gt;1. A host sends a leave group message to All-Routers address 224.0.0.2.&lt;br /&gt;2. The querier sends out a group-specific query to the group address.&lt;br /&gt;3. If there is any other host left in the group, it will respond to the group-specific query.&lt;br /&gt;&lt;br /&gt;IGMP v2 has Querier Election, Leave Group Message and Group-specific Query.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Multicast Routing Protocols&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PIM, DVMRP, CBT and MOSPF are the multicast protocol used among the routers.&lt;br /&gt;&lt;br /&gt;* Dense mode multicast routing protocols: DVMRP and PIM-DM.&lt;br /&gt;* Sparse mode multicast routing protocols: PIM-SM and CBT.&lt;br /&gt;* Link-State multicast routing protocols: MOSPF.&lt;br /&gt;&lt;br /&gt;MOSPF is similar to Dense mode protocols. But instead of flooding and prunning multicast traffic, it floods out LSAs that identify the whereabouts of group members, i.e. receivers, in the network.&lt;br /&gt;&lt;br /&gt;Cisco IOS does not support complete DVMRP, but PIM interoperates with DVMRP. And Cisco PIM routers will propagate DVMRP routes and use the DVMRP routing table for RPF.&lt;br /&gt;&lt;br /&gt;Multicast RPF check is separate from the PIM, multicast routers may use unicast routing table, DVMRP multicast routing table or Multicast BGP routing table for RPF verification.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;(S,G)&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; is a source tree, also called Shortest Path Tree (SPT). It is used by Dense mode protocols.&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;(*,G)&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; is a shared tree from the RP. It is used only by Sparse mode protocols.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PIM-DM Assert&lt;/strong&gt; is similar to Spanning Tree's designated port election, it determines which PIM router on the LAN segment will be the forwarder for the incoming multicast traffic.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PIM DR&lt;/strong&gt; (Designated Router) is different concept. It determines which PIM router on the LAN segment will be forwarding the join message to the RP to build the shared tree.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881645183142798?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881645183142798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881645183142798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881645183142798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881645183142798'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/multicast.html' title='Multicast'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881653912997801</id><published>2004-10-26T11:44:00.001-07:00</published><updated>2006-05-24T13:58:52.133-07:00</updated><title type='text'>DLSW and Bridging</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881653912997801?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881653912997801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881653912997801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881653912997801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881653912997801'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/dlsw-and-bridging.html' title='DLSW and Bridging'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109881640937552552</id><published>2004-10-26T11:44:00.000-07:00</published><updated>2006-06-21T14:25:45.350-07:00</updated><title type='text'>ISDN Dial-On-Demand and PPP</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;ISDN&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Basic ISDN configuration:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn switch-type basic-ni&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn spid1 5272014&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 144.1.45.4 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer map ip 144.1.45.5 broadcast 5272015&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-list 1 protocol ip permit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;when a physical BRI interface uses PPP encapsulation, it becomes a point-to-point interface and therefore doesn't need dialer map.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn switch-type basic-ni&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn spid1 5272014&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 144.1.45.4 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer string 5272015&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;PPP&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;PPP authentication is unidirectional and is done independently by the two parties of the call. Two sides may use different authentication protocol. &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;We are going to demonstrate this in the following examples.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;1. A requires B to authenticate itself, but B doesn't require A to authenticate.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-A:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-B password CISCO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-B:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-A password CISCO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;alternatively we can configure the CHAP password on Router-B's interface instead of global config&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp chap password CISCO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;2. A uses CHAP to authenticate B and B uses PAP to authenticate A:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-A:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-B password CISCO-2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;ppp pap sent-username Router-A password CISCO-1&lt;/span&gt; (this is required for pap auth responder)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-B:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-A password CISCO-1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication pap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp chap password CISCO-2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Note: in the first example, even though only A requires authentication, password has to be configured on both routers. CHAP password has to match, because both parties creates a hash with it, so it's like a shared secret. However PAP password doesn't have to match on the two routers. PAP requires user name and password to be defined explicitly. See example below:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-A:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-B password CISCO-2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication pap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;ppp pap sent-username Router-A password CISCO-1&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Router-B:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;username Router-A password CISCO-1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication pap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp pap sent-username Router-B password CISCO-2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap [callincallout]&lt;/span&gt; uses the &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;callin&lt;/strong&gt;&lt;/span&gt; or &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;callout&lt;/strong&gt;&lt;/span&gt; keyword to authenticate only inbound or outbound calls.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Use &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;no peer neighbor-route&lt;/strong&gt;&lt;/span&gt; command to remove the /32 host route automatically added by PPP for the remote end host. This feature was originally designed to support dialup ISP - so that clients from different subnets can dial in the same dialer interface, and the hub router doesn't need the static routes for the remote clients. &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;However this feature may cause OSPF On-demand circuit to keep the ISDN call up.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;PPP can also assign IP address to the remote end router using &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ip address negotiated&lt;/strong&gt;&lt;/span&gt; command.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;When using OSPF with &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ppp multilink&lt;/strong&gt;&lt;/span&gt;, you need to hardcode bandwidth. Otherwise when the second B channel is activated/deactivated, OSPF will recalculate.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ppp reliable-link&lt;/strong&gt;&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;&lt;strong&gt;ppp quality&lt;/strong&gt;&lt;/span&gt; command will monitor packet loss and line error. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;PPP Callback and ISDN Callback&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;-PPP Callback Server-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 7.1.1.7 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer callback-secure &lt;/span&gt;&lt;span style="font-family:arial;"&gt;(optional, it drops inbound calls that don't require callback)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer enable-timeout 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer map ip 7.1.1.8 name atlanta class DIAL1 81012345678901&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp callback accept&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;map-class dialer DIAL1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer callback-server username&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;-PPP Callback Client-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface bri 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 7.1.1.8 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer map ip 7.1.1.7 name dallas 81012345678902&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp callback request&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Callback can also be achieved on the ISDN level using ISDN callback. ISDN callback happens before PPP negotiation, therefore there is no charge for the first call. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;int bri 0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn caller 5272015 callback&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Note: we can also use wildcard character &lt;span style="font-family:courier new;"&gt;x&lt;/span&gt; for instance &lt;span style="font-family:courier new;"&gt;isdn caller 527201x callback&lt;/span&gt;. And t&lt;/span&gt;&lt;span style="font-family:arial;"&gt;his command is also used for call screening besides callback.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;When a physical BRI interface is associated with multiple dialer interfaces, we can use PPP authentication to decide which dialer interface an incoming call should be bound to.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface dialer 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 10.0.0.1 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer pool 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer remote-name Rack1R4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer string 5272014&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface dialer 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip address 10.0.1.1 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer pool 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer remote-name Rack1R5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer string 5272015&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;dialer-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ppp authentication chap&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;or we can use ISDN caller screening feature to bind the incoming calls:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface dailer 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn caller 5272014&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface dialer 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;isdn caller 5272015&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Dial-On-Demand Backup&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;There are three dial backup methods:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Backup Interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. OSPF On-demand Circuit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Dialer Watch&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Note:&lt;/span&gt; &lt;span style="font-family:arial;"&gt;The backup interface will not work if the main interface is manually shutdown.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;When using dialer watch, the watched route must be mapped to a layer 2 dialer string.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Useful commands:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;show isdn status&lt;br /&gt;show isdn active&lt;br /&gt;isdn test call interface bri0/0 &lt;&lt;em&gt;remote_end_spid&lt;/em&gt;&gt;&lt;br /&gt;isdn test disconnect interface bri0/0 all&lt;br /&gt;debug isdn q931debug ppp negotiation&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109881640937552552?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109881640937552552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109881640937552552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881640937552552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109881640937552552'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/isdn-dial-on-demand-and-ppp.html' title='ISDN Dial-On-Demand and PPP'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8854913.post-109872071112060877</id><published>2004-10-25T09:10:00.000-07:00</published><updated>2004-11-17T20:19:51.420-08:00</updated><title type='text'>Certificate</title><content type='html'>&lt;p&gt;&lt;a href="http://photos1.blogger.com/img/143/956/1024/CCIE%20Certificate.jpg"&gt;&lt;img src="http://photos1.blogger.com/img/143/956/480/CCIE%20Certificate.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8854913-109872071112060877?l=routingandswitching.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://routingandswitching.blogspot.com/feeds/109872071112060877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8854913&amp;postID=109872071112060877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109872071112060877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8854913/posts/default/109872071112060877'/><link rel='alternate' type='text/html' href='http://routingandswitching.blogspot.com/2004/10/certificate.html' title='Certificate'/><author><name>- H -</name><uri>http://www.blogger.com/profile/12549360772839896894</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://farm1.static.flickr.com/157/392456209_dfbdbc5e08.jpg?v=0'/></author><thr:total>0</thr:total></entry></feed>
