<?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-6193417800921617897</id><updated>2012-02-02T00:41:30.946-08:00</updated><category term='vtp'/><category term='logging'/><category term='Point-to-multipoint'/><category term='bgp'/><category term='bgp regexp'/><category term='books'/><category term='qos'/><category term='route redistribution'/><category term='ospf'/><category term='priority-queuing'/><category term='general'/><category term='prefix-list'/><category term='route filtering'/><category term='ip sla'/><category term='ppp'/><category term='nssa'/><category term='home lab'/><category term='telnet'/><category term='igmp'/><category term='rsvp'/><category term='ipexpert'/><category term='debug'/><category term='access-list'/><category term='ospfv3'/><category term='hsrp'/><category term='ios feature set'/><category term='L2 tunneling'/><category term='rip'/><category term='route convergence'/><category term='authentication'/><category term='object tracking'/><category term='3560 qos'/><category term='security'/><category term='administrative distance'/><category term='bgp neighbor options'/><category term='route table'/><category term='lab tips'/><category term='bgp community'/><category term='network management'/><category term='cbac'/><category term='ntp'/><category term='ipv6 tunneling'/><category term='nat'/><category term='3550 qos'/><category term='rpf check'/><category term='switching'/><category term='frame-relay'/><category term='bgp confederation'/><category term='vrrp'/><category term='wccp'/><category term='eigrp'/><category term='snmp'/><category term='mock lab'/><category term='redistribution'/><category term='ppp over frame'/><category term='voice vlan'/><category term='msdp'/><category term='conditional routing'/><category term='ipv6'/><category term='multicast'/><category term='accounting'/><category term='route summarization'/><title type='text'>CCIE TO BE</title><subtitle type='html'>&lt;b&gt;learning to fly&lt;/b&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default?start-index=101&amp;max-results=100'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>196</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8716410922039971756</id><published>2009-03-03T05:57:00.000-08:00</published><updated>2009-03-03T05:59:34.350-08:00</updated><title type='text'>TO BE</title><content type='html'>On my way back home from San Jose. I want to thank those that follow this blog and especially IPexpert for all the help. Will right more soon :)&lt;br /&gt;&lt;br /&gt;-CCIE# 23707&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8716410922039971756?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8716410922039971756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/03/to-be.html#comment-form' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8716410922039971756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8716410922039971756'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/03/to-be.html' title='TO BE'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-9139956290057648800</id><published>2009-02-25T18:08:00.000-08:00</published><updated>2009-02-25T18:18:07.008-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>PIM NBMA, DR and RPF issues</title><content type='html'>Below is the topology. RIP is running everywhere, PIM-SM on all interfaces and everyone has R4 at 192.168.100.4 as the static RP.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SaX6LOQFO2I/AAAAAAAAAHk/J6wV9XQ7LAo/s1600-h/pim+nbma.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 331px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SaX6LOQFO2I/AAAAAAAAAHk/J6wV9XQ7LAo/s400/pim+nbma.jpg" alt="" id="BLOGGER_PHOTO_ID_5306922806637050722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R1 has the following config on its LAN interface:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;interface Ethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; ip address 192.168.0.1 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; ip pim sparse-mode&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; ip igmp join-group 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Let's ping from R6:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R6#ping 239.0.0.1 re 5  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Sending 5, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;.....&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R6#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Hmmm....what gives? Let's look at R4:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#sho ip pim neighbor&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;PIM Neighbor Table&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Neighbor          Interface                Uptime/Expires    Ver   DR&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Address                                                            Prio/Mode&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;192.168.34.3      Ethernet0/0              03:29:50/00:01:39 v2    1 / S&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;192.168.100.2     Serial0/0                02:25:22/00:01:38 v2    1 / S&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;192.168.100.5     Serial0/0                02:25:22/00:01:39 v2    1 / DR S&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;192.168.100.1     Serial0/0                02:25:22/00:01:38 v2    1 / S&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#sho ip mroute 239.0.0.1 | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;(*, 239.0.0.1), 00:24:31/00:02:33, RP 192.168.100.4, flags: S&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Incoming interface: Null, RPF nbr 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;    Serial0/0, 192.168.100.2, Forward/Sparse, 00:24:31/00:02:33&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;(192.168.56.6, 239.0.0.1), 00:02:03/00:02:45, flags: T&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Incoming interface: Serial0/0, RPF nbr 192.168.100.5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;    Serial0/0, 192.168.100.2, Forward/Sparse, 00:02:03/00:00:57&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Well, it looks R2 is showing up in the OIL, but why isn't R1? It is a PIM neighbor afterall. The reason is because R2 has won the DR election and has the right to forward traffic. So it is the neighbor that sends PIM joins to R4. R1 receives the traffic, but it comes in on its LAN interface and thus fails the RPF check.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#debug ip mpacket &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP multicast packets debugging is on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03:40:21: IP(0): s=192.168.56.6 (Ethernet0/0) d=239.0.0.1 id=197, ttl=251, prot=1, len=114(100), not RPF interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03:40:23: IP(0): s=192.168.56.6 (Ethernet0/0) d=239.0.0.1 id=198, ttl=251, prot=1, len=114(100), not RPF interface&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is important to remember we have at least two ways to resolve this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;1) Make R1 the DR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R1(config)#int e0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R1(config-if)#ip pim dr-priority 3000&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R6#ping 239.0.0.1 re 1 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;Reply to request 0 from 192.168.100.1, 60 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R6#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R1(config-if)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;03:41:47: IP(0): s=192.168.56.6 (Serial0/0) d=239.0.0.1 (Ethernet0/0) id=207, ttl=252, prot=1, len=100(100), mforward&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;2) Static mroute to R2 for 192.168.56.6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#int e0/0               &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#no ip pim dr-priority 3000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#exit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#ip mroute 192.168.56.0 255.255.255.0 192.168.0.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Make sure to clear mroutes otherwise previous state may mislead you :)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#clear ip mroute *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#ping 239.0.0.1 re 1 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Reply to request 0 from 192.168.100.1, 56 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is one of those labs where I had no idea where I was going and I ended up with a nice troubleshooting scenario. If multicast is one your weaknesses than I highly recommend digging in and making something happen. Debug ip mpacket works best with "no ip mroute-cache" on your interfaces. In this scenario, I started troubleshooting on R5, then worked my way around to resolve the issue :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-9139956290057648800?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/9139956290057648800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/pim-nbma-dr-and-rpf-issues.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9139956290057648800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9139956290057648800'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/pim-nbma-dr-and-rpf-issues.html' title='PIM NBMA, DR and RPF issues'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SaX6LOQFO2I/AAAAAAAAAHk/J6wV9XQ7LAo/s72-c/pim+nbma.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7984162486439641045</id><published>2009-02-23T20:26:00.000-08:00</published><updated>2009-02-23T20:55:48.243-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>PIM Forwarder and the Assert Mechanism</title><content type='html'>I know, it's a cool name for a band, huh? Ladies and gentlemen...PIM Forwarder and the Assert Mechanism! Anyways, I always get confused about PIM DR and PIM Forwarder so this is to clear up my confusion. Here we take a look at PIM Forwarder and how to verify the assert process is working.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Here is the topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SaN6JZxuimI/AAAAAAAAAHc/8xwajt41fR8/s1600-h/pim+forwarder+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 331px; height: 400px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SaN6JZxuimI/AAAAAAAAAHc/8xwajt41fR8/s400/pim+forwarder+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5306219087929444962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Here is what I have enabled:&lt;/span&gt;&lt;br /&gt;-RIP on all interfaces&lt;br /&gt;-ip multicast-routing on all routers&lt;br /&gt;-ip pim sparse-dense on all interfaces&lt;br /&gt;-ip igmp join-group 239.0.0.1 on R5 ethernet&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For debugging:&lt;/span&gt;&lt;br /&gt;-no ip mroute-cache&lt;br /&gt;-debug ip mpacket&lt;br /&gt;-ping&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Scenario 1: R2 is the PIM Forwarder based on highest IP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From R4 we ping twice:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#ping 239.0.0.1 re 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Sending 2, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 0 from 192.168.0.5, 20 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 0 from 192.168.0.5, 20 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 1 from 192.168.0.5, 8 ms&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;On R1 and R2 we see the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 02:05:36.795: IP(0): s=192.168.34.4 (Serial0/1) d=239.0.0.1 (Ethernet0/0) id=70, ttl=253, prot=1, len=100(100), mforward&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;*Mar  2 02:05:36.799: IP(0): s=192.168.34.4 (Ethernet0/0) d=239.0.0.1 id=70, ttl=252, prot=1, len=114(100), not RPF interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 02:05:38.787: IP(0): s=192.168.34.4 (Ethernet0/0) d=239.0.0.1 id=71, ttl=252, prot=1, len=114(100), not RPF interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2#            &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;*Mar  1 02:25:00.567: IP(0): s=192.168.34.4 (Serial0/1) d=239.0.0.1 (Ethernet0/0) id=70, ttl=253, prot=1, len=100(100), mforward&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 02:25:00.571: IP(0): s=192.168.34.4 (Ethernet0/0) d=239.0.0.1 id=70, ttl=252, prot=1, len=114(100), not RPF interface&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;*Mar  1 02:25:02.559: IP(0): s=192.168.34.4 (Serial0/1) d=239.0.0.1 (Ethernet0/0) id=71, ttl=253, prot=1, len=100(100), mforward&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that each router sent the first packet onto the LAN and R5 responded to both. We can tell because R4 got two replies. What also happened is that R1 and R2 each saw that very same packet on their LAN interfaces. Immediately the PIM Assert process took over. Because both routers have the same AD (90) and metric (2) to the source, R2 won the right to forward based on highest IP.&lt;br /&gt;&lt;br /&gt;Next we see that the second packet only gets forwarded by R2. Here we see that R2 has the A (Assert Winner) flag in its mroute entry. R1 has pruned that same interface.&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2#sho ip mroute 239.0.0.1 192.168.34.4 | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;(192.168.34.4, 239.0.0.1), 00:00:39/00:02:26, flags: T&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Incoming interface: Serial0/1, RPF nbr 192.168.23.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;    Ethernet0/0, Forward/Sparse-Dense, 00:00:39/00:00:00, &lt;span style="color: rgb(255, 0, 0);"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#sho ip mroute 239.0.0.1 192.168.34.4 | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;(192.168.34.4, 239.0.0.1), 00:01:27/00:01:34, flags: PT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Incoming interface: Serial0/1, RPF nbr 192.168.13.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;    Ethernet0/0, Prune/Sparse-Dense, 00:01:27/00:01:32&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Scenario 2: R1 is the PIM Forwarder based on lowest AD&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we change R1's AD for RIP below the default of 120:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1(config)#router rip&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1(config-router)#distance 89&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;We see the same behavior from R4's perspective but now R1 has won the Assert process and is forwarding group 239.0.0.1 onto the LAN:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#ping 239.0.0.1 re 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Sending 2, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 0 from 192.168.0.5, 12 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 0 from 192.168.0.5, 12 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Reply to request 1 from 192.168.0.5, 8 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#sho ip mroute 239.0.0.1 192.168.34.4 | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;(192.168.34.4, 239.0.0.1), 00:00:07/00:02:54, flags: T&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Incoming interface: Serial0/1, RPF nbr 192.168.13.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;    Ethernet0/0, Forward/Sparse-Dense, 00:00:07/00:00:00, &lt;span style="color: rgb(255, 0, 0);"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7984162486439641045?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7984162486439641045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/pim-forwarder-and-assert-mechanism.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7984162486439641045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7984162486439641045'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/pim-forwarder-and-assert-mechanism.html' title='PIM Forwarder and the Assert Mechanism'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SaN6JZxuimI/AAAAAAAAAHc/8xwajt41fR8/s72-c/pim+forwarder+lab.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6323674559592047699</id><published>2009-02-23T15:12:00.000-08:00</published><updated>2009-02-23T15:55:24.851-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgp'/><title type='text'>How Route-Reflector clusters prevent loops</title><content type='html'>This is the topology I used to get familiar with the concept:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SaMuSaZLo0I/AAAAAAAAAHU/zVmRJTETsn4/s1600-h/route-reflector.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 235px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SaMuSaZLo0I/AAAAAAAAAHU/zVmRJTETsn4/s400/route-reflector.jpg" alt="" id="BLOGGER_PHOTO_ID_5306135679830041410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The idea is fairly easy to understand. You never want to learn routes from someone who learned them from you (directly or indirectly). I made the peers one by one to step through the process.&lt;br /&gt;&lt;br /&gt;Here is the route on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#sho ip bgp 200.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;BGP routing table entry for 200.0.0.0/8, version 12&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Paths: (1 available, best #1, table Default-IP-Routing-Table)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Advertised to update-groups:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     3         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  100, (Received from a RR-client)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    6.6.6.6 (metric 2) from 6.6.6.6 (6.6.6.6)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      Origin IGP, metric 0, localpref 100, valid, internal, best&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now on R2, we see the first case of the origintaor-id as set by R1. And we also see the beginning of the cluster-list:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#sho ip bgp 200.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;BGP routing table entry for 200.0.0.0/8, version 9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Paths: (1 available, best #1, table Default-IP-Routing-Table)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Advertised to update-groups:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     2         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    6.6.6.6 (metric 3) from 1.1.1.1 (1.1.1.1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      Origin IGP, metric 0, localpref 100, valid, internal, best&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      Originator: 6.6.6.6, Cluster list: 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R2 appends itself to the cluster-list before advertising to R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5#sho ip bgp 200.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;BGP routing table entry for 200.0.0.0/8, version 12&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Paths: (1 available, best #1, table Default-IP-Routing-Table)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;  Advertised to update-groups:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;     2         &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;  100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;    6.6.6.6 (metric 2) from 2.2.2.2 (2.2.2.2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;      Origin IGP, metric 0, localpref 100, valid, internal, best&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;      Originator: 6.6.6.6, Cluster list: 2.2.2.2, 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Eventually, these are the messages we get on R6 and R2, respectively.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R6#&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;*Mar  1 00:44:55.807: BGP(0): 5.5.5.5 rcv UPDATE about 201.0.0.0/8 -- DENIED due to: ORIGINATOR is us;&lt;br /&gt;*Mar  1 00:44:55.811: BGP(0): 5.5.5.5 rcv UPDATE about 200.0.0.0/8 -- DENIED due to: ORIGINATOR is us;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;*Mar  1 00:53:39.075: BGP(0): 3.3.3.3 rcv UPDATE about 201.0.0.0/8 -- DENIED due to: CLUSTERLIST contains our own cluster ID;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;*Mar  1 00:53:39.083: BGP(0): 3.3.3.3 rcv UPDATE about 200.0.0.0/8 -- DENIED due to: CLUSTERLIST contains our own cluster ID;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6323674559592047699?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6323674559592047699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/how-route-reflector-clusters-prevent.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6323674559592047699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6323674559592047699'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/how-route-reflector-clusters-prevent.html' title='How Route-Reflector clusters prevent loops'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/SaMuSaZLo0I/AAAAAAAAAHU/zVmRJTETsn4/s72-c/route-reflector.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6236884047156518054</id><published>2009-02-23T12:12:00.000-08:00</published><updated>2009-02-23T12:14:54.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3550 qos'/><title type='text'>My new favorite IOS message</title><content type='html'>I don't know what my previous one was, but this is the new one:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;R1(config-if)#traffic-shape rate 64000 ?    &lt;br /&gt; &lt;0-100000000&gt;  bits per interval, sustained&lt;br /&gt; &lt;cr&gt;&lt;br /&gt;R1(config-if)#traffic-shape rate 64000 640&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;less than 1000 bits in an interval doesn't make sense&lt;/span&gt;&lt;br /&gt;R1(config-if)#&lt;br /&gt;&lt;/cr&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6236884047156518054?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6236884047156518054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/my-new-favorite-ios-message.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6236884047156518054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6236884047156518054'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/my-new-favorite-ios-message.html' title='My new favorite IOS message'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2786934166782924371</id><published>2009-02-14T23:34:00.000-08:00</published><updated>2009-02-14T23:39:27.424-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='route redistribution'/><category scheme='http://www.blogger.com/atom/ns#' term='route summarization'/><category scheme='http://www.blogger.com/atom/ns#' term='rip'/><title type='text'>Watch the RIP metric when summarizing redistributed routes</title><content type='html'>I was reading through the GS archives and saw this interesting issue about the metrics of summarized routes after being redistributed into RIP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Scenario:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1---RIP---R2---OSPF---R5---5.5.5.5/32&lt;br /&gt;&lt;br /&gt;R2 is redistributing OSPF to RIP as follows:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2#sho run | sec router rip&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;router rip&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; version 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; redistribute ospf 1 metric 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; network 192.168.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt; no auto-summary&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;R1 has the following route:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#sho ip route | sec 5.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;     5.0.0.0/32 is subnetted, 1 subnets&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R       5.5.5.5 [120/&lt;span style="color: rgb(255, 0, 0);"&gt;2&lt;/span&gt;] via 192.168.0.2, 00:00:11, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;1) Manual Summary&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2(config)#int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2(config-if)#ip summary-address rip 5.0.0.0 255.0.0.0 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#sho ip route | sec 5.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R    5.0.0.0/8 [120/&lt;span style="color: rgb(255, 0, 0);"&gt;3&lt;/span&gt;] via 192.168.0.2, 00:00:01, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;The metric increased by 1.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;2) Auto-summary&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2(config-if)#router rip&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R2(config-router)#auto-summary &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R1#sho ip route | sec 5.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;R    5.0.0.0/8 [120/&lt;span style="color: rgb(255, 0, 0);"&gt;2&lt;/span&gt;] via 192.168.0.2, 00:00:05, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;The metric is the same as when redistributed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2786934166782924371?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2786934166782924371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/watch-rip-metric-when-summarizing.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2786934166782924371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2786934166782924371'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/watch-rip-metric-when-summarizing.html' title='Watch the RIP metric when summarizing redistributed routes'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7882274636547726403</id><published>2009-02-14T13:50:00.000-08:00</published><updated>2009-02-14T14:26:20.366-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><title type='text'>CCIE Assessor Lab Review</title><content type='html'>I don't know how much I can say about this so I will keep it brief. I purchased both assessor labs, one for today and one for tomorrow. I just completed the first one in about 2 hours. That left a good chunk of time to verify and run the assessment. I only missed two tasks and they were very simple mistakes.&lt;br /&gt;&lt;br /&gt;My one worry was that it would take awhile to get used to the topology and the web interface. I spent about 30 minutes last night reading the user guide and it was smooth transition getting used to the GUI and the controls. This should not worry you.&lt;br /&gt;&lt;br /&gt;I redrew a diagram and kept a task/point tracker. I read the lab before I started and first glanced seemed to be pretty easy. There are some things that will leave you scratching your head and that is good. The best part: There were no errors or typos in any tasks or drawings! :)&lt;br /&gt;&lt;br /&gt;The telnet sessions are Java based and you have to open one in each window and then arrange them on your screen. I opened R1 first, the moved on so they were arranged in my taskbar in order. I don't expect many difference for tomorrow's session, so hopefully I do good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7882274636547726403?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7882274636547726403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ccie-assessor-lab-review.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7882274636547726403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7882274636547726403'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ccie-assessor-lab-review.html' title='CCIE Assessor Lab Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8707413198987272625</id><published>2009-02-13T10:42:00.000-08:00</published><updated>2009-02-13T16:21:38.280-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='route filtering'/><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><title type='text'>OSPF filtering issue when virtual-links are present</title><content type='html'>Here is the topology I will start off with:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JlGUPVCvNQY/SZW_UlgGf0I/AAAAAAAAAHE/ftwDr46xYOY/s1600-h/ospf+filter1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 397px; height: 259px;" src="http://4.bp.blogspot.com/_JlGUPVCvNQY/SZW_UlgGf0I/AAAAAAAAAHE/ftwDr46xYOY/s400/ospf+filter1.jpg" alt="" id="BLOGGER_PHOTO_ID_5302354496683671362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R4 has two &lt;span style="font-weight: bold;"&gt;INTER&lt;/span&gt;-area routes to 1.1.1.1:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip route 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 1.1.1.1/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 4, type inter area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.45.5 on Serial1/0, 00:00:11 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    192.168.45.5, from 5.5.5.5, 00:00:11 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.34.3, from 2.2.2.2, 00:00:11 ago, via Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;If we want to filter the path from R2 through 192.168.34.3 we could do it this way:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#access-list 1 permit 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#access-list 2 permit 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#route-map OSPF deny 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#match ip address 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#match ip route-source 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#route-map OSPF permit 20&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-router)#distribute-list route-map OSPF in&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-router)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip route 1.1.1.1        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 1.1.1.1/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 4, type inter area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.45.5 on Serial1/0, 00:00:12 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.45.5, from 5.5.5.5, 00:00:12 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;But let's say we have a task that asks us to create a new area attached to R4 as follows:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SZW_eVn5YkI/AAAAAAAAAHM/lz3hed5istI/s1600-h/ospf+filter2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 397px; height: 259px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SZW_eVn5YkI/AAAAAAAAAHM/lz3hed5istI/s400/ospf+filter2.jpg" alt="" id="BLOGGER_PHOTO_ID_5302354664220090946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now we need two virtual-links and look at was happened to our route 1.1.1.1.&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#router ospf 1                 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-router)#area 1 virtual-link 5.5.5.5          &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-router)#area 1 virtual-link 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  3 01:31:13.935: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on&lt;br /&gt;OSPF_VL2 from LOADING to FULL, Loading Done&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  3 01:31:16.979: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on&lt;br /&gt;OSPF_VL3 from LOADING to FULL, Loading Done&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip route 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 1.1.1.1/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 4, type intra area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.34.3 on Serial1/1, 00:00:00 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.45.5, from 1.1.1.1, 00:00:00 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    192.168.34.3, from 1.1.1.1, 00:00:00 ago, via Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;What gives? Well now we are learning 1.1.1.1 as an &lt;span style="font-weight: bold;"&gt;INTRA&lt;/span&gt;-area route so the router-ID advertising the LSA has changed. We are now learning the route from type-1 LSAs originated by R1 directly in Area 0. If we filter based on router-id we will lose both paths so now we need to filter based on next-hop:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#access-list 3 permit 192.168.34.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#no route-map OSPF&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#route-map OSPF deny 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#match ip add 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#match ip next-hop 3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#route-map OSPF pe 20  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-route-map)#^Z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip route 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 1.1.1.1/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 4, type intra area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.45.5 on Serial1/0, 00:00:02 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.45.5, from 1.1.1.1, 00:00:02 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 4, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;All of this change could of course been prevented had we read ahead :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8707413198987272625?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8707413198987272625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ospf-filtering-issue-when-virtual-links.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8707413198987272625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8707413198987272625'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ospf-filtering-issue-when-virtual-links.html' title='OSPF filtering issue when virtual-links are present'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JlGUPVCvNQY/SZW_UlgGf0I/AAAAAAAAAHE/ftwDr46xYOY/s72-c/ospf+filter1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7626543185663322990</id><published>2009-02-12T15:43:00.000-08:00</published><updated>2009-02-12T15:45:55.836-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><title type='text'>OSPF on unnumbered links</title><content type='html'>I was reviewing the OSPF chapter in the CCIE exam guide today and something irked me. It said that OSPF neighbors will become adjacent if one or both of the neighbors are using unnumbered interfaces between them. I swear this was not case as I had experienced before so I labbed it up.&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#sho ip ospf ne&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Neighbor ID     Pri   State           Dead Time   Address         Interface&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;2.2.2.2           0   FULL/  -        00:00:37    192.168.23.2    Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;4.4.4.4           0   FULL/  -        00:00:39    192.168.34.4    Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#ip unnumbered lo 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  2 06:31:01.600: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0&lt;br /&gt;from FULL to DOWN, Neighbor Down: Interface down or detached&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;The adjcency will not come back up. Let's configure R4:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config)#int s1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-if)#ip unnumbered lo 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4(config-if)#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  2 06:33:14.288: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1&lt;br /&gt;from LOADING to FULL, Loading Done&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;There we go! If one side is unnumbered, the other side needs to be also. I am running 12.4(7) so maybe this was not the case awhile ago, but right now it seems so. There are a few other mistakes in this chapter, especially in the beginning quiz - &lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;SO QUESTION (LAB) EVERYTHING!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7626543185663322990?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7626543185663322990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ospf-on-unnumbered-links.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7626543185663322990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7626543185663322990'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ospf-on-unnumbered-links.html' title='OSPF on unnumbered links'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-9105068671047614581</id><published>2009-02-12T10:41:00.000-08:00</published><updated>2009-02-12T10:48:02.876-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network management'/><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><title type='text'>SNMP - sending traps to specific hosts</title><content type='html'>This was an issue I ran into awhile ago. I was trying to send BGP traps to one host, and PIM traps to another. As you can see below, BGP traps were getting sent to both hosts when I used version 1.&lt;br /&gt;&lt;br /&gt;When I had version 2c specified, traps were only sent to the host configured for BGP. I do not know if this is difference in the protocol, but it is something you may want to be aware of if you need to send traps to different hosts.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;Version 1, traps get sent to both hosts:&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho run | inc &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;div style="color: rgb(51, 204, 255);" class="Ih2E3d"&gt;&lt;span class="nfakPe"&gt;snmp&lt;/span&gt;-server enable traps bgp&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;-server enable traps pim&lt;/span&gt;&lt;br /&gt;&lt;div style="color: rgb(51, 204, 255);" class="Ih2E3d"&gt;&lt;span class="nfakPe"&gt;snmp&lt;/span&gt;-server host 2.2.2.2 public  bgp&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;-server host 3.3.3.3 public  pim&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#clear ip bgp *&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:11:49: %BGP-5-ADJCHANGE: neighbor 172.12.14.4 Down User reset&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:11:49: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: Queuing packet to 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; 00:11:49: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: V1 Trap, ent bgp, addr 172.12.12.1, gentrap 6, spectrap 2 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; bgpPeerEntry.14.172.12.14.4 = 00 00  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; bgpPeerEntry.2.172.12.14.4 = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:11:49: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: Queuing packet to 3.3.3.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:11:49: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: V1 Trap, ent bgp, addr 172.12.13.1, gentrap 6, spectrap 2 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  bgpPeerEntry.14.172.12.14.4 = 00 00  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; bgpPeerEntry.2.172.12.14.4 = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;00:11:49: &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;: Packet sent via UDP to 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;00:11:49: &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;: Packet sent via UDP to 3.3.3.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;Version 2c, traps get sent to one as desired:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho run | inc &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;div style="color: rgb(51, 204, 255);" class="Ih2E3d"&gt;&lt;span class="nfakPe"&gt;snmp&lt;/span&gt;-server enable traps bgp&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;-server enable traps pim&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;-server host 2.2.2.2 version 2c public  bgp&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;snmp&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;-server host 3.3.3.3 version 2c public  pim&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#clear ip bgp *&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:13:09: %BGP-5-ADJCHANGE: neighbor 172.12.14.4 Down User reset&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:13:09: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: Queuing packet to 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;00:13:09: &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;: V2 Trap, reqid 21, errstat 0, erridx 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; sysUpTime.0 = 78967 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  snmpTrapOID.0 = bgpTraps.2 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; bgpPeerEntry.14.172.12.14.4 = 00 00  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; bgpPeerEntry.2.172.12.14.4 = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;00:13:09: &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="nfakPe"&gt;SNMP&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;: Packet sent via UDP to 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-9105068671047614581?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/9105068671047614581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/snmp-sending-traps-to-specific-hosts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9105068671047614581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9105068671047614581'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/snmp-sending-traps-to-specific-hosts.html' title='SNMP - sending traps to specific hosts'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4258765287300161490</id><published>2009-02-11T15:14:00.000-08:00</published><updated>2009-02-11T15:30:53.446-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>Messin' around with multicast boundary</title><content type='html'>I got a multicast lab in dynamips going so I thought I would just play around with some lesser known commands and learn how they actually work.&lt;br /&gt;&lt;br /&gt;Here is the topology:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R5---R6---R1---R2---R3---R4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 = MA and RP for 232/8, 233/8, 234/8&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#show ip pim rp mapping &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;PIM Group-to-RP Mappings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group(s) 232.0.0.0/8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  RP 1.1.1.1 (?), v2v1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Info source: 1.1.1.1 (?), elected via Auto-RP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;         Uptime: 00:10:08, expires: 00:02:48&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group(s) 233.0.0.0/8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  RP 1.1.1.1 (?), v2v1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Info source: 1.1.1.1 (?), elected via Auto-RP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;         Uptime: 00:10:08, expires: 00:02:47&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group(s) 234.0.0.0/8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  RP 1.1.1.1 (?), v2v1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Info source: 1.1.1.1 (?), elected via Auto-RP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;         Uptime: 00:10:08, expires: 00:02:46&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R4 has the following on Loopback 0:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Loopback0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 4.4.4.4 255.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip pim sparse-mode&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip igmp join-group 233.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip igmp join-group 234.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R3 has set up a multicast boundary as follows:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 232.0.0.0 0.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 233.0.0.0 0.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 192.168.34.3 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip pim sparse-mode&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip multicast boundary 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now R3 only allows PIM joins that are in 232/8 or 233/8.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#sho ip mroute 234.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group 234.0.0.1 not found&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Let's ping 233.0.0.1:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R6#ping 233.0.0.1 re 100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 100, 100-byte ICMP Echos to 233.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;......................................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;..........&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Whoa now, what gives? Well...remember we only allowed 2 groups...what does Auto-RP use to propagate messages? Group 224.0.1.40! So even if you start passing traffic to 233.0.0.1 after you enable the boundary, eventually R3 will lose state for the Auto-RP discovery group and R4 will lose the RP information. All multicast traffic will then fail the RPF check.&lt;br /&gt;&lt;br /&gt;So here is our modified ACL on R3:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#sho run | inc access&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 224.0.1.40&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 233.0.0.0 0.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 232.0.0.0 0.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;224.0.1.39 is what the MA's listen to so we don't need to worry about that for this example. Now we can ping:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R6#ping 233.0.0.1 re 2  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 2, 100-byte ICMP Echos to 233.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reply to request 0 from 192.168.34.4, 212 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reply to request 0 from 192.168.34.4, 216 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reply to request 1 from 192.168.34.4, 184 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reply to request 1 from 192.168.34.4, 184 ms&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now this seems a little inefficient, right? Why should R4 even know about the RP if R3 is going to prevent mroute state from being created for 234.0.0.1 on that interface. If we could prevent R4 from learning that RP information, that would be great. Well on R3 we can modify the boundary as follows:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#int s1/0               &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#ip multicast boundary 1 filter-autorp&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now R3 only sends RP information for the groups permitted in the ACL:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#show ip pim rp mapping &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;PIM Group-to-RP Mappings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group(s) 232.0.0.0/8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  RP 1.1.1.1 (?), v2v1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Info source: 1.1.1.1 (?), elected via Auto-RP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;         Uptime: 00:00:03, expires: 00:02:55&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Group(s) 233.0.0.0/8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  RP 1.1.1.1 (?), v2v1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Info source: 1.1.1.1 (?), elected via Auto-RP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;         Uptime: 00:00:03, expires: 00:02:53&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4258765287300161490?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4258765287300161490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/messin-around-with-multicast-boundary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4258765287300161490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4258765287300161490'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/messin-around-with-multicast-boundary.html' title='Messin&apos; around with multicast boundary'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2439238742386557981</id><published>2009-02-11T09:28:00.000-08:00</published><updated>2009-02-11T09:32:21.858-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>Multicast TTL-Threshold</title><content type='html'>Maybe I am misunderstanding some things, but documents and books always say that the TTL of a packet must be higher than the threshold to be forwarded. From the 12.4 command reference:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/ipmulti/command/reference/imc_04.html#wp1011911"&gt;ip multicast ttl-threshold&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Usage Guidelines&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"Only multicast packets with a TTL value greater than the threshold are forwarded out the interface."&lt;br /&gt;&lt;br /&gt;Oh yeah?! I guess it depends on when you look at the TTL. Consider the network:&lt;br /&gt;&lt;br /&gt;R1----R2----R3----R4&lt;br /&gt;&lt;br /&gt;PIM-DM is enabled everywhere.&lt;br /&gt;R4 has joined 239.0.0.1&lt;br /&gt;R1 is sending pings which have 255 TTL when sent from R1.&lt;br /&gt;R2 receives the PING, decrements the TTL to 254 before sending to R3.&lt;br /&gt;&lt;br /&gt;So if we set TTL threshold to 254 on R2's interface to R3, it should block it right? No:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-if)#ip multicast ttl-threshold 254&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#ping 239.0.0.1   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reply to request 0 from 192.168.34.4, 164 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The router will still pass packets that have a TTL equal to the threshold if it was the router that decremented the TTL to reach that value. Here we see 255 will fail:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-if)#ip multicast ttl-threshold 255&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#ping 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2439238742386557981?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2439238742386557981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/multicast-ttl-threshold.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2439238742386557981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2439238742386557981'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/multicast-ttl-threshold.html' title='Multicast TTL-Threshold'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8517274837587922513</id><published>2009-02-08T10:32:00.000-08:00</published><updated>2009-02-08T11:05:53.212-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><title type='text'>IE Mock Lab 4 Review</title><content type='html'>If you plan on taking this lab, don't read this post as it may contain some spoilers. I took this lab yesterday and did okay, though I could have done a lot better. I got a 73, but I finished in about 4 hours. After verifying the whole the lab for the next 2 hours, I didn't really make any major changes. In fact, the only error I noticed was that I had an OSPF key configured wrong. Turns out, there was more...&lt;br /&gt;&lt;br /&gt;"Do not configure anything on SW3 for this task." This refers to every thing in this task!&lt;br /&gt;&lt;br /&gt;In a hub spoke topology, we were only allowed one map statement on one of the spokes. This means we need that map statement for L3/L2 resolution to the other spoke, then rely on INARP for spoke-to-hub resolution. On the hub, I mapped by local IP for self-ping (which was not required) which in effect turns of INARP for that IP. The bottom line is INARP has to be enabled on one end. My mappings did show up dynamically, but the grader said this wouldn't work after a reboot. I am going to lab this up again and verify.&lt;br /&gt;&lt;br /&gt;I missed 3 tasks (out of 13) in the IGP section. One was impossible (IMO) but by looking at the SG it appears the task itself was worded incorrectly, had to do with summarizing in OSPF on R3 and R5. The SG has them summarizing &lt;span style="font-weight: bold;"&gt;SW2 &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;R5 &lt;/span&gt;which are in the same area so it would have worked. The task said to summarize &lt;span style="font-weight: bold;"&gt;R3 &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;R5&lt;/span&gt;, which are not in the same area. Another  IGP task required a tunnel with a new adressing. I think this violates the rule (clearly stated at the beginning) that we are not allowed to add any addresses. Lastly, I failed to redistribute a BB link into an IGP.&lt;br /&gt;&lt;br /&gt;My traffic filter in the security task was fine except I didn't allow IGMP, which then caused me to miss one multicast task. Two Birds, One stone. Meh.&lt;br /&gt;&lt;br /&gt;The other two tasks I missed involved TFTP: Limiting access to a router's config via SNMP, and TFTP boot. These were definitely doable, I was just unfamiliar with a couple commands and configured "half-solutions" which are just as good as "no-solutions" :-)&lt;br /&gt;&lt;br /&gt;This lab was rated a 9 (from what I here the real thing is about a 7 or so) and recommended by IE to take within the final month of preparation. The grade report wasn't too detailed but then again, there was not a whole lot to explain. The tasks I did miss, were very simple mistakes. There is also a report that says how well you did in relation to other people who took this lab. For example, I got an 11% in NAT which means 89% people also got this right. Each task has a breakdown like this.&lt;br /&gt;&lt;br /&gt;I try not to put too much stock in that though. I just want to learn from my mistakes and work on time management. I know a couple people who failed miserably on mocks and then passed the lab. And I am sure there are people who did great on mocks, then failed the real thing. I would rather be part of that first group :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8517274837587922513?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8517274837587922513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ie-mock-lab-4-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8517274837587922513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8517274837587922513'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ie-mock-lab-4-review.html' title='IE Mock Lab 4 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-1633550696186694471</id><published>2009-02-04T11:06:00.000-08:00</published><updated>2009-02-04T11:22:29.018-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><title type='text'>Overlapping/Duplicate AS-External-LSA IDs</title><content type='html'>I was reading &lt;a href="http://www.amazon.com/OSPF-Anatomy-Internet-Routing-Protocol/dp/0201634724"&gt;&lt;span style="font-style: italic;"&gt;OSPF: Anatomy of an Internet Routing Protocol&lt;/span&gt;&lt;/a&gt; by John T. Moy today and I came across an issue with AS-external LSA Link-State IDs. The LSA uses the network address as the identifier. If one router was to generate multiple Type 5 LSA's with the same network number but different masks, only 1 would be advertised because the LSA ID would be the same.&lt;br /&gt;&lt;br /&gt;The book was published in 1998 and at the time there was no way of dealing with this. After doing this lab, I realized there was a way and it had since been documented in Appendix E of RFC 2328:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tools.ietf.org/html/rfc2328#appendix-E"&gt;RFC 2328 Appendix E&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here I create 3 static routes, that all end up with the same network number and would normally have the same LSA ID:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ip route 192.9.0.0 255.255.0.0 Null0  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ip route 192.9.0.0 255.255.254.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ip route 192.9.0.0 255.255.255.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config-router)#redistribute static subnets &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Let's see what the LSA IDs are:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho ip osp database | inc 192.9&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;192.9.0.0       1.1.1.1         246         0x80000001 0x00933F 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;192.9.0.255     1.1.1.1         149         0x80000001 0x00933F 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;192.9.1.255     1.1.1.1         234         0x80000001 0x00834F 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho ip ospf database external 192.9.0.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;            OSPF Router with ID (1.1.1.1) (Process ID 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;                Type-5 AS External Link States&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS age: 14&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Options: (No TOS-capability, DC)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Type: AS External Link&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Link State ID: 192.9.0.0 (External Network Number )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Advertising Router: 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Seq Number: 80000003&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Checksum: 0x8F41&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Length: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; &lt;span style="color: rgb(255, 0, 0);"&gt; Network Mask: /16&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric Type: 2 (Larger than any link state path)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        TOS: 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric: 20 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Forward Address: 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        External Route Tag: 0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The router gives the last 2 networks the broadcast address of that respective network as the Link State ID. The /16 network got the network address as the ID. I wonder if order of operations has anything to do with it&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#no ip route 192.9.0.0 255.255.0.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#no ip route 192.9.0.0 255.255.254.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#no ip route 192.9.0.0 255.255.255.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ip route 192.9.0.0 255.255.255.0 Null0   &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Ok, so now the /24 is the only in there and it is using 192.9.0.0 as its ID:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho ip osp database external 192.9.0.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;            OSPF Router with ID (1.1.1.1) (Process ID 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;                Type-5 AS External Link States&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS age: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Options: (No TOS-capability, DC)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Type: AS External Link&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Link State ID: 192.9.0.0 (External Network Number )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Advertising Router: 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Seq Number: 80000001&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Checksum: 0x933F&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Length: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  &lt;span style="color: rgb(255, 0, 0);"&gt;Network Mask: /24&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric Type: 2 (Larger than any link state path)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        TOS: 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric: 20 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Forward Address: 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        External Route Tag: 0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;What happens if we add a /16 now?&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ip route 192.9.0.0 255.255.0.0 Null0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho ip osp database external 192.9.0.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;            OSPF Router with ID (1.1.1.1) (Process ID 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;                Type-5 AS External Link States&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS age: 12&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Options: (No TOS-capability, DC)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Type: AS External Link&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Link State ID: 192.9.0.0 (External Network Number )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Advertising Router: 1.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  LS Seq Number: 80000002&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Checksum: 0x9140&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Length: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  &lt;span style="color: rgb(255, 0, 0);"&gt;Network Mask: /16&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric Type: 2 (Larger than any link state path)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        TOS: 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Metric: 20 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        Forward Address: 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        External Route Tag: 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The /16 stold the ID from the /24!&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#sho ip osp database | inc 192.9       &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;192.9.0.0       1.1.1.1         45          0x80000002 0x009140 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;192.9.0.255     1.1.1.1         45          0x80000001 0x00933F 0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-1633550696186694471?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/1633550696186694471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/overlapping-as-external-lsa-ids.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1633550696186694471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1633550696186694471'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/overlapping-as-external-lsa-ids.html' title='Overlapping/Duplicate AS-External-LSA IDs'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5770676670671219959</id><published>2009-02-03T10:16:00.001-08:00</published><updated>2009-02-03T10:35:33.875-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><title type='text'>How OSPF transmit capability can prevent virtual-link routing loops</title><content type='html'>I ran into the command "capability transit" some time ago but never really understood how it worked. The explanation in the RFC and the DocCD may seem pretty vague unless you understand what issues cause it to be necessary or desirable. It is on by default so you probably will never have any issues with it, but I find it an interesting feature to look into. And by doing so, you tend to learn more about how OSPF works.&lt;br /&gt;&lt;br /&gt;In this lab, I turn it off so we can see what issues arise. We will focus on R2's path to R4's loopback of 4.4.4.4. Each router's interface IP address ends ends with the router number so we can tell easily where traffic is flowing. Here is the topology:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SYiKN8vjG-I/AAAAAAAAAG8/TkNiLOTPB5o/s1600-h/ospf+transit+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 183px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SYiKN8vjG-I/AAAAAAAAAG8/TkNiLOTPB5o/s400/ospf+transit+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5298636933849881570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I disabled capability transit on all routers, but I found that in this lab R2 is where the action is, so that might be only place we need to do it:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  no capability transit&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now we begin...&lt;br /&gt;&lt;br /&gt;R1 has a virtual link to R3 in order to connect area 234 to area 0. This works fine. R3 has become an ABR and R2 will use R3 to get to R4's loopback:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ip route 4.4.4.4&lt;br /&gt;Routing entry for 4.4.4.4/32&lt;br /&gt;Known via "ospf 1", distance 110, metric 66, type inter area&lt;br /&gt;Last update from 192.168.23.3 on Serial1/0, 00:00:07 ago&lt;br /&gt;Routing Descriptor Blocks:&lt;br /&gt;* 192.168.23.3, from 3.3.3.3, 00:00:07 ago, via Serial1/0&lt;br /&gt;  Route metric is 66, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let's say R2 needs to add a network to area 2 as follows&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#int lo 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-if)#ip address 2.2.2.2 255.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-if)#ip ospf 1 area 2&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Since R2 does not have an interface in area 0 we can build a virtual-link to R1:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#router ospf 1                    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-router)#area 123 virtual-link 1.1.1.1 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#router ospf 1              &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config-router)#area 123 virtual-link 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 00:59:19.191: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on&lt;br /&gt;OSPF_VL3 from LOADING to FULL, Loading Done&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Perfect, right?&lt;br /&gt;&lt;br /&gt;Let's take a look at that route towards R4 again:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ip route 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 4.4.4.4/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 194, type inter area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.12.1 on Serial1/1, 00:00:04 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.12.1, from 3.3.3.3, 00:00:04 ago, via Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 194, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Oh-no...Let's trace:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#trace 4.4.4.4      &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Tracing the route to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  1 192.168.12.1 72 msec 24 msec 8 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  2 192.168.12.2 56 msec 20 msec 84 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  3  *  *  *&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  4  *  *  *&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;We have a loop all-right.To fix it, on R2:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-router)#capability transit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#clear ip ospf process&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Reset ALL OSPF processes? [no]: yes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Few moments later:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ip route 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Routing entry for 4.4.4.4/32&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Known via "ospf 1", distance 110, metric 66, type inter area&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Last update from 192.168.23.3 on Serial1/0, 00:00:18 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  * 192.168.23.3, from 3.3.3.3, 00:00:18 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Route metric is 66, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;From cisco.com&lt;br /&gt;&lt;br /&gt;"The OSPF Area Transit Capability feature provides an OSPF Area Border Router (ABR) with the ability to discover shorter paths through the transit area for forwarding traffic that would normally need to travel through the virtual-link path."&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/ospfatc.html"&gt;OSPF Area Transit Capability&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So in this case, we have allowed R2 to use it direct path to R3 instead of it's own path through the backbone area. We have basically made area 123 a transit area that can carry traffic to destinations not in it's own area. We are flowing from Area 0 (R2 is an ABR now) to Area 123 to Area 234!&lt;br /&gt;&lt;br /&gt;Since this command is enabled by default on recent IOS versions, I am not sure you would ever run into this issue in the lab. However, it is still an interesting feature and it is always good to know what's really going on under the hood :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5770676670671219959?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5770676670671219959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/how-ospf-transmit-capability-can.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5770676670671219959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5770676670671219959'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/how-ospf-transmit-capability-can.html' title='How OSPF transmit capability can prevent virtual-link routing loops'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SYiKN8vjG-I/AAAAAAAAAG8/TkNiLOTPB5o/s72-c/ospf+transit+lab.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-788811111495306776</id><published>2009-02-02T11:59:00.000-08:00</published><updated>2009-02-02T12:26:08.690-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3560 qos'/><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='qos'/><title type='text'>3560 QoS: Per-port per-vlan policing</title><content type='html'>I know the name is scary, but I do dig Catalyst QoS. This is the second of back-to-back posts on the subject. This is one is a little more complex than classification and decided on a Visio for it:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JlGUPVCvNQY/SYdRTIdqbTI/AAAAAAAAAG0/k4Sg5FRN3uE/s1600-h/3560+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 191px;" src="http://4.bp.blogspot.com/_JlGUPVCvNQY/SYdRTIdqbTI/AAAAAAAAAG0/k4Sg5FRN3uE/s400/3560+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5298292875755941170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Per-van policing in the 3560s is different from the 3550s because there is no "match VLAN" clause available.  Instead you create hierarchical policies and attach them to the SVI.&lt;br /&gt;&lt;br /&gt;Here is the scenario:&lt;br /&gt;&lt;br /&gt;VLAN100 will be policed to 64k (192.168.100.0/24)&lt;br /&gt;VLAN200 Will be policed to 128k (192.168.200.0/24)&lt;br /&gt;&lt;br /&gt;Because of bursts, I was not able to get these exact rates, but you will see how these policies are applied and the effect they have on traffic flow. Plus you can always play with the burst sizes on your own :)&lt;br /&gt;&lt;br /&gt;Here is the tracker I created on R2:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 192.168.100.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 1 permit 192.168.100.3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 2 permit 192.168.200.5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-any VLAN100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; match access-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-any VLAN200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; match access-group 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map TRACKER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; class VLAN100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; class VLAN200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Ethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; load-interval 30&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; full-duplex&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Ethernet0/0.100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; encapsulation dot1Q 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 192.168.100.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input TRACKER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Ethernet0/0.200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; encapsulation dot1Q 200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 192.168.200.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input TRACKER&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;All configuration is being done on SW2. There really is not an order of operations to follow, but basically you just need to make sure class-maps and policy-maps are created before you apply them. The logical flow is what you want to get used to. Otherwise you will be jumping into and out of classes and policies, reconfiguring them like I did :)&lt;br /&gt;&lt;br /&gt;At our child (aka "second") level we have a class-map that matches the interface and we have our policer. The interface matching here is whats is referred into in the first clause of "per-port per-vlan" policing.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-all TRUNK&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  match input-interface  FastEthernet0/13&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map VLAN100-POLICER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class TRUNK&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    police 64000 12000 exceed-action drop&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map VLAN200-POLICER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class TRUNK&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    police 128000 24000 exceed-action drop&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As far as I know, this "bottom" or "second" level class-map can only match input-interface. And this second level policy must be a policer.&lt;br /&gt;&lt;br /&gt;Now, at the parent level we create a new class to match IP traffic and then apply our child polices below that. This top-level class must match an ACL (match protocol ip gave me errors when applying the policy).&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 100 permit ip any any&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-all IP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  match access-group 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map VLAN100-PARENT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class IP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   set ip precedence 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   service-policy VLAN100-POLICER&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map VLAN200-PARENT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class IP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   set ip precedence 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   service-policy VLAN200-POLICER&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Notice that I have the "set ip precedence" clause in our parent policies. These first level policies are required to have an action. You will get an error message stating this if you try to apply it to the SVI without an action:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#int vlan 100                       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config-if)#service-policy input VLAN100-PARENT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;%QoS: No action is configured in the policymap VLAN100-PARENT classmap IP, or it is being modified.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So make sure you have set or trust clause in there. Now we can apply them to the SVIs:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;mls qos&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/13&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; mls qos vlan-based&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Vlan100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input VLAN100-PARENT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Vlan200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input VLAN200-PARENT&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;From R1, R3 and R5 I will send a bunch of pings to R2:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#ping 192.168.100.2 re 1000000&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#ping 192.168.100.2 re 1000000&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#ping 192.168.200.2 re 1000000&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Let's look at R2 after a few minutes.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho policy-map interface e0/0.100 | section VLAN100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Class-map: VLAN100 (match-any)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      107819 packets, 12722642 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      30 second offered rate 50000 bps&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Match: access-group 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        107819 packets, 12722642 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        30 second rate 50000 bps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho policy-map interface e0/0.200 | section VLAN200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Class-map: VLAN200 (match-any)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      156873 packets, 18511014 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      30 second offered rate 107000 bps&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Match: access-group 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        156873 packets, 18511014 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;        30 second rate 107000 bps&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;We don't see the limits of 64k and 128k being reached, but the drops on the senders indicate that policing is working. And we can also tell VLAN 200 is getting roughly twice the bandwidth that VLAN 100 is getting. We could get closer to the limit by adjusting the burst sizes appropriately.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Key things to remember:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Child classes use match input-interface&lt;/li&gt;&lt;li&gt;Child policies use police&lt;/li&gt;&lt;li&gt;Parent classes match ACL (I think you can also match dscp, maybe others)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Parent policies must have an action (e.g. set or trust)&lt;/li&gt;&lt;li&gt;Apply parent policies to SVI&lt;/li&gt;&lt;/ul&gt;I strongly recommend getting your hands dirty with these configurations if you want to master them. I read a lot about switch qos, but it wasn't until I started playing around with scenarios like this that I got a better understanding of how to do it and what is required. If we truly understand what each QoS method does, then we should have no trouble deciphering what we are asked to do on the lab :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-788811111495306776?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/788811111495306776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/3560-qos-per-port-per-vlan-policing.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/788811111495306776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/788811111495306776'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/3560-qos-per-port-per-vlan-policing.html' title='3560 QoS: Per-port per-vlan policing'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JlGUPVCvNQY/SYdRTIdqbTI/AAAAAAAAAG0/k4Sg5FRN3uE/s72-c/3560+lab.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-1731533364659290573</id><published>2009-02-02T09:08:00.001-08:00</published><updated>2009-02-02T09:13:06.259-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3560 qos'/><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='qos'/><title type='text'>3560 QoS: VLAN-Based Classification</title><content type='html'>This is a topic I learned about while reading blogs over at IE. Here is the original:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.internetworkexpert.com/2008/09/11/comparing-traffic-policing-features-in-the-3550-and-3560-switches/"&gt;Comparing Traffic Policing Features in the 3550 and 3560 switches &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have the following topology:&lt;br /&gt;&lt;br /&gt;R1----|&lt;br /&gt;R3---SW1---SW2---R2&lt;br /&gt;R5----|&lt;br /&gt;&lt;br /&gt;R1,R3 are in vlan 100, 192.168.100.0/24&lt;br /&gt;R5 is in vlan 200, 192.168.200.0/24&lt;br /&gt;&lt;br /&gt;R2 is on a trunked port with the following configuration:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Ethernet0/0.100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; encapsulation dot1Q 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 192.168.100.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip accounting precedence input&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no snmp trap link-status&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Ethernet0/0.200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; encapsulation dot1Q 200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip address 192.168.200.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip accounting precedence input&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no snmp trap link-status&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;On SW2 we will enable vlan-based qos and then mark traffic based on ACLs. First we make the ACLs:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip access-list extended ICMP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; permit icmp any any&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip access-list extended TCP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; permit tcp any any&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Next we make our class-maps and policy-maps:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-all ICMP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  match access-group name ICMP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;class-map match-all TCP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  match access-group name TCP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;policy-map VLAN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class TCP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   set ip precedence 5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  class ICMP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   set ip precedence 3&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Next enable mls qos, vlan-based qos and apply the policy to an SVI. Note that the SVI does not need an IP address:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;mls qos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;int f0/13&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; interface FastEthernet0/13&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; switchport trunk encapsulation dot1q&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; switchport trunk native vlan 50&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; switchport mode trunk&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; mls qos vlan-based&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;int vlan 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input VLAN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;int vlan 200&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; service-policy input VLAN&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now run some tests. Here I Ping and Telnet from R5, telnet from R1 and then ping from R3:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#ping 192.168.200.2 rep 100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 100, 100-byte ICMP Echos to 192.168.200.2, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Success rate is 100 percent (100/100), round-trip min/avg/max = 1/3/4 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#telnet 192.168.200.2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.200.2 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.200.2 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#telnet 192.168.100.2 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.100.2 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.100.2 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#ping 192.168.100.2 re 50&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 50, 100-byte ICMP Echos to 192.168.100.2, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Success rate is 100 percent (50/50), round-trip min/avg/max = 1/3/4 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Verify on R2:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho int precedence &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Ethernet0/0.100 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Input&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Precedence 3:  50 packets, 5900 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Precedence 5:  46 packets, 2953 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Ethernet0/0.200 &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Input&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Precedence 3:  100 packets, 11800 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    Precedence 5:  15 packets, 969 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-1731533364659290573?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/1731533364659290573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/3560-qos-vlan-based-classification.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1731533364659290573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1731533364659290573'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/3560-qos-vlan-based-classification.html' title='3560 QoS: VLAN-Based Classification'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6192721153116609175</id><published>2009-02-01T19:41:00.000-08:00</published><updated>2009-02-01T19:46:43.696-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nat'/><title type='text'>TCP Load Balancing, Destination NAT</title><content type='html'>The "ip nat inside destination" command can be used to split up the load from what looks like one global destination, to several inside hosts. This behaves very much like server load balancing, at least without all the health checks.&lt;br /&gt;&lt;br /&gt;Below is the topology. I have static default routes from R1, R2, and R3 pointing to R4. R7 has a static route to each serial link.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SYZsBQEnehI/AAAAAAAAAGs/muBiM-z-q30/s1600-h/destination+NAT+Scenario.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 271px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SYZsBQEnehI/AAAAAAAAAGs/muBiM-z-q30/s400/destination+NAT+Scenario.jpg" alt="" id="BLOGGER_PHOTO_ID_5298040780397967890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is R4's config:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip address 192.168.0.4 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip nat inside&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip virtual-reassembly&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip address 192.168.45.4 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip verify unicast reverse-path&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip nat outside&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip virtual-reassembly&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;serial restart-delay 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip address 192.168.46.4 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip verify unicast reverse-path&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip nat outside&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip virtual-reassembly&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip route 0.0.0.0 0.0.0.0 192.168.45.5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip route 0.0.0.0 0.0.0.0 192.168.46.6&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip nat pool POOL 192.168.0.1 192.168.0.3 prefix-length 24 type rotary&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip nat inside destination list 10 pool POOL&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 10 permit 192.168.45.10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;access-list 10 permit 192.168.46.10&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;From R7 we will verify:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#telnet 192.168.45.10  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.45.10 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.45.10 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#telnet 192.168.45.10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.45.10 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.45.10 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#telnet 192.168.45.10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.45.10 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.45.10 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#telnet 192.168.46.10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.46.10 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.46.10 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#telnet 192.168.46.10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Trying 192.168.46.10 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;[Connection to 192.168.46.10 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R7#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R4's NAT table:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip nat translations&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;tcp 192.168.45.10:23   192.168.0.1:23     200.0.0.7:51519    200.0.0.7:51519&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;tcp 192.168.46.10:23   192.168.0.1:23     200.0.0.7:64139    200.0.0.7:64139&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;tcp 192.168.46.10:23   192.168.0.2:23     200.0.0.7:11691    200.0.0.7:11691&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;tcp 192.168.45.10:23   192.168.0.2:23     200.0.0.7:62913    200.0.0.7:62913&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;tcp 192.168.45.10:23   192.168.0.3:23     200.0.0.7:17295    200.0.0.7:17295&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I used two links just to show the flexibility of this configuration. I was playing around with route-map NAT failover/LB and then decided to work on this scenario.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6192721153116609175?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6192721153116609175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/tcp-load-balancing-destination-nat.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6192721153116609175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6192721153116609175'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/tcp-load-balancing-destination-nat.html' title='TCP Load Balancing, Destination NAT'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SYZsBQEnehI/AAAAAAAAAGs/muBiM-z-q30/s72-c/destination+NAT+Scenario.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6826906235949602718</id><published>2009-02-01T11:24:00.001-08:00</published><updated>2009-02-01T12:08:45.464-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ntp'/><title type='text'>NTP - How long is too long?</title><content type='html'>This is how long I waited for NTP to sync today:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ntp server 136.10.4.4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2(config)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:26:53.915: %SYS-5-CONFIG_I: Configured from console by console&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:37:11.852: NTP Core(NOTICE): Clock is synchronized.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;More than 10 minutes. It should be noted that the clocks were only seconds apart to begin with. Code on these routers is 12.4(22)T. I don't know if I have ever waited so long but it's unbelievably ridiculous.&lt;br /&gt;&lt;br /&gt;Then I enable authentication:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4(config)#ntp authentication-key 1 md5 ipexpert&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ntp authentication-key 1 md5 ipexpert&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ntp trusted-key 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ntp authenticate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ntp server 136.10.4.4 key 1 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:45:02.628: NTP Core(INFO): key (1) added.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:45:02.752: NTP Core(INFO): key (1) marked as trusted.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:45:03.276: NTP Core(INFO): system event 'event_clock_reset' (0x05) status 'sync_alarm, sync_unspec, 10 events, event_peer/strat_chg' (0xC0A4)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 19:45:03.276: NTP Core(NOTICE): Clock synchronization lost.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Peers never come up, I get this every so often (debug ntp all):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:45:47.852: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:45:47.852: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:45:47.852: NTP Core(DEBUG): ntp_receive: message received&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:45:47.852: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:45:47.852: NTP Core(NOTICE): ntp_receive: dropping message: crypto-NAK.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:50:52.852: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:50:52.852: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:50:52.852: NTP Core(DEBUG): ntp_receive: message received&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:50:52.852: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 19:50:52.852: NTP Core(NOTICE): ntp_receive: dropping message: crypto-NAK.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here we are still&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;.Feb  1 19:58:19.851: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;br /&gt;.Feb  1 19:58:19.851: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;br /&gt;.Feb  1 19:58:19.851: NTP Core(DEBUG): ntp_receive: message received&lt;br /&gt;.Feb  1 19:58:19.851: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;br /&gt;.Feb  1 19:58:19.851: NTP Core(NOTICE): ntp_receive: dropping message: crypto-NAK&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;So, for kicks on the master I do this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4(config)#ntp authenticate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config)#ntp trusted-key 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I now get a new message on R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;.Feb  1 20:01:20.851: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;br /&gt;.Feb  1 20:01:20.851: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;br /&gt;.Feb  1 20:01:20.851: NTP Core(DEBUG): ntp_receive: message received&lt;br /&gt;.Feb  1 20:01:20.851: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;br /&gt;.Feb  1 20:01:20.851: NTP Core(DEBUG): receive: packet given to process_packet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This looks promising:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP Core(DEBUG): ntp_receive: message received&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP Core(DEBUG): receive: packet given to process_packet&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP Core(DEBUG): Peer becomes reachable, poll set to 6.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:03:30.851: NTP Core(INFO): peer 136.10.4.4 event 'event_reach' (0x84) status 'unreach, conf, auth, 1 event, event_reach' (0xE014)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;TA-DA!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:06:43.851: NTP Core(NOTICE): Clock is synchronized.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have never had to enable trusted-key on the master before.  Watch this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4(config)#no ntp trusted-key 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Back on R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP message sent to 136.10.4.4, from interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP message received from 136.10.4.4 on interface 'Loopback0' (136.10.2.2).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP Core(DEBUG): ntp_receive: message received&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP Core(DEBUG): ntp_receive: peer is 0x674B9DF8, next action is 1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP Core(INFO): system event 'event_clock_reset' (0x05) status 'sync_alarm, sync_unspec, 15 events, event_peer/strat_chg' (0xC0F4)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Feb  1 20:07:47.851: NTP Core(NOTICE): Clock synchronization lost.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.Feb  1 20:07:47.851: NTP Core(NOTICE): ntp_receive: dropping message: crypto-NAK.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Maybe something has changed in this T train but looks like we need "ntp trusted-key" on the Master now. I am not an NTP guru by any means but if you look at some of my other ntp blogs, you will see I didn't need this command. Note that I only needed "trusted-key" on the Master, not "ntp authenticate" even though I showed it above. Removing it did not cause sync loss. Something to keep in mind if you find yourself singing the NTP blues.&lt;br /&gt;&lt;br /&gt;Oh, and while you are waiting for the sync - go configure something else in the meantime!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6826906235949602718?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6826906235949602718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ntp-how-long-is-too-long.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6826906235949602718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6826906235949602718'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/02/ntp-how-long-is-too-long.html' title='NTP - How long is too long?'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5304158407662498069</id><published>2009-01-31T17:48:00.000-08:00</published><updated>2009-01-31T18:34:01.576-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 1 - Take 2</title><content type='html'>I did this lab again today mainly to see how much I improved since the first time.  If your curious, here was my original post:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ccietobe.blogspot.com/2008/07/review-ipexpert-volume-3-mock-lab-1.html"&gt;IPexpert Volume 3 Mock Lab 1 - Take 1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That was just over 5 months ago, and I more than doubled my score and finished in about half the time. I got a 91 this time, missing 3 tasks. The first one was a grading script error. The second one was a bonehead mistake because the task said to prevent odd routes and I blocked odd (BGP task).&lt;br /&gt;&lt;br /&gt;The last one was tricky and I skipped it because I did not know how to complete it without messing up another task. It was 2 points vs 3 points and I took the 3-pointer. I will explain what the issue was and how to resolve it.&lt;br /&gt;&lt;br /&gt;The first task had you allow telnet only on port 3005 of R9. Then you create a privilege 15 user named cisco with a password cisco. The next task says that the user cisco should only be allowed to do show commands and not configure anything. Menus are not allowed.&lt;br /&gt;&lt;br /&gt;Well....since user cisco is a level 15 user he can do anything he wants. And he HAS to be a level 15 user according to the first task. The solution was to configure AAA which basically ignores privilege levels that are assigned to username commands. Now, when user cisco logs in, he is actually in level 1 and he cannot get to configuration mode (without an enable password). Do you think this violates the previous task?&lt;br /&gt;&lt;br /&gt;Anyways, it felt good to know that I have retained a lot of info.  I'm going to do another mock lab tomorrow morning from IPexpert (&lt;span style="font-style: italic;"&gt;Before &lt;/span&gt;the Super Bowl of course!). Then next week I have an IE mock lab and another proctor lab session scheduled. The week after that, it will be Cisco Assessor Labs on the 14th and 15th (if my schedule gets accepted).&lt;br /&gt;&lt;br /&gt;That leaves one more weekend of nothing which I plan on just reviewing and tying up loose ends. Probably play around on the home lab most of the time. Then the next weekend  I will be in San Jose :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5304158407662498069?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5304158407662498069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-1-take-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5304158407662498069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5304158407662498069'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-1-take-2.html' title='IPexpert Volume 3 Mock Lab 1 - Take 2'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-856261577919086392</id><published>2009-01-31T10:33:00.000-08:00</published><updated>2009-12-04T08:24:11.693-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><title type='text'>RSPAN between 3550 and 3560 - Multiple Sources</title><content type='html'>Topology is as follows:&lt;br /&gt;&lt;br /&gt;R5----SW1----SW2----SW4----R4/R6&lt;br /&gt;&lt;br /&gt;R4 and R6 are on VLAN 300, 192.168.250.0/24 subnet&lt;br /&gt;R5 is on VLAN 100, connected to port f0/5 of SW1&lt;br /&gt;Inter-switch links are dot1q trunks&lt;br /&gt;I will set up RSPAN between the switches and use debug ip packet with an ACL to verify.&lt;br /&gt;&lt;br /&gt;3550 is the source:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW4(config)#vlan 999&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW4(config-vlan)#remote-span&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW4(config)#monitor session 1 source vlan 300 rx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW4(config)#monitor session 1 destination remote vlan 999 reflector-port f0/12&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3560 is connected to the monitor:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#monitor session 1 source remote vlan 999&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#monitor session 1 destination interface f0/12 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On R5 We can verify like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5(config)#access-list 1 permit  192.168.250.4 0.0.0.0&lt;br /&gt;R5(config)#access-list 1 permit  192.168.250.6 0.0.0.0&lt;br /&gt;R5(config)#no service timestamps debug&lt;br /&gt;R5#debug ip packet 1 detail&lt;br /&gt;IP packet debugging is on (detailed) for access list 1&lt;br /&gt;IP: s=192.168.250.4 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;br /&gt;IP: s=192.168.250.6 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;br /&gt;IP: s=192.168.250.4 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;br /&gt;IP: s=192.168.250.6 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here we can see EIGRP packets from VLAN 300, which verifies our monitoring is working. The only place I specified "remote-span" under a VLAN was the source 3550. However, I have read that that this required on all switches that carry the remote-span VLAN.&lt;br /&gt;&lt;br /&gt;Let's add a source on SW2, where R2 is plugged into f0/2. We will put it on a different VLAN just to prove it is working:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#int f0/2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config-if)#sw a v 150&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#vlan 999&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config-vlan)#remote-span &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#monitor session 1 source interface f0/2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#monitor session 1 destination remot vlan 999&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If we jump to R5, we won't see any packets from R2...hmm...oh yeah, the ACL!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#access-list 1 permit 192.168.0.2 0.0.0.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There we go:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;IP: &lt;span style="color: rgb(255, 0, 0);"&gt;s=192.168.0.2&lt;/span&gt; (Ethernet0/0), d=224.0.0.2, len 48, rcvd 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    UDP src=1985, dst=1985&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP: s=192.168.0.2 (Ethernet0/0), d=224.0.0.5, len 88, rcvd 0, proto=89&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP: s=192.168.250.4 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP: s=192.168.0.2 (Ethernet0/0), d=224.0.0.2, len 48, rcvd 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    UDP src=1985, dst=1985&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP: s=192.168.250.6 (Ethernet0/0), d=224.0.0.5, len 80, rcvd 0, proto=89&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Looks like we got HSRP packets from R2 and OSPF packets from R4 and R6.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;Key things to remember:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-Reflector port needed on 3550&lt;br /&gt;-&lt;span style="font-weight: bold;"&gt;remote-span&lt;/span&gt; command used under the RSPAN VLAN. In this example, I only did it on the source, but I would verify that you need it on all devices with this VLAN.&lt;br /&gt;-To allow destination port to connect back to the network use "ingress" keyword on session destination command&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-856261577919086392?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/856261577919086392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/rspan-between-3550-and-3560.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/856261577919086392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/856261577919086392'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/rspan-between-3550-and-3560.html' title='RSPAN between 3550 and 3560 - Multiple Sources'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8773523667327983818</id><published>2009-01-30T10:17:00.000-08:00</published><updated>2009-01-30T10:30:50.222-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eigrp'/><title type='text'>EIGRP Bounded updates</title><content type='html'>I was reading about EIGRP in Routing TCP/IP Volume 1 by Jeff Doyle and focusing on the comparisons between it and distance vector and link-state protocols. One characteristic of EIGRP that sets it part from other protocols is that updates are "bounded" meaning that they are only sent to the "affected" neighbors. I was trying to find a way to see this behavior in action so I created this summarization scenario.&lt;br /&gt;&lt;br /&gt;R4 is in the middle of the star with R3,R5 and R7 at the edges:&lt;br /&gt;&lt;br /&gt;R4-R5 = 192.168.45.0/24&lt;br /&gt;R4-R7 = 192.168.47.0/24&lt;br /&gt;R4-R3 = 192.168.34.0/24&lt;br /&gt;&lt;br /&gt;R4 is advertising a summary of 192.168.44.0/22 to R3.&lt;br /&gt;If a new link was brought up in the /22 range, R4 will not send an update to R3.&lt;br /&gt;&lt;br /&gt;Here it is in action:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R3#debug eigrp packets update &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#debug eigrp packets update &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5#debug eigrp packets update &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R3#sho ip route eigrp &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;D    192.168.44.0/22 [90/2681856] via 192.168.34.4, 00:02:54, Serial1/1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R7 is off of R4 serial 1/1, R3 is off of R4 serial 1/0:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#sho ip eigrp ne  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;IP-EIGRP neighbors for process 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;                                            (sec)         (ms)       Cnt Num&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;1   192.168.47.7            Se1/1             10 00:11:55   75   450  0  8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;2   192.168.34.3            Se1/0             13 00:30:39  106   636  0  8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;0   192.168.45.5            Se1/2             12 00:32:16  106   636  0  8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's add a new loopback on R5 in the range of the summary:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R5(config)#int lo 1&lt;br /&gt;R5(config-if)#ip address 192.168.46.5 255.255.255.0&lt;br /&gt;R5(config-if)#router eigrp 1&lt;br /&gt;R5(config-router)#network 192.168.46.5 0.0.0.0&lt;br /&gt;&lt;br /&gt;*Mar  1 20:02:59.075: EIGRP: Enqueueing UPDATE on Serial1/0 iidbQ un/rely 0/1 serno 8-8&lt;br /&gt;*Mar  1 20:02:59.079: EIGRP: Enqueueing UPDATE on Serial1/0 nbr 192.168.45.4 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 8-8&lt;br /&gt;*Mar  1 20:02:59.087: EIGRP: Sending UPDATE on Serial1/0 nbr 192.168.45.4&lt;br /&gt;*Mar  1 20:02:59.095:   AS 1, Flags 0x0, Seq 8/20 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 8-8&lt;br /&gt;*Mar  1 20:02:59.235: EIGRP: Received UPDATE on Serial1/0 nbr 192.168.45.4&lt;br /&gt;*Mar  1 20:02:59.235:   AS 1, Flags 0x0, Seq 26/8 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R5 sends an update to R4. R4 only sends it to R7:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 20:02:59.515: EIGRP: Received UPDATE on Serial1/2 nbr 192.168.45.5&lt;br /&gt;*Mar  1 20:02:59.519:   AS 1, Flags 0x0, Seq 8/20 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0&lt;br /&gt;*Mar  1 20:02:59.563: EIGRP: Enqueueing UPDATE on Serial1/1 iidbQ un/rely 0/1 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.567: EIGRP: Enqueueing UPDATE on Serial1/1 nbr 192.168.47.7 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.575: EIGRP: Sending UPDATE on Serial1/1 nbr 192.168.47.7&lt;br /&gt;*Mar  1 20:02:59.579:   AS 1, Flags 0x0, Seq 24/8 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.583: EIGRP: Enqueueing UPDATE on Serial1/0 iidbQ un/rely 0/1 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.587: EIGRP: Enqueueing UPDATE on Serial1/0 nbr 192.168.34.3 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.587: EIGRP: Enqueueing UPDATE on Serial1/2 iidbQ un/rely 0/1 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.591: EIGRP: Enqueueing UPDATE on Serial1/2 nbr 192.168.45.5 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 11-11&lt;br /&gt;*Mar  1 20:02:59.591: EIGRP: Sending UPDATE on Serial1/2 nbr 192.168.45.5&lt;br /&gt;*Mar  1 20:02:59.591:   AS 1, Flags 0x0, Seq 26/8 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 11-11&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And of course on R3 we see nothing. What's really interesting is we see R4 "Enqueuing" the update but never actually sending it as it does to R5 and R7.&lt;br /&gt;&lt;br /&gt;I am still not sure of one thing though. Is this a fundamental characteristic of EIGRP itself or the fact that we are summarizing? I cannot think of another scenario where this "bounded" update scenario would take place without summarization. If you can, please drop a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8773523667327983818?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8773523667327983818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/eigrp-bounded-updates.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8773523667327983818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8773523667327983818'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/eigrp-bounded-updates.html' title='EIGRP Bounded updates'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4262678487131687641</id><published>2009-01-27T13:39:00.000-08:00</published><updated>2009-01-27T13:59:05.250-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ospfv3'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>OSPFv3 Neighbors do not need to be on same subnet</title><content type='html'>Check it out:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;R2 F0/0 &lt;-----&gt; F0/0 R3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is R2's config:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho run int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Building configuration...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Current configuration : 153 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; duplex auto&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; speed auto&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 address 2001:2::2/64&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 address FE80::2 link-local&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 ospf 1 area 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;end&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Here is R3's config:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#sho run int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Building configuration...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Current configuration : 153 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; duplex auto&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; speed auto&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 address 2001:3::3/64&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 address FE80::3 link-local&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ipv6 ospf 1 area 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;end&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R2's show commands:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ipv6 ospf ne   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Neighbor ID     Pri   State           Dead Time   Interface ID    Interface&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;3.3.3.3           1   FULL/DR         00:00:35    4               FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ipv6 route  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;IPv6 Routing Table - 5 entries&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;       U - Per-user Static route&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;C   2001:2::/64 [0/0]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     via ::, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;L   2001:2::2/128 [0/0]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     via ::, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;O   2001:3::/64 [110/10]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     via ::, FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;L   FE80::/10 [0/0]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     via ::, Null0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;L   FF00::/8 [0/0]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     via ::, Null0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R2 can now ping 2001:3::3&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#ping 2001:3::3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 5, 100-byte ICMP Echos to 2001:3::3, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;!!!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 8/20/56 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is possible because neighbors are known by their router-ids and link-local addresses are used as next hops, not the actual interface addresses.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4262678487131687641?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4262678487131687641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ospfv3-neighbors-do-not-need-to-be-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4262678487131687641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4262678487131687641'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ospfv3-neighbors-do-not-need-to-be-on.html' title='OSPFv3 Neighbors do not need to be on same subnet'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2876263928083333705</id><published>2009-01-26T20:11:00.000-08:00</published><updated>2009-01-26T20:28:14.550-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Dynamic ARP Inspection with NON-DHCP hosts</title><content type='html'>The Dynamic ARP Inspection concept is well understood, but sometimes the commands and requirements can be hard to remember. This scenario shows how DAI works with DHCP snooping to block ARP requests from untrusted ports and how NON-DHCP clients can still be apart of the network.&lt;br /&gt;&lt;br /&gt;R1,R3 and R5 are all on VLAN100, connected to switch SW1:&lt;br /&gt;&lt;br /&gt;R1 = Static host&lt;br /&gt;R3 = DHCP Server&lt;br /&gt;R5 = DHCP client&lt;br /&gt;&lt;br /&gt;SW1 has ARP Inspection and DHCP snooping enabled already, with trust enabled on the port connected to R3.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;SW1#sho run | inc snoop|arp&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip dhcp snooping vlan 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip dhcp snooping&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip arp inspection vlan 100&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; ip dhcp snooping trust&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;R5 gets an IP address from R3 and now we have the following entry on SW1:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1#sho ip dhcp snooping binding &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;MacAddress         IpAddress   Lease(sec) Type           VLAN  Interface&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;------------------ ----------- ---------- -------------  ----  ---------------&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;00:00:00:00:00:05  192.168.0.5 86381      dhcp-snooping  100   FastEthernet0/5&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Total number of bindings: 1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;R5 tries to ping R1 but can't:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;R5#ping 192.168.0.1&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Type escape sequence to abort.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Jan  7 09:36:20.361: IP: tableid=0, s=192.168.0.5 (local), d=192.168.0.1&lt;br /&gt;            (Ethernet0/0), routed via RIB&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Jan  7 09:36:20.361: IP: s=192.168.0.5 (local), d=192.168.0.1 (Ethernet0/0),&lt;br /&gt;             len 100, sending&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Jan  7 09:36:20.361:     ICMP type=8, code=0&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Jan  7 09:36:20.361: IP ARP: creating incomplete entry for IP address:&lt;br /&gt;             192.168.0.1 interface Ethernet0/0&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Jan  7 09:36:20.361: IP ARP: sent req src 192.168.0.5 0000.0000.0005,&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;                 dst 192.168.0.1 0000.0000.0000 Ethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;On SW1 we see this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1#debug arp &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;07:43:49: %SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Res) on Fa0/1, vlan 100.&lt;br /&gt;([0000.0000.0001/192.168.0.1/0000.0000.0005/192.168.0.5/07:43:49 UTC Mon Mar 1 1993])&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;SW1 is not allowing the ARP reply from R1 because the port is untrusted in the arp inspection configuration and R1's address is not in the DHCP snooping database. We can see the request make it on R1:&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;R1#&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Mar  2 00:31:09.685: IP ARP: rcvd req src 192.168.0.5 0000.0000.0005,&lt;br /&gt;             dst 192.168.0.1 Ethernet0/0&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;*Mar  2 00:31:09.685: IP ARP: sent rep src 192.168.0.1 0000.0000.0001,&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;                 dst 192.168.0.5 0000.0000.0005 Ethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;But R5 never gets the reply. For NON-DHCP hosts we can create an ARP ACL and apply it to the DAI configuration:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config)#arp access-list ARP-TEST  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config-arp-nacl)#permit ip host 192.168.0.1 ?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;  mac  Sender MAC address&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config-arp-nacl)#permit ip host 192.168.0.1 mac ?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;  H.H.H  Sender MAC address&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;  any    Any MAC address&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;  host   Single Sender host&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config-arp-nacl)#permit ip host 192.168.0.1 mac host 0000.0000.0001&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config-arp-nacl)#exit&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1(config)#ip arp inspection filter ARP-TEST vlan 100 &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now let's ping:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;R5#ping 192.168.0.1&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Type escape sequence to abort.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;.!!!!&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;Success rate is 80 percent (4/5), round-trip min/avg/max = 8/9/12 ms&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;There is another option for the DAI filter and that is "static".&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;SW1(config)#ip arp inspection filter ARP-TEST vlan 100  ?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  static  Apply the ACL statically&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  &lt;cr&gt;&lt;/cr&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If we applied this argument to the command, DAI would only check the ARP ACL and not fallback to the DHCP snooping database. That would prevent R5 ARPs from being allowed:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;SW1(config)#ip arp inspection filter ARP-TEST vlan 100  static &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#ping 192.168.0.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;.....&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Success rate is 0 percent (0/5)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Check debugs on SW1:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;SW1#&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;07:52:53: %SW_DAI-4-ACL_DENY: 1 Invalid ARPs (Req) on Fa0/5, vlan 100.&lt;br /&gt;([0000.0000.0005/192.168.0.5/0000.0000.0000/192.168.0.1/07:52:53 UTC Mon Mar 1 1993])&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Requests are being denied inbound on f0/5 now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2876263928083333705?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2876263928083333705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/dynamic-arp-inspection-with-non-dhcp.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2876263928083333705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2876263928083333705'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/dynamic-arp-inspection-with-non-dhcp.html' title='Dynamic ARP Inspection with NON-DHCP hosts'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-9190361308131687675</id><published>2009-01-26T15:16:00.000-08:00</published><updated>2009-01-26T15:46:27.233-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ios feature set'/><title type='text'>RSH/RCP - quick and easy</title><content type='html'>This is one of those topics that probably won't be in the exam, but it can't hurt to learn it if its easy enough.&lt;br /&gt;&lt;br /&gt;On R3, I have:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;R3#sho run | inc rcmd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip rcmd remote-username R3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip rcmd source-interface Loopback0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On R5, I have:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:100%;"  &gt;R5#sho run | inc rcmd&lt;br /&gt;ip rcmd rsh-enable&lt;br /&gt;ip rcmd remote-host cisco 172.16.0.3 R3 enable&lt;br /&gt;ip rcmd source-interface Loopback0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On R3:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#rsh 172.16.0.5 /user cisco sho run int lo0&lt;br /&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 63 bytes&lt;br /&gt;!&lt;br /&gt;interface Loopback0&lt;br /&gt;ip address 172.16.0.5 255.255.255.255&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Now Let's do some RCP file copying:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5(config)#ip rcmd rcp-enable &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5(config)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R5#copy run r5test.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Destination filename [r5test.txt]? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Erase flash: before copying? [confirm]n&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Verifying checksum...  OK (0xFD5B)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;2714 bytes copied in 4.856 secs (559 bytes/sec)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Rack1R5#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Copy from R3:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:100%;"  &gt;R3#copy rcp://cisco@172.16.0.5/R5test.txt flash:&lt;br /&gt;Destination filename [R5test.txt]?&lt;br /&gt;Accessing rcp://cisco@172.16.0.5/R5test.txt...&lt;br /&gt;Erase flash: before copying? [confirm]n!&lt;br /&gt;Verifying checksum...  OK (0xFD5B)&lt;br /&gt;2714 bytes copied in 0.644 secs (4214 bytes/sec)&lt;br /&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;br /&gt;Key things to remember:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-Server side has two names in that rcmd command&lt;br /&gt;-First one must match /user on client&lt;br /&gt;-Second one must match client hostname or client "remote-username" command&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-9190361308131687675?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/9190361308131687675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/rsh-quick-and-easy.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9190361308131687675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9190361308131687675'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/rsh-quick-and-easy.html' title='RSH/RCP - quick and easy'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-482239668300478306</id><published>2009-01-25T10:51:00.000-08:00</published><updated>2009-01-25T11:03:07.614-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 9 Review</title><content type='html'>This lab was actually pretty fun, though I made a lot of mistakes. I was short on time so I did not have any time to verify. I had a previous conflict in schedule so I had to take an hour+ off in the middle of the lab. There was a little bit of everything here from IPv6 redistribution, routing loops (if your not careful), mls qos, hierarchical MQC, and some interesting multicast stuff.&lt;br /&gt;&lt;br /&gt;Here's a summary of what I missed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;IGP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Forgot to add "no-summary" to an NSSA ABR. The task said "no intra-area" routes, and I guess I saw "no inter-area" instead.&lt;br /&gt;&lt;br /&gt;I needed to traffic engineer OSPF to influence path selection in two directions, and I only did one way. I was going to come back after all the redistribution tasks, and I did not have time.&lt;br /&gt;&lt;br /&gt;R1 was to only accept RIP routes from BB1. Without using authentication, the way to do this would be to make RIP AD 255, then use another neighbor-specific distance command for BB1. I missed this.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;BGP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had to prevent BB1/BB2 routes from being exchange to each other. Usually you would use an as-path filter, but the task did not allow this. I used community no-export, which I knew was over-filtering but for some reason I still used it. I should have just used community values like a tag, and then drop them on the way to each BBR.&lt;br /&gt;&lt;br /&gt;I also had to find out what timers BB1 was using without looking at the config. I thought if I debugged keepalives I could tell. This does not work if your router has lower configured timer values. The peers use the lower value. The answer was to make your timers really high and then see what is negotiated. This is something I have read before but for some reason it didn't stick. I shall never forget again.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Multicast&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I missed all 3 multicast tasks which was surprising because I am usually strong in this area. We need to make R6 an RP for the GLOP address ending with a 1. I used 233.0.0.1 but the middle octets are supposed to be the AS number (5051). Also, my multicast rate limiting statement wasn't specific enough because I didn't use a source list. And then I forget "filter-autorp" at the end of my multicast boundary statement. There was a lot more than this to configure but these items cost me the points.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Services&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On DHCP, I forgot to disable dhcp conflict logging which I need to start remembering to do. I never disable it and I never have any problems, but the PG always has it disabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Security &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally I missed a VTY security task to limit "telnet" access to only certain hosts. I made the ACL but forgot the transport input telnet.&lt;br /&gt;&lt;br /&gt;One more volume 3 lab to go, which I start in a few hours. Next weekend I plan on doing Lab 1 again. This is the one I bombed on back in July when I was a wee little CCIE wannabe. It's been long enough for me to forget the details of that lab, so I want to see how much I have improved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-482239668300478306?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/482239668300478306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/volume-3-mock-lab-9-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/482239668300478306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/482239668300478306'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/volume-3-mock-lab-9-review.html' title='IPexpert Volume 3 Mock Lab 9 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5521543792944969203</id><published>2009-01-23T09:46:00.000-08:00</published><updated>2009-01-23T09:49:41.592-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>Renumbering IPv6 with ease via ipv6 general-prefix</title><content type='html'>This is rather neat IPv6 feature that eases renumbering. We define a general prefix globally and then assign interface addresses based on that interface. Should you change providers or ever have to renumber the network, all you have to do is change the general prefix. Here's how it works:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ipv6 general-prefix TEST 2001:5::/48           &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config-if)#ipv6 address TEST 2001:5::/48 eui-64 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5#sho ipv6 interface s1/0 | inc :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  IPv6 is enabled, link-local address is FE80::E1B8:5FF:FE4C:9CDD &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Global unicast address(es):&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;    2001:5::, subnet is 2001:5::/48 [GEN]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;    2001:5::E1B8:5FF:FE4C:9CDD, subnet is 2001:5::/48 [EUI]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Joined group address(es):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    FF02::1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    FF02::2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    FF02::1:FF00:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    FF02::1:FF4C:9CDD&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  ND DAD is enabled, number of DAD attempts: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;We now have an IPv6 address assigned based on the EUI-64 method. The address is 2001:5::E1B8:5FF:FE4C:9CDD. Now suppose we need to change our prefix to 2001:6.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5(config)#no ipv6 general-prefix TEST 2001:5::/48        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5(config)#ipv6 general-prefix TEST 2001:6::/48   &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5(config)#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5(config)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#sho ipv6 interface s1/0 | inc :&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  IPv6 is enabled, link-local address is FE80::E1B8:5FF:FE4C:9CDD &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Global unicast address(es):&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;    2001:6::, subnet is 2001:6::/48 [GEN]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;    2001:6::E1B8:5FF:FE4C:9CDD, subnet is 2001:6::/48 [EUI]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Joined group address(es):&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    FF02::1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    FF02::2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    FF02::1:FF00:0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    FF02::1:FF4C:9CDD&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  ND DAD is enabled, number of DAD attempts: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Image if we had more interfaces, this would make things so much easier. Especially considering each interface would have its own subnet. Imagine if we had interfaces on the 2001:5:0:1, 2001:5:0:2 (and so on) networks. We could change all of these to /48 prefix 2001:6:0:x:/64 with a couple commands. When you do change the general prefix, it does not overwrite the already configured one. This way you can have two prefixes during transition and eventually remove the older one as we did above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5521543792944969203?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5521543792944969203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/renumbering-ipv6-with-ease-via-ipv6.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5521543792944969203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5521543792944969203'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/renumbering-ipv6-with-ease-via-ipv6.html' title='Renumbering IPv6 with ease via ipv6 general-prefix'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-3295170273986809670</id><published>2009-01-22T15:44:00.000-08:00</published><updated>2009-01-22T15:54:26.426-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cbac'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>CBAC with APPFW</title><content type='html'>I have begun my goal of reading the entire 12.4 Security Configuration Guide. I likely won't read it all because many things are probably unrelated to CCIE R&amp;amp;S, but you never really can tell. Especially since the blueprint has "Other Security Features" on it. This configuration is part of CBAC and so I thought I would test a small scenario.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R4----s1/0 R5----R6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R4 is the http server and R6 is the client. Here is how I set them up to verify it's working:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4#copy run test.html&lt;br /&gt;Destination filename [test.html]?&lt;br /&gt;Erase flash: before copying? [confirm]&lt;br /&gt;Erasing the flash filesystem will remove all files! Continue? [confirm]&lt;br /&gt;Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased&lt;br /&gt;Erase of flash: complete&lt;br /&gt;Verifying checksum...  OK (0x7071)&lt;br /&gt;1942 bytes copied in 4.628 secs (420 bytes/sec)&lt;br /&gt;R4#&lt;br /&gt;R4#dir&lt;br /&gt;Directory of flash:/&lt;br /&gt;&lt;br /&gt;   1  -rw-        1942                    &lt;no&gt;  test.html&lt;br /&gt;&lt;br /&gt;7864316 bytes total (7862308 bytes free)&lt;br /&gt;R4#conf t&lt;br /&gt;R4(config)#ip http path flash:&lt;/no&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R4 is setup, let's test R6 the client:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6#copy http://192.168.45.4/test.html flash:&lt;br /&gt;Destination filename [test.html]?&lt;br /&gt;Erase flash: before copying? [confirm]&lt;br /&gt;Erasing the flash filesystem will remove all files! Continue? [confirm]&lt;br /&gt;Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased&lt;br /&gt;Erase of flash: complete&lt;br /&gt;Loading http://192.168.45.4/test.html !&lt;br /&gt;Verifying checksum...  OK (0x7071)&lt;br /&gt;1942 bytes copied in 0.688 secs (2823 bytes/sec)&lt;br /&gt;R6#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Good, so we know that works. Now we can configure R5 as the HTTP Application FW. This does require CBAC as well as some new appfw commands which I have never used. There are &lt;span style="font-weight: bold;"&gt;MANY&lt;/span&gt; more options besides this, so I suggest you read the DocCD for a more in depth explanation. I just wanted to get the gist of it here:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;ip inspect name APPFW appfw HTTPFW&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip inspect name APPFW http&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;appfw policy-name HTTPFW&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  application http&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    strict-http action allow alarm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    content-length minimum 1945 action reset alarm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    port-misuse tunneling action reset&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; description TO R4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip inspect APPFW out&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice the minimum content length is 1945 byes. This will prevent R6 from copying the file via HTTP (test.html is 1942 bytes as we can see above):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;6#copy http://192.168.45.4/test.html flash:&lt;br /&gt;Destination filename [test.html]?&lt;br /&gt;Erase flash: before copying? [confirm]n&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;%Error opening http://192.168.45.4/test.html (I/O error)&lt;/span&gt;&lt;br /&gt;R6#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Jump to R5 and see the message:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 05:34:02.708: %APPFW-4-HTTP_CONT_TYPE_SIZE: Sig:11 &lt;span style="color: rgb(255, 0, 0);"&gt;Content size 1942 out of range - Reset&lt;/span&gt; -  Content size out-of-bounds from 192.168.56.6:25101 to 192.168.45.4:80&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If we change the minimum content legth to 1942, everything works as expected:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#appfw policy-name HTTPFW                             &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(cfg-appfw-policy)#application http                                     &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(cfg-appfw-policy-http)#content-length minimum 1942 action reset alarm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#copy http://192.168.45.4/test.html flash:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Destination filename [test.html]? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;%Warning:There is a file already existing with this name &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Do you want to over write? [confirm]y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Erase flash: before copying? [confirm]n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Loading http://192.168.45.4/test.html !&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Verifying checksum...  OK (0x7071)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;1942 bytes copied in 0.396 secs (4904 bytes/sec)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-3295170273986809670?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/3295170273986809670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/cbac-with-appfw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3295170273986809670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3295170273986809670'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/cbac-with-appfw.html' title='CBAC with APPFW'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7477686933434777472</id><published>2009-01-20T12:57:00.000-08:00</published><updated>2009-01-20T13:08:55.980-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgp'/><title type='text'>AS_SET not used in AS Path length comparison</title><content type='html'>I was reading Chapter 3 today of Routing TCP/IP Volume 2 and it says that AS_SET is not considered when determining shortest AS_PATH. So I decided to lab it and see for myself. R4 is learning the 192.168.0.0/16 aggregate from R5 and R7 each with differing AS_SET lengths.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip bgp | be Net&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   Network          Next Hop     Metric LocPrf Weight Path&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*  192.168.0.0/16   192.168.47.7      0             0 7 {8,900} i&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*&gt;                  192.168.45.5      0             0 5 {6,600,6000,3033} i&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The longest one is winning! AS_SET does count as 1 AS by the way.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip bgp 192.168.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;BGP routing table entry for 192.168.0.0/16, version 4&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Paths: (2 available, best #2, table Default-IP-Routing-Table)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Flag: 0x820&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  Advertised to update-groups:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;     1         &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  7 {8,900}, (aggregated by 7 192.168.78.7)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    192.168.47.7 from 192.168.47.7 (192.168.78.7)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Origin IGP, metric 0, localpref 100, valid, external&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;  5 {6,600,6000,3033}, (aggregated by 5 192.168.56.5)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;    192.168.45.5 from 192.168.45.5 (192.168.56.5)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      Origin IGP, metric 0, localpref 100, valid, external, best&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;All other things being equal it looks like the most recent path is winning. If we clear BGP on R5, R7 would be the most recent:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#clear ip bgp *&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 01:34:11.475: %BGP-5-ADJCHANGE: neighbor 192.168.45.4 Down User reset&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 01:34:11.479: %BGP-5-ADJCHANGE: neighbor 192.168.56.6 Down User reset&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 01:34:11.667: %BGP-5-ADJCHANGE: neighbor 192.168.56.6 Up &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 01:34:12.287: %BGP-5-ADJCHANGE: neighbor 192.168.45.4 Up &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#sho ip bgp | be Net   &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;   Network          Next Hop     Metric LocPrf Weight Path&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*  192.168.0.0/16   192.168.45.5      0             0 5 {6,600,6000,3033} i&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*&gt;                  192.168.47.7      0             0 7 {8,900} i&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;For more details, you can read this document which I am sure we have all seen by now. But little things like this may be forgotten:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml"&gt;BGP PATH SELECTION&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7477686933434777472?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7477686933434777472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/asset-not-used-in-as-path-length.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7477686933434777472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7477686933434777472'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/asset-not-used-in-as-path-length.html' title='AS_SET not used in AS Path length comparison'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-609673245267015324</id><published>2009-01-19T19:53:00.000-08:00</published><updated>2009-01-19T19:58:01.390-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 8 Review</title><content type='html'>At first read through, this lab appears very difficult because the number of routing protocol domains. 2 EIGRP domains, 3 OSPF domains, 1 RIP domain and almost every router and switch running 2 or 3 protocols. I attacked this by creating ACLs matching every set of networks, example:&lt;br /&gt;&lt;br /&gt;ip access-list standard EIGRP134&lt;br /&gt;ip access-list standard EIGRP24&lt;br /&gt;ip access-list standard OSPF1&lt;br /&gt;ip access-list standard OSPF2&lt;br /&gt;ip access-list standard OSPF3&lt;br /&gt;ip access-list standard RIP&lt;br /&gt;&lt;br /&gt;Each ACL contained the networks in that domain. I then altered distance on each border router as needed so I could force the router to learn a route from that direction. In OSPF you can only specify one distance command so I had to merge the RIP and EIGRP ACL's in one case. The goal was to prevent route-feedback by ensuring that routes were learned through the best protocol to begin with. It took me about an hour but it worked great.&lt;br /&gt;&lt;br /&gt;Another task had me configure clustering which is not as hard as it seems. A few commands on the commander and I was done. I had to read through the DocCD to figure some stuff out.&lt;br /&gt;&lt;br /&gt;Side note: If you need to ping your own interface on a frame-relay task but are not allowed to use "frame-relay map", you can use Multilink interface and run MLPPPoFR.&lt;br /&gt;&lt;br /&gt;BGP Section was pretty convoluted and I did not complete it. The main section revolved around using prepends so that distant ASes would disallow certain networks. I thought I could do this, but I did a bad job of reading ahead so I did not have the required confederations for this task. I did not fell like going back and re-doing BGP.&lt;br /&gt;&lt;br /&gt;Another new command: "no service disable-ip-fast-frag"&lt;br /&gt;&lt;br /&gt;IPv6 was pretty easy, I used tunnels to get everywhere.&lt;br /&gt;&lt;br /&gt;QOS: Misunderstood the Flow Based WRED task, instead configured WRED + WFQ in a policy-map. I also configured the Be wrong and forgot adaptive shaping in a FRTS task.&lt;br /&gt;&lt;br /&gt;Last task said to keep traffic stats for a host that might be under a DoS attack. I used accounting, but the PG has ip source-track. I should have got this, as I was just reviewing this topic in the DocCD last week.&lt;br /&gt;&lt;br /&gt;I am not doing as good as I want to be doing. The last few labs in Volume 3 have been tougher, but there's nothing that I should not be able to get or find in the DocCD at this point. It's just a matter of staying focused and keeping the skills sharp.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-609673245267015324?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/609673245267015324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-8-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/609673245267015324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/609673245267015324'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-8-review.html' title='IPexpert Volume 3 Mock Lab 8 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6282884286088711316</id><published>2009-01-18T19:58:00.000-08:00</published><updated>2009-01-18T20:06:22.335-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 7 Review</title><content type='html'>This is a very challenging lab. I missed quite a few things, and there was a LOT of troubleshooting involved when things wouldn't work.&lt;br /&gt;&lt;br /&gt;To begin with, all switches have dot1q trunk links to each other. However SW2 and SW3 are using flex-links. At first nothing seems wrong, then all of a sudden in the IGP section, SW1 becomes unbearably slow and R4 and R7 keep dropping EIGRP adjacencies. I noticed the RIP and IP INPUT processes on R1 were eating up the CPU. RIP and EIGRP packets were being looped over and over and over because STP does not run over Flex links! I shut the links down and attacked it later.&lt;br /&gt;&lt;br /&gt;Another task asked to configure MLPPP over Frame Relay without using a multilink group. I created a multilink interface, but the answer was to use ppp multilink on a virtual-template and forget about the multilink interface.&lt;br /&gt;&lt;br /&gt;BGP, Multicast, IP Services and IPv6 were pretty easy. I was glad because I had already spent 4+ hours getting through IGP. I did miss the HSRP task because they wanted the highest group possible. I used 255 but you were supposed to switch to version 2 and use group 4096!&lt;br /&gt;&lt;br /&gt;Missed some delicate stuff regarding QoS. Byte counts were easy enough configure but the task said you should assume packet sizes of 100. This means you needed to adjust queue-limits also, which I did not do.&lt;br /&gt;&lt;br /&gt;Another tricky one was a CQ to MQC conversion task. They displayed the CQ conversion as using a TCP syslog port. If you use NBAR to match syslog, it only uses UDP buy default. So you had to create a custom port-map. Tough one to see right away.&lt;br /&gt;&lt;br /&gt;There was a login task that asked me to enable SSH for VTY lines. I forgot to create the key so it never would have worked. I should have verified this by attempting to login via SSH.&lt;br /&gt;&lt;br /&gt;Finally, when I went back to the flex-link tasks I just used "switchport trunk allowed vlan none" to get it to work. The PG pruned even VLANs off from SW3 to SW2, then pruned the odd ones from SW2 to SW4. Then they shut the link from SW1 to SW2. Anyways, there were probably a number of ways to do it. It didn't really matter as long as you have connectivity.&lt;br /&gt;&lt;br /&gt;Next up: Lab 8 tomorrow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6282884286088711316?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6282884286088711316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-7-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6282884286088711316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6282884286088711316'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-7-review.html' title='IPexpert Volume 3 Mock Lab 7 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8167870861232342529</id><published>2009-01-17T20:08:00.000-08:00</published><updated>2009-01-17T20:13:56.778-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 6 Review</title><content type='html'>This lab took me about 7 hours to complete, verify and grade. There a few things I did not think I would get, but I ended up with solutions for everything and pretty much all of them worked. There was a task for something I had never heard of, SSG, which I got by looking in the DocCD and browsing the context sensitive help. The question mark is your friend!&lt;br /&gt;&lt;br /&gt;Also another tricky one was R5 had a new loopback that needed to be NATTED based on the outgoing interface. I spent a good chunk of time on this but once I figured it out, it was pretty basic. I just had to match interfaces and addresses in a route-map, and use the route-map on a few NAT statements.&lt;br /&gt;&lt;br /&gt;Here's part of it:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;access-list 55 permit 55.55.55.55&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;route-map VLAN15 permit 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; match ip address 55&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; match interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat inside source route-map VLAN15 interface FastEthernet0/0 overload&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's what I missed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-7&lt;/span&gt; Task 1.1, 1.2 Switching&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Didn't create vlan 400 on CAT1 or CAT2 and didn't make CAT4 root for that vlan. Vlan 400 did not have any hosts but was used as a native vlan. The task said to make CAT4 root for any vlans you have to create on that switch. CAT4 had no hosts, but nevertheless we had to create the vlan and make it root. This task involved a lot of stuff so to lose points for a couple unnecessary things is a bummer.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 5.1 Multicast&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IGMP Filter task said to deny 227.0.0.43 - 227.0.0.99 but only use a permit statement. Silly me included 227.0.0.1-42 and 100-255. I completely forgot this was denying all the 224/8, 225/8, etc groups.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 8.1 QOS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I don't know if I would have got this wrong but I kind of misunderstood it. R9 has a Fastethernet connection while BB3 has an Ethernet. The task said to base your MQC percentages of off BB3's link speed. Well, I used "bandwidth 10000" under R9's interface so all the percentages worked out. The SG modified the percentages themselves. For example, the task said to give SMTP 25%, so the SG gave it bandwidth 2500 as opposed to 25000.&lt;br /&gt;&lt;br /&gt;Other differences:&lt;br /&gt;&lt;br /&gt;Task 3.3 - SG had an extra OSPF VL between R2 and R6 in area 246. Not really needed but probably a good idea.&lt;br /&gt;&lt;br /&gt;Task 4.4 - SG used cost-community to influence path selection, I used "set origin" in a route-map. So much easier!&lt;br /&gt;&lt;br /&gt;Well that's it for tonight. Lab 7 tomorrow and lab 8 on Monday. I am almost done with all the IPexpert material. I have watched and/or listened to all the bootcamp stuff at least once or twice as well. I bought an IE mock lab for next month, and I am planning on doing the Cisco Assessor labs as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8167870861232342529?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8167870861232342529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8167870861232342529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8167870861232342529'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-6.html' title='IPexpert Volume 3 Mock Lab 6 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5469074616260265214</id><published>2009-01-16T23:36:00.001-08:00</published><updated>2009-01-16T23:55:20.682-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nat'/><category scheme='http://www.blogger.com/atom/ns#' term='ios feature set'/><title type='text'>SNAT: Making it work?</title><content type='html'>This is a poorly documented feature and I really just played around with it until I got it to work. If you see anything missing or unnecessary, please comment. The one thing I worry about is I am using secondary addresses which may or may not be allowed in the lab. If you know another way, PLEASE let me know. Other than that, it was all kind of patchwork but it does the job :-)&lt;br /&gt;&lt;br /&gt;Here is the topology:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SXGKgCmGKaI/AAAAAAAAAGU/7HL1XLJpObI/s1600-h/snat.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 354px; height: 400px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SXGKgCmGKaI/AAAAAAAAAGU/7HL1XLJpObI/s400/snat.jpg" alt="" id="BLOGGER_PHOTO_ID_5292163320194148770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R6 will be our test host who will telnet to R4 at 4.4.4.4. If all goes well, after we shut the link from R1 to R2 (whos is HSRP Active), R6 session will stay up. We will then look at the NAT translation table on R2 and R3.&lt;br /&gt;&lt;br /&gt;Here is the configuration for R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 10.0.0.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip nat inside&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 ip 10.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 priority 105&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 preempt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 name SNAT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 track Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 172.12.23.202 255.255.255.0 secondary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 172.12.12.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip nat outside&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat Stateful id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     redundancy SNAT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;         mapping-id 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat pool POOL 172.12.23.1 172.12.23.254 prefix-length 24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat inside source list LAN pool POOL mapping-id 10 overload&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R3 is pretty much the same except for the IP addresses:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 10.0.0.3 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip nat inside&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 ip 10.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 preempt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 name SNAT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; standby 1 track Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 172.12.23.203 255.255.255.0 secondary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 172.12.13.3 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip nat outside&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat Stateful id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     redundancy SNAT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;         mapping-id 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat pool POOL 172.12.23.1 172.12.23.254 prefix-length 24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip nat inside source list LAN pool POOL mapping-id 10 overload&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had to put secondary addresses on the serial links. These routers need to share an address space so they can use the same address to translate and so R1 and R4 no how to reach the translated address range. This secondary address range is being advertised in ospf:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#sho ip route 172.12.23.0&lt;br /&gt;Routing entry for 172.12.23.0/24&lt;br /&gt;Known via "ospf 1", distance 110, metric 128, type intra area&lt;br /&gt;Last update from 172.12.12.2 on Serial1/0, 00:07:58 ago&lt;br /&gt;Routing Descriptor Blocks:&lt;br /&gt;* 172.12.13.3, from 172.12.35.3, 00:07:58 ago, via Serial1/1&lt;br /&gt;Route metric is 128, traffic share count is 1&lt;br /&gt;172.12.12.2, from 2.2.2.2, 00:07:58 ago, via Serial1/0&lt;br /&gt;Route metric is 128, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also note that the HSRP group name "SNAT" is referenced in the stateful NAT configuration. The mapping ID is then referenced in the NAT statement itself.&lt;br /&gt;&lt;br /&gt;Let's telnet from R6 to R4, we will first verify that we route through R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6#telnet R4&lt;br /&gt;Translating "R4"&lt;br /&gt;% Unknown command or computer name, or unable to find computer address&lt;br /&gt;R6#telnet 4.4.4.4&lt;br /&gt;Trying 4.4.4.4 ... Open&lt;br /&gt;&lt;br /&gt;R4#&lt;br /&gt;R4#!here we are!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Shut the interface on R1 to R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#shut&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check back on R4. This may take awhile because HSRP still has to failover:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#!Hey we're still alive!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[Connection to 4.4.4.4 closed by foreign host]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#trace 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Tracing the route to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  1 10.0.0.3 56 msec 48 msec 60 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;span style="color: rgb(255, 0, 0);"&gt;2 172.12.13.1 132 msec 68 msec 104 msec&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  3 172.12.14.4 148 msec *  184 msec&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;We are going through R3! If we did not have SNAT, our session would have dropped when R4 noticed that our address has changed.&lt;br /&gt;&lt;br /&gt;Let's look at our address translations:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#sho ip nat translations&lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;udp 172.12.23.5:37518  10.0.0.6:37518     4.4.4.4:33441      4.4.4.4:33441&lt;br /&gt;udp 172.12.23.5:39661  10.0.0.6:39661     4.4.4.4:33442      4.4.4.4:33442&lt;br /&gt;udp 172.12.23.5:42398  10.0.0.6:42398     4.4.4.4:33437      4.4.4.4:33437&lt;br /&gt;udp 172.12.23.5:36656  10.0.0.6:36656     4.4.4.4:33439      4.4.4.4:33439&lt;br /&gt;udp 172.12.23.5:39090  10.0.0.6:39090     4.4.4.4:33438      4.4.4.4:33438&lt;br /&gt;udp 172.12.23.5:35099  10.0.0.6:35099     4.4.4.4:33440      4.4.4.4:33440&lt;br /&gt;&lt;br /&gt;R3#sho ip nat translations&lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;udp 172.12.23.5:37518  10.0.0.6:37518     4.4.4.4:33441      4.4.4.4:33441&lt;br /&gt;udp 172.12.23.5:39661  10.0.0.6:39661     4.4.4.4:33442      4.4.4.4:33442&lt;br /&gt;udp 172.12.23.5:42398  10.0.0.6:42398     4.4.4.4:33437      4.4.4.4:33437&lt;br /&gt;udp 172.12.23.5:36656  10.0.0.6:36656     4.4.4.4:33439      4.4.4.4:33439&lt;br /&gt;udp 172.12.23.5:39090  10.0.0.6:39090     4.4.4.4:33438      4.4.4.4:33438&lt;br /&gt;udp 172.12.23.5:35099  10.0.0.6:35099     4.4.4.4:33440      4.4.4.4:33440&lt;br /&gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Exactly the same! Have no idea where these ports came from, but let's watch closer at the interaction between R2 and R3.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#clear ip nat translation *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R3#clear ip nat translation *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6#telnet 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Trying 4.4.4.4 ... Open&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here we go:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#sho ip nat translations&lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;tcp 172.12.23.6:47684  10.0.0.6:47684     4.4.4.4:23         4.4.4.4:23&lt;br /&gt;&lt;br /&gt;R3#sho ip nat translations&lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;tcp 172.12.23.6:47684  10.0.0.6:47684     4.4.4.4:23         4.4.4.4:23&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some more commands:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2#sho ip snat distributed&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;Stateful NAT Connected Peers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SNAT: Mode IP-REDUNDANCY :: STANDBY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : State READY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Local Address 10.0.0.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Local NAT id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Peer Address 10.0.0.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Peer NAT id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Mapping List 10 &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;R3#sho ip snat distributed &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;Stateful NAT Connected Peers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SNAT: Mode IP-REDUNDANCY :: ACTIVE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : State READY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Local Address 10.0.0.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Local NAT id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Peer Address 10.0.0.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Peer NAT id 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    : Mapping List 10 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R3#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;R3 has already been updated and is ready to take over when needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5469074616260265214?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5469074616260265214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/snat-making-it-work.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5469074616260265214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5469074616260265214'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/snat-making-it-work.html' title='SNAT: Making it work?'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/SXGKgCmGKaI/AAAAAAAAAGU/7HL1XLJpObI/s72-c/snat.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4865210039669003883</id><published>2009-01-16T19:59:00.000-08:00</published><updated>2009-01-16T20:09:22.407-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>Troubleshooting PIM-SM issues on a LAN segment</title><content type='html'>Below is the topology for this lab. R1 is the Mapping Agent and the RP. PIM-SM is enabled everywhere except the link between R1 and R3.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SXFYVMLGJlI/AAAAAAAAAGE/lqStOOVxjE0/s1600-h/multicast+dr+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 324px; height: 400px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SXFYVMLGJlI/AAAAAAAAAGE/lqStOOVxjE0/s400/multicast+dr+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5292108158205306450" border="0" /&gt;&lt;/a&gt;All routers also have the following debug command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;debug ip pim 239.0.0.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's take a look at what happens R5 joins group 239.0.0.1&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#int f0/0                      &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;R5(config-if)#ip igmp join-group 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Mar  1 00:51:50.599: PIM(0): Check RP 1.1.1.1 into the (*, 239.0.0.1) entry&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;R4#ping 239.0.0.1 re 5 sou s1/0&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Type escape sequence to abort.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Packet sent with a source address of 172.12.14.4&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;.....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hmmm....a quick check of the RP mapping and everyone knows about 1.1.1.1 (R1) as the RP. Let's take a look at the mroute table on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#sho ip mrou 239.0.0.1 | be \(&lt;br /&gt;(*, 239.0.0.1), 00:01:38/stopped, RP 1.1.1.1, flags: SP&lt;br /&gt;Incoming interface: Null, RPF nbr 0.0.0.0&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Outgoing interface list: Null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(172.12.14.4, 239.0.0.1), 00:01:38/00:01:46, flags: PT&lt;br /&gt;Incoming interface: Serial1/2, RPF nbr 0.0.0.0&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Outgoing interface list: Null&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 is seeing the packets from R4 but it's outgoing interface list is NULL. Let's take a look at R2's mroute table:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#sho ip mrou 239.0.0.1 | be \(&lt;br /&gt;(*, 239.0.0.1), 00:03:27/00:02:57, RP 1.1.1.1, flags: SP&lt;br /&gt;Incoming interface: Serial1/0, RPF nbr 172.12.12.1&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Outgoing interface list: Null&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NULL also, what gives? Let's wait and see if we get any debugs on R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;00:55:42: PIM(0): Received v2 Join/Prune on FastEthernet0/0 from 172.12.25.6, &lt;span style="color: rgb(255, 0, 0);"&gt;not to us&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;00:55:42: PIM(0): Building Periodic Join/Prune message for 239.0.0.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Interesting...It appears that R6 has become the DR for this segment and is responsible for sending (*,G) joins to the RP. R2 is hearing them, but ignoring them...why? What exactly is in the packet that tells R2 its not for us. Well since this is a dynamips lab, we can find out!&lt;br /&gt;&lt;br /&gt;Here is a screenshot of the packet capture:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JlGUPVCvNQY/SXFYtTbnHLI/AAAAAAAAAGM/-qO-QB3Ee74/s1600-h/pim+join.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 129px;" src="http://4.bp.blogspot.com/_JlGUPVCvNQY/SXFYtTbnHLI/AAAAAAAAAGM/-qO-QB3Ee74/s400/pim+join.JPG" alt="" id="BLOGGER_PHOTO_ID_5292108572470484146" border="0" /&gt;&lt;/a&gt;We can see that when R6 sends this join it is using a multicast address of 224.0.0.13. But inside of the PIM packet we can see R6 specifies an upstream neighbor of 172.12.25.3 which is R3.&lt;br /&gt;&lt;br /&gt;Also on R6 we see the following debug messages:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R6#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:02:48.847: PIM(0): Building Periodic Join/Prune message for 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:02:48.847: PIM(0): Insert (*,239.0.0.1) join in nbr 172.12.25.3's queue&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:02:48.851: PIM(0): Building Join/Prune packet for nbr 172.12.25.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:02:48.855: PIM(0): Adding v2 (1.1.1.1/32, 239.0.0.1), WC-bit, RPT-bit, S-bit Join&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:02:48.859: PIM(0): Send v2 join/prune to 172.12.25.3 (FastEthernet0/0)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Can we fix this? Of course!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6(config)#ip mroute 1.1.1.1 255.255.255.255 172.12.25.2&lt;br /&gt;&lt;br /&gt;*Mar  1 01:05:52.019: PIM(0): Building Periodic Join/Prune message for 239.0.0.1&lt;br /&gt;*Mar  1 01:05:52.019: PIM(0): Insert (*,239.0.0.1) join in nbr 172.12.25.2's queue&lt;br /&gt;*Mar  1 01:05:52.023: PIM(0): Building Join/Prune packet for nbr 172.12.25.2&lt;br /&gt;*Mar  1 01:05:52.027: PIM(0): Adding v2 (1.1.1.1/32, 239.0.0.1), WC-bit, RPT-bit, S-bit Join&lt;br /&gt;*Mar  1 01:05:52.027: PIM(0): Send v2 join/prune to 172.12.25.2 (FastEthernet0/0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ping now:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4#ping 239.0.0.1 re 5 sou s1/0&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;br /&gt;Packet sent with a source address of 172.12.14.4&lt;br /&gt;&lt;br /&gt;Reply to request 0 from 172.12.25.5, 244 ms&lt;br /&gt;Reply to request 1 from 172.12.25.5, 104 ms&lt;br /&gt;Reply to request 2 from 172.12.25.5, 72 ms&lt;br /&gt;Reply to request 3 from 172.12.25.5, 52 ms&lt;br /&gt;Reply to request 4 from 172.12.25.5, 44 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But wait! There's one more solution. We can make R2 the DR for the segment (Remove the mroute on R6 and clear the mroute table on R2):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2(config)#int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config-if)#ip pim dr-priority 300000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Changing DR for FastEthernet0/0, from 172.12.25.6 to 172.12.25.2 (this system)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: %PIM-5-DRCHG: DR change from neighbor 172.12.25.6 to 172.12.25.2 on interface FastEthernet0/0 (vrf default)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Check RP 1.1.1.1 into the (*, 239.0.0.1) entry&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Building Triggered Join/Prune message for 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Insert (*,239.0.0.1) join in nbr 172.12.12.1's queue&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Building Join/Prune packet for nbr 172.12.12.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Adding v2 (1.1.1.1/32, 239.0.0.1), WC-bit, RPT-bit, S-bit Join&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:07:09: PIM(0): Send v2 join/prune to 172.12.12.1 (Serial1/0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2#sho ip mrou 239.0.0.1 | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(*, 239.0.0.1), 00:01:28/00:02:31, RP 1.1.1.1, flags: SJC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Incoming interface: Serial1/0, RPF nbr 172.12.12.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   FastEthernet0/0, Forward/Sparse, 00:01:28/00:02:31&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's always good to have more than one solution up your sleeve :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4865210039669003883?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4865210039669003883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/troubleshooting-pim-sm-issues-on-lan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4865210039669003883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4865210039669003883'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/troubleshooting-pim-sm-issues-on-lan.html' title='Troubleshooting PIM-SM issues on a LAN segment'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/SXFYVMLGJlI/AAAAAAAAAGE/lqStOOVxjE0/s72-c/multicast+dr+lab.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2891583898814428701</id><published>2009-01-16T09:13:00.000-08:00</published><updated>2009-01-16T09:17:00.337-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network management'/><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><category scheme='http://www.blogger.com/atom/ns#' term='logging'/><title type='text'>Sending Logs as SNMP Traps</title><content type='html'>I have been reading Chapter 9 of Routing TCP/IP Vol. II this week. It has a good overview of the non-core topics such as snmp, rmon, ntp, etc. I recommend it for anyone struggling with these topics or just wanting a concise review.&lt;br /&gt;&lt;br /&gt;This example shows how to configure a router to send logs to an snmp-server and verify it.&lt;br /&gt;&lt;br /&gt;The first thing you must do is configure a server. Without this, you want be able to see any debugging because the router won't send any packet out.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R8(config)#snmp-server host 4.4.4.4 public syslog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config)#snmp-server enable traps syslog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config)#logging console warnings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config)#logging buffered 16384 debugging &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have also decided to buffer the logs instead of send them to the console. This is not required just a way to keep everything less cluttered on the console screen. What this configuration does is buffer all log messages of debugging level or lower. Then these messages are sent via SNMP to the server at 4.4.4.4. Let's debug snmp packets, then a quick shutting/no shutting of an interface will give us some messages to view:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R8#debug snmp packets&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SNMP packet debugging is on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config)#int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config-if)#no snmp trap link-status&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config-if)#shut&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config-if)#no shut&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8#sho logging | beg Log Buffer&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Log Buffer (16384 bytes):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:38.565: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:40.117: %PIM-5-DRCHG: DR change from neighbor 0.0.0.0 to 192.168.8.8 on interface FastEthernet0/0 (vrf default)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;*Mar  2 18:33:40.641: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:40.669: SNMP: Queuing packet to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:40.669: SNMP: V1 Trap, ent ciscoSyslogMIB.2, addr 192.168.78.8, gentrap 6, spectrap 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.2.58 = LINK &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.3.58 = 4 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.4.58 = UPDOWN &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt; clogHistoryEntry.5.58 = Interface FastEthernet0/0, changed state to up &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.6.58 = 15322065&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:40.921: SNMP: Packet sent via UDP to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:33:42.513: %SYS-5-CONFIG_I: Configured from console by console&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I disabled snmp trap link-status to show that we are not using this feature to send traps. Notice the entry labeled clogHistoryEntry.5.58, this is exactly the same message as our logging message a few lines up. We only get linkup messages with this basic config.&lt;br /&gt;&lt;br /&gt;To modify the configuration we use the logging history command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R8(config)#logging history ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;0-7&gt;          Logging severity level&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  alerts         Immediate action needed           (severity=1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  critical       Critical conditions               (severity=2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  debugging      Debugging messages                (severity=7)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  emergencies    System is unusable                (severity=0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  errors         Error conditions                  (severity=3)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  informational  Informational messages            (severity=6)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  notifications  Normal but significant conditions (severity=5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  size           Set history table size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  warnings       Warning conditions                (severity=4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R8(config)#logging history size 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here I set the history size to 2 so I am able to view the last 2 messages sent with the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R8#sho logging history &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Syslog History Table:2 maximum table entries,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;saving level notifications or higher&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; 149 messages ignored, 11 dropped, 0 recursion drops&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; 57 table entries flushed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; SNMP notifications enabled, 45 notifications sent&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;span style="color: rgb(255, 0, 0);"&gt; entry number 58 : LINK-3-UPDOWN&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    Interface FastEthernet0/0, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    timestamp: 15322065&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;span style="color: rgb(255, 0, 0);"&gt; entry number 59 : SYS-5-CONFIG_I&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    Configured from console by console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    timestamp: 15345618&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Pretty basic scenario. It is important to remember this is different from the usual way of sending linkup/linkdown traps. Here, we are not using "snmp-server enable traps snmp linkup linkdown" or the interface command "snmp trap link-status".&lt;br /&gt;&lt;br /&gt;Also, I think I figured out why linkdowns are not being sent, if I manually configure the logging level to "notifications" it works:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R8(config)#logging history notifications &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config)#int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8(config-if)#shut&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8#sho logging &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:38.885: SNMP: Packet sent via UDP to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:39.981: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:40.057: SNMP: Queuing packet to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:40.061: SNMP: V1 Trap, ent ciscoSyslogMIB.2, addr 192.168.78.8, gentrap 6, spectrap 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.2.72 = LINK &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.3.72 = 6 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.4.72 = CHANGED &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; clogHistoryEntry.5.72 = Interface FastEthernet0/0, changed state to administratively down&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.6.72 = 15399999&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:40.309: SNMP: Packet sent via UDP to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:40.981: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:41.033: SNMP: Queuing packet to 4.4.4.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  2 18:46:41.033: SNMP: V1 Trap, ent ciscoSyslogMIB.2, addr 192.168.78.8, gentrap 6, spectrap 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.2.73 = LINEPROTO &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.3.73 = 6 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.4.73 = UPDOWN &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt; clogHistoryEntry.5.73 = Line protocol on Interface FastEthernet0/0, changed state to down &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; clogHistoryEntry.6.73 = 15400099&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Not sure why I needed that because according to the "show logging history", notifications were the default level. However, it appears they aren't because the command shows up in the config:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8#sho run | inc logging his&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;logging history size 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;logging history notifications&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R8#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2891583898814428701?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2891583898814428701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/sending-logs-as-snmp-traps.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2891583898814428701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2891583898814428701'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/sending-logs-as-snmp-traps.html' title='Sending Logs as SNMP Traps'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7973184141824423597</id><published>2009-01-15T10:23:00.000-08:00</published><updated>2009-01-15T10:30:08.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><category scheme='http://www.blogger.com/atom/ns#' term='msdp'/><title type='text'>Basic MSDP configuration</title><content type='html'>This is a short MSDP scenario designed to get familiar with the command to enable it and where you would use it. Below is the toplogy.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW9_mlYf9QI/AAAAAAAAAF8/AAmAzChi21w/s1600-h/msdp+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 235px;" src="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW9_mlYf9QI/AAAAAAAAAF8/AAmAzChi21w/s400/msdp+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5291588388030248194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;There are two domains, each with an RP. We seperate the domains by using the following commands on R3 and R4:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R3(config)#int s1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R3(config-if)#ip pim bsr-border&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config)#int s1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-if)#ip pim bsr-border&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R2 and R4 have already been configured as the BSR and RP's for their respective domains. Let's verify on R1 and R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#sho ip pim rp mapping&lt;br /&gt;PIM Group-to-RP Mappings&lt;br /&gt;&lt;br /&gt;Group(s) 224.0.0.0/4&lt;br /&gt;RP 2.2.2.2 (?), v2&lt;br /&gt;  Info source: 2.2.2.2 (?), via bootstrap, priority 0, holdtime 150&lt;br /&gt;       Uptime: 18:21:34, expires: 00:02:13&lt;br /&gt;&lt;br /&gt;R5#sho ip pim rp map&lt;br /&gt;PIM Group-to-RP Mappings&lt;br /&gt;&lt;br /&gt;Group(s) 224.0.0.0/4&lt;br /&gt;RP 4.4.4.4 (?), v2&lt;br /&gt;  Info source: 4.4.4.4 (?), via bootstrap, priority 0, holdtime 150&lt;br /&gt;       Uptime: 18:19:56, expires: 00:01:52&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 and R8 have already joined group 225.0.0.1. Let's see what happens when R6 sends a ping to this group:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6#ping 225.0.0.1 re 10&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 10, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:&lt;br /&gt;&lt;br /&gt;Reply to request 0 from 192.168.78.8, 192 ms&lt;br /&gt;Reply to request 1 from 192.168.78.8, 192 ms&lt;br /&gt;Reply to request 2 from 192.168.78.8, 100 ms&lt;br /&gt;Reply to request 3 from 192.168.78.8, 84 ms&lt;br /&gt;Reply to request 4 from 192.168.78.8, 112 ms&lt;br /&gt;Reply to request 5 from 192.168.78.8, 104 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Only R8 responds. This is because the PIM joins from Domain 1 never get sent to the RP in Domain 2. Thus R4 never knows to forward to R3. Let's configure MSDP between R2 and R4:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2(config)#ip msdp peer 4.4.4.4 connect-source loopback 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config)#ip msdp peer 2.2.2.2 connect-source loopback 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It may take a moment but we will see this message:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 19:56:14.343: %MSDP-5-PEER_UPDOWN: Session to peer 2.2.2.2 going up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If we debug we would see this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4#debug ip msdp de&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;MSDP Detail debugging is on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:15.263: MSDP(0): Received 3-byte TCP segment from 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:15.263: MSDP(0): Append 3 bytes to 0-byte msg 1170 from 2.2.2.2, qs 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;*Mar  1 19:56:15.643: MSDP(0): Sent entire mroute table, mroute_cache_index = 0, Qlen = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:15.647: MSDP(0): start_index = 0, sa_cache_index = 0, Qlen = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:15.651: MSDP(0): Sent entire sa-cache, sa_cache_index = 0, Qlen = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:16.275: MSDP(0): Received 3-byte TCP segment from 2.2.2.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 19:56:16.275: MSDP(0): Append 3 bytes to 0-byte msg 1171 from 2.2.2.2, qs 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that R4 sent R2 its entire mroute table. Let's check the mroute table on R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#sho ip mroute 225.0.0.1 | be \(\*&lt;br /&gt;(*, 225.0.0.1), 00:04:59/00:03:27, RP 2.2.2.2, flags: S&lt;br /&gt;Incoming interface: Null, RPF nbr 0.0.0.0&lt;br /&gt;Outgoing interface list:&lt;br /&gt;  Serial1/0, Forward/Sparse, 00:04:59/00:03:27&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(192.168.56.6, 225.0.0.1), 00:01:47/00:01:12, flags: M&lt;/span&gt;&lt;br /&gt;Incoming interface: Serial1/1, RPF nbr 192.168.23.3&lt;br /&gt;Outgoing interface list:&lt;br /&gt;  Serial1/0, Forward/Sparse, 00:01:47/00:03:27&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R2 now knows about the source of R6 and has even populated its OIL. The M flag tells us this is an MSDP created entry. Let's ping from R6:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6#ping 225.0.0.1 re 5&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 225.0.0.1, timeout is 2 seconds:&lt;br /&gt;&lt;br /&gt;Reply to request 0 from 192.168.78.8, 188 ms&lt;br /&gt;Reply to request 0 from 192.168.12.1, 284 ms&lt;br /&gt;Reply to request 0 from 192.168.12.1, 268 ms&lt;br /&gt;Reply to request 1 from 192.168.12.1, 132 ms&lt;br /&gt;Reply to request 1 from 192.168.78.8, 184 ms&lt;br /&gt;Reply to request 2 from 192.168.12.1, 132 ms&lt;br /&gt;Reply to request 2 from 192.168.78.8, 132 ms&lt;br /&gt;Reply to request 3 from 192.168.12.1, 100 ms&lt;br /&gt;Reply to request 3 from 192.168.78.8, 100 ms&lt;br /&gt;Reply to request 4 from 192.168.12.1, 96 ms&lt;br /&gt;Reply to request 4 from 192.168.78.8, 100 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well that's it for now. You can have more complex scenarios with multiple domains (DocCD says MBGP is required for that) but the basics are easy to get down.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7973184141824423597?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7973184141824423597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/basic-msdp-configuration.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7973184141824423597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7973184141824423597'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/basic-msdp-configuration.html' title='Basic MSDP configuration'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JlGUPVCvNQY/SW9_mlYf9QI/AAAAAAAAAF8/AAmAzChi21w/s72-c/msdp+lab.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6711627667996087704</id><published>2009-01-14T12:56:00.000-08:00</published><updated>2009-01-14T13:12:54.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><title type='text'>STP: UplinkFast and BackBoneFast</title><content type='html'>This is I lab made to get familiar with the two STP features Uplinkfast and Backbonefast. RSTP (802.1w) includes these features but I don't seem to get the BackboneFast behavior when using "spanning-tree mode rapid-pvst+".&lt;br /&gt;&lt;br /&gt;These features are similar but they are used to provide fast convergence in different scenarios depending on where the failure is in the STP toplogy.&lt;br /&gt;&lt;br /&gt;Here is Topology #1 with SW1 configured as Root for VLAN13 where R1 and R4 reside. The Red Xes mark where STP is blocking:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW5US_Zjp_I/AAAAAAAAAFs/vbGJbuWKmX8/s1600-h/stp1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 188px;" src="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW5US_Zjp_I/AAAAAAAAAFs/vbGJbuWKmX8/s400/stp1.jpg" alt="" id="BLOGGER_PHOTO_ID_5291259297439918066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Without Uplinkfast or Backbonefast enabled, lets see how long it takes STP to converge if port 13 on SW2 is shut:&lt;br /&gt;&lt;br /&gt;R4 starts the ping while we shut the port on SW2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#ping 2001:13::1 re 1000000&lt;/span&gt;  &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Type escape sequence to abort.&lt;/span&gt; &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Sending 1000000, 100-byte ICMP Echos to 2001:13::1, timeout is 2 seconds:&lt;/span&gt; &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!................!!!!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We missed about 16 pings and our topology has now converged. Let's enable UplinkFast on SW2, SW3 and SW4 and test again:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW2(config)#spanning-tree uplinkfast&lt;br /&gt;SW3(config)#spanning-tree uplinkfast&lt;br /&gt;SW4(config)#spanning-tree uplinkfast&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you re-enable Port 13 on SW2, it takes awhile to come back up. It doesn't move through the LIS and LRN states according to the output but it will come up and you will see this message:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;02:31:17: %SPANTREE_FAST-7-PORT_FWD_UPLINK: VLAN0013 FastEthernet0/13 moved to Forwarding (UplinkFast)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now Let's ping from R4 again and the shut port 13 on SW2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4#ping 2001:13::1 re 1000000&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Sending 1000000, 100-byte ICMP Echos to 2001:13::1, timeout is 2 seconds:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One ping lost - WOW! Very fast. Let's build upon this failed scenario and look our new topology. Now we have SW2 forwarding through SW4 on it's way to the root SW1.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JlGUPVCvNQY/SW5UwVHC1YI/AAAAAAAAAF0/mGCB8bRCayw/s1600-h/stp2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 188px;" src="http://4.bp.blogspot.com/_JlGUPVCvNQY/SW5UwVHC1YI/AAAAAAAAAF0/mGCB8bRCayw/s400/stp2.jpg" alt="" id="BLOGGER_PHOTO_ID_5291259801484055938" border="0" /&gt;&lt;/a&gt;Let's see how long it takes to converge if we shut port 13 on SW4:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4#ping 2001:13::1 re 1000000&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Sending 1000000, 100-byte ICMP Echos to 2001:13::1, timeout is 2 seconds:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.........!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We miss about 9 pings here. What happened? Well in short, when SW4 path to root went down, it started thinking that it was the new root. This caused a new STP election to occur and SW4 finally had to wait until it heard the new SW1 BPDUs from SW1 &gt; SW3 &gt; SW2 &gt; SW4.&lt;br /&gt;&lt;br /&gt;BackboneFast can speed up this process, when SW2 starts hearing this inferior BPDUS from SW4 (who is cliaming to be root when port 13 goes down") and special query process takes place to speed up convergence. Let's enable it and check the pings again. This goes on all switches.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#spann backbonefast&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#spann backbonefast&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW3(config)#spann backbonefast&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW4(config)#spann backbonefast&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4#ping 2001:13::1 re 1000000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 1000000, 100-byte ICMP Echos to 2001:13::1, timeout is 2 seconds:&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;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&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;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rapid Spanning Tree Protocol (802.1w) includes these features natively. In failover scenario #2 (shutting port 13 on SW4), only backbonefast provided quick convergence while Rapid-PVST+ did not. If have any ideas why, please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6711627667996087704?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6711627667996087704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/stp-uplinkfast-and-backbonefast.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6711627667996087704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6711627667996087704'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/stp-uplinkfast-and-backbonefast.html' title='STP: UplinkFast and BackBoneFast'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JlGUPVCvNQY/SW5US_Zjp_I/AAAAAAAAAFs/vbGJbuWKmX8/s72-c/stp1.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4886652900290498334</id><published>2009-01-14T10:27:00.000-08:00</published><updated>2009-01-14T10:52:19.167-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nat'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6 NAT-PT</title><content type='html'>This is a very simple IPv6 NAT-PT scenario. Here is the topology and addressing:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW4ux_GragI/AAAAAAAAAFk/HG8M8N5HW8A/s1600-h/ipv6+nat-pt.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 348px; height: 160px;" src="http://3.bp.blogspot.com/_JlGUPVCvNQY/SW4ux_GragI/AAAAAAAAAFk/HG8M8N5HW8A/s400/ipv6+nat-pt.jpg" alt="" id="BLOGGER_PHOTO_ID_5291218048494823938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R1 is an IPv6 only host and R2 is an IPv4 only host.&lt;br /&gt;R1 should use address 2001:23::2 to reach R2.&lt;br /&gt;R2 should use 192.168.13.1 to reach R1.&lt;br /&gt;R3 will be doing NAT-PT&lt;br /&gt;&lt;br /&gt;Assign addresses per the diagram. The rest of the configuration is on R3.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#int e0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#ipv6 nat&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#int e0/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config-if)#ipv6 nat&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#ipv6 nat v4v6 source 192.168.23.2 2001:23::2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#ipv6 nat v6v4 source 2001:13::1 192.168.13.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3(config)#ipv6 nat prefix 2001:23::/96&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Remember to assing default gateways on R1 and R2:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1(config)#ipv6 route 0::/0 2001:13::3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config)#ip route 0.0.0.0 0.0.0.0 192.168.23.3&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Let's ping from R1 while debugging on R3:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#debug ipv6 nat&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;IPv6 NAT-PT debugging is on&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#ping 2001:23::2 re 1&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Type escape sequence to abort.&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Sending 1, 100-byte ICMP Echos to 2001:23::2, timeout is 2 seconds:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;!&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Success rate is 100 percent (1/1), round-trip min/avg/max = 4/4/4 ms&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 13:51:12.323: IPv6 NAT: icmp src (2001:13::1) -&gt; (192.168.13.1),&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;dst (2001:23::2) -&gt; (192.168.23.2)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 13:51:12.327: IPv6 NAT:  src (192.168.23.2) -&gt; (2001:23::2), dst &lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;(192.168.13.1) -&gt; (2001:13::1)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now let's try the other way:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#ping 192.168.13.1 re 1&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Type escape sequence to abort.&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Sending 1, 100-byte ICMP Echos to 192.168.13.1, timeout is 2 seconds:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;!&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Success rate is 100 percent (1/1), round-trip min/avg/max = 8/8/8 ms&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 13:53:00.991: IPv6 NAT:  src (192.168.23.2) -&gt; (2001:23::2), dst&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;(192.168.13.1) -&gt; (2001:13::1)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;*Mar  1 13:53:00.995: IPv6 NAT: icmp src (2001:13::1) -&gt; (192.168.13.1),&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;dst (2001:23::2) -&gt; (192.168.23.2)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can view the translations on R3:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R3#sho ipv6  nat translations&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Prot  IPv4 source              IPv6 source&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      IPv4 destination         IPv6 destination&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;---   ---                      ---&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      192.168.23.2             2001:23::2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;---   192.168.13.1             2001:13::1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      192.168.23.2             2001:23::2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;---   192.168.13.1             2001:13::1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;      ---                      ---&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;That's it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4886652900290498334?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4886652900290498334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipv6-nat-pt.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4886652900290498334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4886652900290498334'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipv6-nat-pt.html' title='IPv6 NAT-PT'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JlGUPVCvNQY/SW4ux_GragI/AAAAAAAAAFk/HG8M8N5HW8A/s72-c/ipv6+nat-pt.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-487973870183304460</id><published>2009-01-13T10:56:00.000-08:00</published><updated>2009-01-13T10:59:24.316-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='access-list'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Finding out port numbers with NBAR show commands</title><content type='html'>I had a filtering task that said to allow H323 Traffic to a specific vlan. Well...what ports does H323 use? I could not find it on the DocCD but I remembered a show command that will let us know:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:100%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#sho ip nbar port-map h323 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;port-map h323       udp 1300 1718 1719 1720 11720 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;port-map h323       tcp 1300 1718 1719 1720 11000 - 11999 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Sweet!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-487973870183304460?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/487973870183304460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/finding-out-port-numbers-with-nbar-show.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/487973870183304460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/487973870183304460'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/finding-out-port-numbers-with-nbar-show.html' title='Finding out port numbers with NBAR show commands'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4987492842587970839</id><published>2009-01-12T10:08:00.000-08:00</published><updated>2009-01-12T14:02:36.384-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ppp'/><category scheme='http://www.blogger.com/atom/ns#' term='authentication'/><title type='text'>PPP Authentication with MD5</title><content type='html'>I had a task this weekend that asked to authenticate PPP via Md5. I did a context sensitive help and saw this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R2(config-if)#ppp authentication ?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;chap        Challenge Handshake Authentication Protocol (CHAP)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;eap         Extensible Authentication Protocol (EAP)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ms-chap     Microsoft Challenge Handshake Authentication Protocol (MS-CHAP)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ms-chap-v2  Microsoft CHAP Version 2 (MS-CHAP-V2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;pap         Password Authentication Protocol (PAP)&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:100%;"  &gt;&lt;/span&gt;Doesn't look like there is an Md5 option...or is there? I looked up the ppp authentication commands in the DocCD:&lt;br /&gt;&lt;br /&gt;-12.4 Mainline&lt;br /&gt;-Master Index&lt;br /&gt;-Cisco IOS Master Command List, All Releases&lt;br /&gt;-ppp authentication MWP-147, SEC-1481&lt;br /&gt;&lt;br /&gt;Click the SEC-1481 link&lt;br /&gt;&lt;br /&gt;Now is where I used the browser search to look for "Md5." Not sure if this is possible in the lab so you may have to quickly scan with your eyes. The only hit comes up under "ppp eap local" command. You will see this phrase:&lt;br /&gt;&lt;br /&gt;"In local mode, the EAP session is authenticated using the MD5 algorithm and obeys the same authentication rules as does Challenge Handshake Authentication Protocol (CHAP)."&lt;br /&gt;&lt;br /&gt;Voila!&lt;br /&gt;&lt;br /&gt;So now that we know what mode we need everything else is easy, and it works just like CHAP. On both sides:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;username R5 password cisco&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;interface Serial1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ip address 150.100.25.2 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;encapsulation ppp&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ppp authentication eap&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ppp eap password 0 cisco&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;ppp eap local&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Always verify just to make sure it's working:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;R2#debug ppp authentication&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:34.779: Se1/1 PPP: Using default call direction&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:34.783: Se1/1 PPP: Treating connection as a dedicated line&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:34.783: Se1/1 PPP: Session handle[9700001A] Session id[32]&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:34.787: Se1/1 PPP: Authorization required&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:34.967: Se1/1 EAP: O REQUEST  IDENTITY id 50 len 5&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.015: Se1/1 EAP: I REQUEST  IDENTITY id 19 len 5&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.015: Se1/1 EAP: O RESPONSE IDENTITY id 19 len 7 from "R2"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.123: Se1/1 EAP: I RESPONSE IDENTITY id 50 len 7 from "R5"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.127: Se1/1 EAP: O REQUEST  MD5 id 51 len 24 from "R2"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.131: Se1/1 EAP: I REQUEST  MD5 id 20 len 24 from "R5"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.147: Se1/1 EAP: Using hostname from unknown source&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.151: Se1/1 EAP: Using password from interface EAP&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.151: Se1/1 EAP: O RESPONSE MD5 id 20 len 24 from "R2"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.435: Se1/1 EAP: I RESPONSE MD5 id 51 len 24 from "R5"&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.451: Se1/1 PPP: Sent CHAP LOGIN Request&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.455: Se1/1 EAP: I SUCCESS id 20 len 4&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.463: Se1/1 PPP: Received LOGIN Response PASS&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.475: Se1/1 PPP: Sent LCP AUTHOR Request&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.483: Se1/1 PPP: Sent IPCP AUTHOR Req&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.495: Se1/1 LCP: Received AAA AUTHOR Response PASS&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.499: Se1/1 IPCP: Received AAA AUTHOR Response PASS&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.499: Se1/1 EAP: O SUCCESS id 51 len 4&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.507: Se1/1 PPP: Sent CDPCP AUTHOR Request&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.519: Se1/1 CDPCP: Received AAA AUTHOR Response PASS&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:35.543: Se1/1 PPP: Sent IPCP AUTHOR Request&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;*Mar  1 00:34:36.503: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can see above that we have incoming and outgoing MD5 reposnses and the requests pass.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4987492842587970839?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4987492842587970839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ppp-authentication-with-md5.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4987492842587970839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4987492842587970839'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ppp-authentication-with-md5.html' title='PPP Authentication with MD5'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-9179411789527477345</id><published>2009-01-11T18:55:00.000-08:00</published><updated>2009-01-11T19:05:13.992-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 5 Review</title><content type='html'>I just finished this lab in about 5 hours. I spent 1 hour verifying and found some mistakes. I ended up with a 73 and every single mistake except the BGP task should have been fixed. You will see below how easy these were.&lt;br /&gt;&lt;br /&gt;I have still got some work to do in terms of fully understanding the requirements. I failed to make sure R7's extra loopbacks were in every routers table and for some reason IPv6 RIP failed when the script checked it. I logged back in and everything was fine.&lt;br /&gt;&lt;br /&gt;Here are the mistakes:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 3.6 Redistribution&lt;/span&gt;&lt;br /&gt;Failed connectivity to R7's loopback 2 and 3 addresses. I did not test reachability to these - only verified loopback 1.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 7.2 and 7.3 OSPFv3&lt;/span&gt;&lt;br /&gt;I tested the results after the lab and it works fine. I wonder if the script shuts ports down for another VRRP failover task and then doesn't wait long enough for STP to forward, I don't know. Simple OSPFv3 and RIP redistribution.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 4.3 BGP Conditional Routing&lt;/span&gt;&lt;br /&gt;Could not get this to work.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 5.3 Multicast&lt;/span&gt;&lt;br /&gt;The argument is kbps and I put 64000 instead of 64. DOH!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 6.1 System Management&lt;/span&gt;&lt;br /&gt;I had privilege 15 along with my username command and the script says this is wrong. The menu needs to display "show interfaces" and "show clock" and privilege 15 is not required for this.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 6.3 DHCP&lt;/span&gt;&lt;br /&gt;The problem is that I filtered with a lot of caution so RIP routes do not enter EIGRP domain through OSPF. There were no requirements that stated full reachability is needed when various interfaces are shut.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 6.5 IP Accounting&lt;/span&gt;&lt;br /&gt;I missed this because I thought you could only configure 1 list so I used a funky wildcard to match 2 subnets. I swear that on my first try the second list overwrote the first. Oh well, now I know.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 8.3 MQC&lt;/span&gt;&lt;br /&gt;I forgot the bandwidth command on the serial interface of R7 and R8. This was a very easy MQC task,  give 30% to telnet and 20% to smtp. The task said percentage of "interface bandwidth" and they are clocked at 2M.&lt;br /&gt;&lt;br /&gt;Well that's it for the graded Mock Labs from IPexpert. There are still 5 more ungraded ones that I plan on doing. I think I will redo Mock Lab 1, I got a 41 on this about 6 months ago and am curious to know how much I have learned since then.&lt;br /&gt;&lt;br /&gt;I also plan on doing mock labs from some other companies. I am going to do 1 or 2 from IE and I am debating on doing the CCIE Assessor labs. If you have any recommendations, please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-9179411789527477345?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/9179411789527477345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-5-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9179411789527477345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9179411789527477345'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-5-review.html' title='IPexpert Volume 3 Mock Lab 5 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2237264717312185821</id><published>2009-01-10T21:05:00.000-08:00</published><updated>2009-01-10T23:35:04.435-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 4 Review</title><content type='html'>Just took a dump on this lab. Lots of little mistakes. My problem was that many of the tasks were configuration heavy, mixing and matching totally unrelated options.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 2.2 PPP MD5 Authentication&lt;/span&gt;&lt;br /&gt;I had this working right but the script said I needed "ppp eap identity &lt;router&gt;" commands on each side. My link came up without them and I debugged PPP auth to verify it was authenticating.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 3.2 OSPF&lt;/span&gt;&lt;br /&gt;A load of OSPF configuration and I was not supposed to use a network statement on areas 256, 96 and 97. I used a network statement for R9's loopback costing me the 4 points. There were probably over 50 commands for this task and 1 command cost me.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 3.3 OSPF Authentication&lt;/span&gt;&lt;br /&gt;Grading script was wrong. You didn't need a VL between Cat1 and Cat3 and the script was checking for one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 7.3 IPv6 Security&lt;/span&gt;&lt;br /&gt;Grading script was wrong. I had filters on all IPv6 interfaces but the script was looking for it on the wrong interface.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 4.4 BGP Path Selection&lt;/span&gt;&lt;br /&gt;I had to engineer a next hop solution and I used the "set ip next-hop" in a neighbor route-map. The Script didn't use a ping or trace to verify the solution so it did not know that my solution worked. Instead it came up with a bogus explanation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 5.1 Multicast&lt;/span&gt;&lt;br /&gt;What I do not like about the grading script is once it finds an error - it doesn't continue so you never get to see how the rest of the task would have been checked. In this case I did not put PIM in the loopbacks of the multicast routers. The task said all interfaces so I messed up on this.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 5.2 Multicast - Sink RP&lt;/span&gt;&lt;br /&gt;I guess your supposed to deny the RP groups in an ACL on your mapping statement when configuring a sink RP. Makes sense otherwise you get the chicken/egg problem.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-2&lt;/span&gt; 6.2 System Management&lt;/span&gt;&lt;br /&gt;This kind of crap pisses me off. I had to enable load-interval 60 on all interfaces and I forgot it on the port channels and loopback. Good grief.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 6.4 ECN&lt;/span&gt;&lt;br /&gt;ip tcp ecn. I had no clue on this one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 6.5 Local DNS&lt;/span&gt;&lt;br /&gt;This is where the lab is screwed up. In this task R5 needs to telnet to R2 by name. But in a later task we have to block IPv4 telnet to R2 and only allow IPv6 via &lt;span style="font-weight: bold;"&gt;LOOPBACK IPV6 ADDRESS&lt;/span&gt;. The script does not use /source-interface and so it fails. I am going to bring this up with IPexpert.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 8.1 MQC&lt;/span&gt;&lt;br /&gt;We were supposed to prevent R1 from sending unreachables without an interface command or rate-limit. The SG uses CPP to block them, pretty nifty. I used local policy routing to NULL 0 - probably not allowed but I could not think of another way.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 9.2 CBAC&lt;/span&gt;&lt;br /&gt;The ACL the SG wants is supposed to be "strict". I allowed RIP and BGP and the SG only allows RIP. I guess BGP is included in the tcp router-traffic command but I will have to verify this. I actually thought about this but not enough to have me change it. I figured if I got it wrong I will be forced to learn a little more.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 9.4 TCP intercept&lt;/span&gt;&lt;br /&gt;I did not configure any one-minute low/high options. I don't think the question asked for this, so I am not sure why they are there.&lt;br /&gt;&lt;br /&gt;Well that's about it for today. The total score was 60 but I am pretty satisfied. I was able to browse the DocCD for some tasks I never heard of. This includes disabling the RFC 2217 option for telnet, MRM (which I got right), PPP EAP authentication, round robin DNS and some others.&lt;br /&gt;&lt;br /&gt;This lab was heavy on the configuration and 4 point-tasks. This sucks because one little thing ruins the whole task. Plus, there was a bunch of little interesting topics on this lab I will probably blog about this week.&lt;/router&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2237264717312185821?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2237264717312185821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-4-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2237264717312185821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2237264717312185821'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-3-mock-lab-4-review.html' title='IPexpert Volume 3 Mock Lab 4 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2813318477593348414</id><published>2009-01-09T13:24:00.000-08:00</published><updated>2009-01-09T13:27:30.150-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Blocking traffic to random unicast MAC addresses</title><content type='html'>Ran into this command today. Never even knew about it:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;Rack1SW1(config)#int f0/22&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&lt;/span&gt;&lt;span style="font-family: courier new;"&gt;Rack1SW1(config-if)#switchport ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  access         Set access mode characteristics of the interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  backup         Set backup for the interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;  block          Disable forwarding of unknown uni/multi cast addresses&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  host           Set port host&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  mode           Set trunking mode of the interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  nonegotiate    Device will not engage in negotiation protocol on this&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                 interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  port-security  Security related command &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  priority       Set appliance 802.1p priority&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  private-vlan   Set the private VLAN configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  protected      Configure an interface to be a protected port&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  trunk          Set trunking characteristics of the interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  voice          Voice appliance attributes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  &lt;cr&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Rack1SW1(config-if)#switchport block unicast&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Rack1SW1(config-if)#switchport block multicast &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From the DocCD:&lt;br /&gt;&lt;br /&gt;"&lt;span class="content"&gt;By default, the switch floods packets with unknown destination MAC addresses out of all ports. If unknown unicast and multicast traffic is forwarded to a protected port, there could be security issues. To prevent unknown unicast or multicast traffic from being forwarded from one port to another, you can block a port (protected or nonprotected) from flooding unknown unicast or multicast packets to other ports."&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_44_se/configuration/guide/swtrafc.html#wp1087814"&gt;Configuring Port Blocking&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/6193417800921617897-2813318477593348414?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2813318477593348414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/blocking-traffic-to-random-unicast-mac.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2813318477593348414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2813318477593348414'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/blocking-traffic-to-random-unicast-mac.html' title='Blocking traffic to random unicast MAC addresses'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-494331334314148184</id><published>2009-01-04T20:10:00.000-08:00</published><updated>2009-01-04T20:26:45.063-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 2 Section 15 Review</title><content type='html'>This lab took quite awhile, there were a lot of things I would have had to ask the proctor about. I just finished grading and its been about 7 hours since I started. I missed 4 tasks for sure and a couple other solutions differed from the SG but I believe they worked just fine.&lt;br /&gt;&lt;br /&gt;These are the ones I missed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; Task 1.3 Switching&lt;/span&gt;&lt;br /&gt;Needed a bridge-group on R8 to bridge between dot1q sub-interfaces. I had a tough time understanding what was required and it really looked like a typo so I peaked in the SG. I didn't even read the entire solution once I saw "bridge-group" I knew what I needed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 8.1 VRRP&lt;/span&gt;&lt;br /&gt;The very beginning of the lab says to use "open standards" as needed. I didn't even think about that when configuring this task and used HSRP instead.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-2&lt;/span&gt; Task 8.2 TFTP&lt;/span&gt;&lt;br /&gt;The task said to make an "IOS file" called BACKUP.bin available. I just copied running-config to BACKUP.bin not realizing that the file needed to be an IOS image. The actual command was tftp-server with an alias option for the bin file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 8.4 GRE Tunnel&lt;/span&gt;&lt;br /&gt;This task required a GRE tunnel and I really misundertood this. First I configured mobile ARP, then NAT, but alas it was GRE.&lt;br /&gt;&lt;br /&gt;There were a couple other tasks requiring filtering that I disagreed with the SG. No big deal but I am pretty sure my solutions were worked fine. Also I needed to set the DE bit on all traffic "from BB1". The SG created a de-list that matched the input interface. I used MQC to match a class then set the DE bit with "set fr-de" in a policy map.&lt;br /&gt;&lt;br /&gt;Volume 2 is in the books now. I have already done a few Volume 3 labs and I will probably concentrate on these from now on. I will also browse through the Volume 2 labs again trying to solve the problems in my head.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-494331334314148184?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/494331334314148184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-2-section-15-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/494331334314148184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/494331334314148184'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-2-section-15-review.html' title='IPexpert Volume 2 Section 15 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-698249583601031030</id><published>2009-01-03T16:59:00.000-08:00</published><updated>2009-01-03T17:11:25.846-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 2 Section 14 Review</title><content type='html'>I just completed this lab in about 4 hours. I spent some time before my session started drawing diagrams and reading through the lab. I find this helps me save session time in case I take too long. Plus it gives me substantial time to grade the lab, verify solutions and even test out the solution guide if needed.&lt;br /&gt;&lt;br /&gt;I only missed a few tasks, and some of these were because I was unfamiliar with commands and I made the solution too difficult.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 7.3 BGP&lt;/span&gt;&lt;br /&gt;I needed to provide redundant BGP connectivity after filtering some routes. I misunderstood this task, we needed an aggregate with as-set and I left it off.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-2&lt;/span&gt; Task 7.5 BGP&lt;/span&gt;&lt;br /&gt;I had to prevent AS paths of 16 or longer. I created an enormously large as-path ACL when all that was required was max-as limit. I know this command but I just had a brain fart.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 10.1 CQ&lt;/span&gt;&lt;br /&gt;Custom Queuing task had some extra stuff to throw you off. Very tricky ;-)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 11.3 Multicast&lt;/span&gt;&lt;br /&gt;For rate limiting multicast I used normal CAR, but there actually exists a special multicast rate-limit command.&lt;br /&gt;&lt;br /&gt;There were several peculiar service tasks that I am getting the hang of now. I had to compress the config, decreases the telnet timeout, and some other stuff. Browsing the DocCD as well as the context sensitive help as helped me with these kinds of tasks.&lt;br /&gt;&lt;br /&gt;A little less than 2 months to go now. I have been doing pretty well on 8 hour labs. Lately I have working on improving my verification habits. After a lab, I force myself to review almost every single task, even things like VLAN assignments. I always find a couple errors and I have been reducing my bonehead mistakes by a lot.&lt;br /&gt;&lt;br /&gt;One more Volume 2 lab to go then I will probably stick with doing my own labs and Volume 3 graded mock labs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-698249583601031030?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/698249583601031030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-2-section-14-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/698249583601031030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/698249583601031030'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/ipexpert-volume-2-section-14-review.html' title='IPexpert Volume 2 Section 14 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7154147059261842862</id><published>2009-01-02T09:36:00.001-08:00</published><updated>2009-01-02T10:18:54.543-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nat'/><title type='text'>NAT on a Stick</title><content type='html'>NAT on a stick can get pretty confusing. Here is a lab I put together with the help of an example on Cisco site. I don't know if it is accessible through the DocCD so here is the link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml"&gt;Network Address Translation on a Stick&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The topology is a little different because I am using routers without any cable devices:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SV5Qnvtn7zI/AAAAAAAAAFc/dQepa4PmXhs/s1600-h/nat+on+a+stick.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 367px; height: 386px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SV5Qnvtn7zI/AAAAAAAAAFc/dQepa4PmXhs/s400/nat+on+a+stick.jpg" alt="" id="BLOGGER_PHOTO_ID_5286751656332488498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R2 is a host on the 10.0.0.0/24 network. It is using 10.0.0.1 (R1) as the gateway. R1 then NATs this address to 192.168.2.X before sending the packet on its way to R3. That's the basic rundown but the configuration is a little more complex.&lt;br /&gt;&lt;br /&gt;First things first...Since 192.168.2.0 will be our translated address range make sure R4 and R3 both have routes to this range. R3 will use 192.168.1.1 as the next hop and R4 will use 100.0.0.3.&lt;br /&gt;&lt;br /&gt;The rest of the configuration is on R1. Assign two addresses to R1 and configure it as our inside interface. 10.0.0.1 is used as a gateway address for hosts on the LAN and 192.168.1.1 is used to communicate with R3.&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; ip address 192.168.1.1 255.255.255.0 secondary&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; ip nat inside&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create the loopback that will be used as our outside interface. Keep in mind we are using a /30 network, you will see why a little later on.&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;interface Loopback0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; ip address 10.0.1.1 255.255.255.252&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; ip nat outside&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next define an ACL to match our inside hosts then configure the NAT pool and NAT statements:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;access-list 10 permit 10.0.0.0 0.0.0.255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;ip nat pool NAT 192.168.2.100 192.168.2.200 prefix-length 24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;ip nat inside source list 10 pool NAT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now this is where it get's a little tricky. I am trying to do this in a logical order, but in reality I just have to memorize what needs to be configured to finish this thing off.&lt;br /&gt;&lt;br /&gt;Since the 192.168.2.0 network does not exist on any interface we tell R1 that it exists of F0/0 like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;ip route 192.168.2.0 255.255.255.0 FastEthernet0/0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, we add our policy routing configuration. Remember the ACL has to match traffic in both directions:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;access-list 100 permit ip any 192.168.2.0 0.0.0.255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;access-list 100 permit ip 10.0.0.0 0.0.0.255 any&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;route-map NAT-LOOP permit 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt; match ip address 100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt; set ip next-hop 10.0.1.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt; ip policy route-map NAT-LOOP&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So now R1 knows to policy route any traffic coming from 10.0.0.0/24 or going towards 192.168.2.0/24. The next hop address is 10.0.1.2 which technically exists on the Loopback 0 network. Since our loopback has the NAT outside statement, translation occurs here.&lt;br /&gt;&lt;br /&gt;Let's test:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);font-size:85%;" &gt;R2#ping 100.0.0.4&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 100.0.0.4, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 24/60/112 ms&lt;br /&gt;R2#&lt;br /&gt;&lt;br /&gt;R1#show ip nat translations &lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;icmp 192.168.2.100:8   10.0.0.2:8         100.0.0.4:8        100.0.0.4:8&lt;br /&gt;--- 192.168.2.100      10.0.0.2           ---                ---&lt;br /&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Key things to remember about NAT on a Stick:&lt;br /&gt;&lt;br /&gt;-Ensure upstream routers have to routes back to the NAT (outside) address&lt;br /&gt;-ACL for policy routing is 2-way&lt;br /&gt;-Loopback is used for outside interface, but the NAT pool is on a separate network.&lt;br /&gt;-Use a route pointing to the LAN interface to tell the router where the outside network resides.&lt;br /&gt;&lt;br /&gt;There are probably some variations of this configuration that will work. I am going to play around with some now, but that should be enough to get started.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7154147059261842862?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7154147059261842862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/nat-on-stick.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7154147059261842862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7154147059261842862'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/nat-on-stick.html' title='NAT on a Stick'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/SV5Qnvtn7zI/AAAAAAAAAFc/dQepa4PmXhs/s72-c/nat+on+a+stick.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5618418270473311307</id><published>2009-01-01T19:35:00.001-08:00</published><updated>2009-01-01T20:00:31.018-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hsrp'/><title type='text'>HSRP and Redirects</title><content type='html'>HSRP is fairly easy to understand and configure but the more you dig into something there is always something new you are bound to find. This goes for me today with HSRP redirection. Honestly, I never really bothered to look into the topic too much but reading through the DocCD today kind of piqued my curiosity.&lt;br /&gt;&lt;br /&gt;Here is the topology for this lab which I borrowed from the configuration guide. I would post a link but that would be too easy, I figured I'd let you practice finding it :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SV2L8IpJzVI/AAAAAAAAAFU/xF1zA_ff6Ac/s1600-h/hsrp+redirect+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SV2L8IpJzVI/AAAAAAAAAFU/xF1zA_ff6Ac/s400/hsrp+redirect+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5286535402831334738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The topology is big but my focus is on what R1 does based on what it knows about the HSRP status of all the other routers. Since all routers are doing OSPF, R1 learns about 172.16.34.0/24 from R3 and R4 and it learns about 172.16.8.0/24 from R8.&lt;br /&gt;&lt;br /&gt;R9 is NOT doing OSPF and using the standby group 1 address of 192.168.1.100 as its default gateway. In normal operation R1 would send redirects to R9 if it received packets for the R8 or the R3/R4 network. When HSRP is in use (with a default config), it only sends redirects for the R8 network.&lt;br /&gt;&lt;br /&gt;Before we test, enable "debug ip icmp" on all routers as well as "debug standby events" on R1. Let's see what happens when R9 pings 172.168.8.8:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R9#ping 172.16.8.8 re 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 1, 100-byte ICMP Echos to 172.16.8.8, timeout is 2 seconds:&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;Success rate is 100 percent (1/1), round-trip min/avg/max = 124/124/124 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R9#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;*Mar  1 01:29:20.207: ICMP: redirect rcvd from 192.168.1.100- for 172.16.8.8 use gw 192.168.1.8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:29:20.263: ICMP: echo reply rcvd, src 172.16.8.8, dst 192.168.1.9&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is what we see on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#&lt;br /&gt;*Mar  1 01:30:15.771: ICMP: Use HSRP virtual address 192.168.1.100 as ICMP src&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;*Mar  1 01:30:15.775: ICMP: redirect sent to 192.168.1.9 for dest 172.16.8.8, use gw 192.168.1.8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now look what happens when we ping 172.16.34.3:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R9#ping 172.16.34.3 re 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 1, 100-byte ICMP Echos to 172.16.34.3, timeout is 2 seconds:&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;Success rate is 100 percent (1/1), round-trip min/avg/max = 112/112/112 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:30:54.407: ICMP: echo reply rcvd, src 172.16.34.3, dst 192.168.1.9&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The ping succeeded of course but we did not get a redirect. The packet actually hops from R1 to R4, then the reply goes to R9. On R1 we see this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#&lt;br /&gt;*Mar  1 01:30:56.187: ICMP: &lt;span style="color: rgb(255, 0, 0);"&gt;redirect not sent&lt;/span&gt; to 192.168.1.9 for dest 172.16.34.3&lt;br /&gt;*Mar  1 01:30:56.191: ICMP:  &lt;span style="color: rgb(255, 0, 0);"&gt;192.168.1.4 does not contain an active HSRP group&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The reason R1 does not send a redirect is because R4 is not active for any groups. For all R1 knows, R4 is not active for a reason and thus should not send redirects for it. But how does R1 know this? It keeps track of all the HSRP messages it hears. We can view this as follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#sho standby redirect&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Interface          Redirects Unknown   Adv      Holddown&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;FastEthernet0/0    enabled   enabled   30       180     &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Active&lt;/span&gt;          Hits   Interface          Group Virtual IP      Virtual MAC   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;local           0      FastEthernet0/0    1     192.168.1.100   0000.0c07.ac01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;192.168.1.3     0      FastEthernet0/0    3     192.168.1.200   0000.0c07.ac03&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Passive&lt;/span&gt;         Hits   Interface          Expires in&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;192.168.1.2     0      FastEthernet0/0    179.856   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;192.168.1.4     4      FastEthernet0/0    162.824   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that R3 is an Active router for a group. R1 would send a redirect if R3 was listed as the next hop, but in this case R3 and R4 are equal costs and R4 is being picked. In spite of all this we can trick R1 into sending redirects by making R4 Active for a group. Let's enable group 4 only on R4 to ensure it becomes Active, then ping again from R9:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4(config)#int f0/0                   &lt;br /&gt;R4(config-if)#standby 4 ip 192.168.1.204 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#sho stan re active &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Active          Hits   Interface          Group Virtual IP      Virtual MAC   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;local           0      FastEthernet0/0    1     192.168.1.100   0000.0c07.ac01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;192.168.1.3     0      FastEthernet0/0    3     192.168.1.200   0000.0c07.ac03&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;192.168.1.4     0      FastEthernet0/0    4     192.168.1.204   0000.0c07.ac04&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R9#ping 172.16.34.3 re 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 1, 100-byte ICMP Echos to 172.16.34.3, timeout is 2 seconds:&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;Success rate is 100 percent (1/1), round-trip min/avg/max = 80/80/80 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R9#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;*Mar  1 01:35:44.703: ICMP: redirect rcvd from 192.168.1.100- for 172.16.34.3 use gw 192.168.1.204&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 01:35:44.739: ICMP: echo reply rcvd, src 172.16.34.3, dst 192.168.1.9&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We got a redirect! What's interesting about this behavior is that R1 knows the difference between a network behind HSRP routers and a network behind a non-HSRP router. It knows this by learning which routers are sending HSRP messages and comparing them to the next hops in its route table. So if you every get a tricky task about HSRP and redirects, I hope this helps shed some light on it.&lt;br /&gt;&lt;br /&gt;Before I go, here is some more food for thought:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1(config-if)#standby redirect ?&lt;br /&gt; advertisement  Redirect advertisement messages&lt;br /&gt; timers         Adjust redirect timers&lt;br /&gt; unknown        Redirect to non-HSRP routers&lt;br /&gt; &lt;cr&gt;&lt;/cr&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5618418270473311307?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5618418270473311307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2009/01/hsrp-and-redirects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5618418270473311307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5618418270473311307'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2009/01/hsrp-and-redirects.html' title='HSRP and Redirects'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SV2L8IpJzVI/AAAAAAAAAFU/xF1zA_ff6Ac/s72-c/hsrp+redirect+lab.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4937214979518087406</id><published>2008-12-23T13:04:00.000-08:00</published><updated>2008-12-23T13:10:04.909-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='access-list'/><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>Making a VLAN IPv6 only</title><content type='html'>Here is the simple topology for this lab. R1 and R2 are on VLAN 12. VLAN12 needs to be IPv6 only. We test this my assigning IPv4 and IPv6 addresses to both routers and then pinging.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;R1---SW1---SW2---R2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R1:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;IPv4: 192.168.12.1/24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;IPv6: 2001::1/64&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;R2:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;IPv4: 192.168.12.2/24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;IPv6: 2001::2/64&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Making a vlan IPv6 only requires more configuration than I previously thought. This was my first attempt. On all switches:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;mac access-list extended IPv6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; permit any any 0x86DD 0x0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;vlan access-map IPv6only 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; action forward&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; match mac address IPv6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;vlan filter IPv6only vlan-list 12&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So R1 pings R2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:&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;Success rate is 0 percent (0/5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But wait, let's remove the filter, ping, add the filter back, and ping again.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#no vlan filter IPv6only vlan-list 12&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:&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;Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#vlan filter IPv6only vlan-list 12&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:&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;Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 can still ping. What happened? Well the original filter wasn't blocking IP, it was only blocking ARP packets. Remember MAC access-lists do not have an implicit deny for the IP ethertype but they do have an implicit deny for all the other ethertypes. So once we removed the filter and allowed ARP through, R1 was able to ping R2 when the filtered was applied.&lt;br /&gt;&lt;br /&gt;To make the vlan IPv6 only I had to specify a drop action in an empty access-map statement:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#vlan access-map IPv6only 20&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-access-map)# action drop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:&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;Success rate is 0 percent (0/5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But wait, let's check out spanning-tree:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;&lt;br /&gt;SW1#sho spanning-tree vlan 12 | inc root&lt;br /&gt;           This bridge is the root&lt;br /&gt;SW2#show spanning-tree vlan 12 | inc root&lt;br /&gt;           This bridge is the root&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is bad because both switches forward out all ports when they think they are root. If we had multiple links between these switches, we would have a loop. You may start seeing these messages:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2# &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:28:49: %SW_MATM-4-MACFLAP_NOTIF: Host 00b0.6410.3901 in vlan 12 is flapping between port Fa0/13 and port Fa0/14&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;01:28:49: %SW_MATM-4-MACFLAP_NOTIF: Host 0007.eb14.4f81 in vlan 12 is flapping between port Fa0/13 and port Fa0/14&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We need to allow STP bpdu's in our original MAC access-list. Do this now:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW1(config)#mac access-list extended IPv6&lt;br /&gt;SW1(config-ext-macl)#permit any any lsap 0xAAAA 0x0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we see SW2 blocking on the port f0/14 (for VLANs 1 and 12):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW2#sho span | inc BLK&lt;br /&gt;Fa0/14              Altn BLK 19        128.16   P2p&lt;br /&gt;Fa0/14              Altn BLK 19        128.16   P2p &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify R1 can ping R2 via IPv6 and not IPv4:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:&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;Success rate is 0 percent (0/5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#ping 2001::2     &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 2001::2, timeout is 2 seconds:&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;Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I used 0xAAAA because this what lsap type PVST uses. I don't know where I got this but I think I saw it on GS somehwere. I have also seen 0x4242 used but I think this is for normal STP (802.1d). In any case, only the 0xAAAA worked for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4937214979518087406?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4937214979518087406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/making-vlan-ipv6-only.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4937214979518087406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4937214979518087406'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/making-vlan-ipv6-only.html' title='Making a VLAN IPv6 only'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-7905931058116180938</id><published>2008-12-22T15:28:00.000-08:00</published><updated>2008-12-22T15:40:50.147-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><title type='text'>Extended Range VLAN - FAIL</title><content type='html'>I was reading an old post on CCIE talk about extended range vlans and I learned something new.  The post is here: &lt;a href="http://www.ccietalk.com/2008/06/03/configuring-extended-range-vlans-on-a-catalyst-switch"&gt;CCIE Talk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If a Catalyst switch has any routed ports then it uses an extended vlan as an "internal vlan" for that port. Why? I don't know but it's something to take caution with if you run into any issues.&lt;br /&gt;&lt;br /&gt;Check it out:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1#sho vlan internal usage &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;VLAN Usage&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---- --------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now let's create a routed port:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#int f0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config-if)#no sw&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we have VLAN 1006 taken up:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1#sho vlan internal usage &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;VLAN Usage&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;1006 FastEthernet0/24&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What happens if we try to create or modify VLAN 1006? Let's see:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW1(config)#vlan 1006&lt;br /&gt;SW1(config-vlan)#exit&lt;br /&gt;% Failed to create VLANs 1006&lt;br /&gt;VLAN(s) not available in Port Manager.&lt;br /&gt;%Failed to commit extended VLAN(s) changes.&lt;br /&gt;00:06:13: %PM-4-EXT_VLAN_INUSE: VLAN 1006 currently in use by FastEthernet0/24&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;00:06:13: %SW_VLAN-4-VLAN_CREATE_FAIL: Failed to create VLANs 1006: VLAN(s) not available in Port Manager&lt;/span&gt;&lt;br /&gt;SW1(config)#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;FAIL. What if we were supposed to use VLAN 1006?  Shut it down, enable VLAN 1006, then re-enable the port.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#int f0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config-if)#shut&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#do show vlan internal usa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;VLAN Usage&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;---- --------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#vlan 1006&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config-vlan)#exit&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#int f0/24                &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config-if)#no shut&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config-if)#exit&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1(config)#do show vlan internal usa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;VLAN Usage&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;---- --------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;1007 FastEthernet0/24&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The switch uses the next number.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-7905931058116180938?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/7905931058116180938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/extended-range-vlan-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7905931058116180938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/7905931058116180938'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/extended-range-vlan-fail.html' title='Extended Range VLAN - FAIL'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5746664382890775640</id><published>2008-12-19T15:54:00.000-08:00</published><updated>2008-12-19T16:02:38.065-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>IP Source Guard</title><content type='html'>I was reading through the 3560 Configuration guide looking for things to lab and I came up with this. I already had DHCP snooping configured from my last lab so it was real easy.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;Topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R1---SW1---R3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 has an address via DHCP:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#show ip int brief | ex unas&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Ethernet0/0                192.168.12.1    YES DHCP   up                    up   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 can ping R3 on it's subnet:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#ping 192.168.12.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.3, timeout is 2 seconds:&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;Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sw1 has dhcp snooping already enabled. Here we configure IP source guard:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW1(config)#int f0/1&lt;br /&gt;SW1(config-if)#ip verify source &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now on R1 if we change the IP address, we cannot ping anymore:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1(config)#int e0/0&lt;br /&gt;R1(config-if)#ip address 192.168.12.100 255.255.255.0&lt;br /&gt;R1(config-if)#^Z&lt;br /&gt;&lt;br /&gt;R1#ping 192.168.12.3&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.3, timeout is 2 seconds:&lt;br /&gt;.....&lt;br /&gt;Success rate is 0 percent (0/5)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify IP source guard is in effect on SW1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW1#show ip verify source&lt;br /&gt;Interface  Filter-type  Filter-mode  IP-address       Mac-address        Vlan&lt;br /&gt;---------  -----------  -----------  ---------------  -----------------&lt;br /&gt;Fa0/1      ip           active       &lt;span style="color: rgb(255, 0, 0);"&gt;deny-all&lt;/span&gt;                            12&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set R1 to get address via DHCP:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1(config)#int e0/0                           &lt;br /&gt;R1(config-if)#ip address dhcp&lt;br /&gt;*Mar  1 02:53:06.259: %DHCP-6-ADDRESS_ASSIGN: Interface Ethernet0/0 assigned DHCP address 192.168.12.4, mask 255.255.255.0, hostname R1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now R1 can ping again:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#ping 192.168.12.3&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.12.3, timeout is 2 seconds:&lt;br /&gt;.!!!!&lt;br /&gt;Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify on SW1:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;SW1#show ip verify source &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Interface  Filter-type  Filter-mode  IP-address       Mac-address        Vlan&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;---------  -----------  -----------  ---------------  -----------------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Fa0/1      ip           active       &lt;span style="color: rgb(255, 0, 0);"&gt;192.168.12.4&lt;/span&gt;                        12  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can also configure static bindings, but I will probably do that in another blog :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5746664382890775640?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5746664382890775640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ip-source-guard.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5746664382890775640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5746664382890775640'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ip-source-guard.html' title='IP Source Guard'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2657028825351193710</id><published>2008-12-17T14:25:00.000-08:00</published><updated>2008-12-17T14:26:51.260-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ip sla'/><title type='text'>SLA - Sending a Constant Bitrate</title><content type='html'>Everytime I study QoS I think about ways to generate a constant rate of traffic from a router. I always test using pings but I never really know at what rate data is being pushed through. With SLA, I can configure a somewhat rudimentary way of doing this.&lt;br /&gt;&lt;br /&gt;Suppose I want a router R1 to send 64K to R7 (off in the distance).&lt;br /&gt;&lt;br /&gt;Let's figure out the data size and frequency. There are probably multiple ways to do this depending on frequency and request-data-size but here is how I do it:&lt;br /&gt;&lt;br /&gt;My load-interval on R7 is going to be 30 seconds so 1,920,000 (64,000 x 30) bits need to flow through every 30 second interval. Now if I send data a 1 second intervals, then I need to send 64000 bits every second. 64000 bits = 8000 bytes.&lt;br /&gt;&lt;br /&gt;Formula using 1 second frequency intervals:&lt;br /&gt;&lt;br /&gt;Load-interval X desired bitrate = total bits per interval&lt;br /&gt;total bits per interval / 8 = request-data-size&lt;br /&gt;&lt;br /&gt;Here is the config:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R1(config)#ip sla monitor 1                                    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;R1(config-sla-monitor)#type echo protocol ipIcmpEcho 150.100.56.7&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;R1(config-sla-monitor-echo)#request-data-size 8000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;R1(config-sla-monitor-echo)#frequency 1 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On R7 I created this tracker:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;ip sla monitor responder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;access-list 100 permit icmp host 150.100.12.1 any&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;class-map match-all SLA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; match access-group 100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;policy-map TRACK-SLA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; class SLA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;interface FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; service-policy input TRACK-SLA&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now Let's start the SLA monitor on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255); font-family: courier new;font-size:85%;" &gt;R1(config)#ip sla monitor schedule 1 life forever start-time now&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now on R7 we use the show policy-map interface command to see the bit rate. It takes a little while but it should peak near 64000 bps give or take 1000.&lt;br /&gt;&lt;br /&gt;After 750 packets we have 65K:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R7#sho policy-map interface &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; FastEthernet0/0 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Service-policy input: TRACK-SLA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Class-map: SLA (match-all)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      750 packets, 1027500 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt; 30 second offered rate 65000 bps&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      Match: access-group 100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Class-map: class-default (match-any)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      91 packets, 6548 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      30 second offered rate 0 bps, drop rate 0 bps&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      Match: any &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now several minutes later we are still at 65K:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R7#sho policy-map interface &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; FastEthernet0/0 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Service-policy input: TRACK-SLA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Class-map: SLA (match-all)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      2784 packets, 3814080 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      &lt;span style="color: rgb(255, 0, 0);"&gt;30 second offered rate 65000 bps&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      Match: access-group 100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Class-map: class-default (match-any)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      280 packets, 20188 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      30 second offered rate 0 bps, drop rate 0 bps&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;      Match: any &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2657028825351193710?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2657028825351193710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/sla-sending-constant-bitrate.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2657028825351193710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2657028825351193710'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/sla-sending-constant-bitrate.html' title='SLA - Sending a Constant Bitrate'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-1639240227482949461</id><published>2008-12-17T10:23:00.000-08:00</published><updated>2008-12-17T10:29:49.844-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Parser View</title><content type='html'>I was reading this pdf called "1001 things to do with a Cisco Router" and I came across this topic. I have done it before while doing the ISCW but here it is again.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;FIRST, ENABLE AAA:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4#conf t &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config)#aaa new-model &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SET ENABLE PASSWORD:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4(config)#enable secret cisco&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config)#^Z&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SWITCH TO VIEW MODE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#en view&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;*Mar  2 23:03:20.352: %PARSER-6-VIEW_SWITCH: successfully set to view 'root'.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R4#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOW WE CAN CREATE THE VIEW:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R4(config)#parser view operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;View commands:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  commands  Configure commands for a view&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  default   Set a command to its defaults&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  exit      Exit from view configuration mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  no        Negate a command or set its defaults&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  secret    Set a secret for the current view&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;R4(config-view)#commands exec include ping&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;% Password not set for the view operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#secret operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#commands exec include ping&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#commands exec include show hardware&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#commands exec include show interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#commands exec include show ver      &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R4(config-view)#exit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LOG IN TO THE VIEW:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4#en view operator&lt;br /&gt;Password:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;*Mar  2 23:05:41.212: %PARSER-6-VIEW_SWITCH: successfully set to view 'operator'.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4#show ?&lt;br /&gt; flash:      display information about flash: file system&lt;br /&gt; hardware    Hardware specific information&lt;br /&gt; interfaces  Interface status and configuration&lt;br /&gt; parser      Display parser information&lt;br /&gt; slot0:      display information about slot0: file system&lt;br /&gt; slot1:      display information about slot1: file system&lt;br /&gt; version     System hardware and software status&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;ALSO, YOU CAN ADD THE VIEW TO THE USER:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R4(config)#username operator view operator password operator&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-1639240227482949461?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/1639240227482949461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/parser-view.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1639240227482949461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1639240227482949461'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/parser-view.html' title='Parser View'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-949216422704459964</id><published>2008-12-15T14:59:00.000-08:00</published><updated>2008-12-15T15:03:40.560-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ios feature set'/><title type='text'>DHCP Snooping - missing command?</title><content type='html'>I was having a hard time with this awhile ago because I could not get an address even when I enabled "trust" on the server port. However, after looking through the PG on Mock Lab 3 and discussion in the cisco channel on freenode I found out the issue.&lt;br /&gt;&lt;br /&gt;I needed this command on the server:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R2(config)#int e0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;R2(config-if)#ip dhcp relay information trusted&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now my binding database is populated after about 9 months!&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;SW1#show ip dhcp snooping binding &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;MacAddress          IpAddress        Lease(sec)  Type           VLAN  Interface&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;00:07:EB:14:4F:81   192.168.12.1     86312       dhcp-snooping  12    FastEthernet0/1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Total number of bindings: 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;SW1#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-949216422704459964?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/949216422704459964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/dhcp-snooping-missing-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/949216422704459964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/949216422704459964'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/dhcp-snooping-missing-command.html' title='DHCP Snooping - missing command?'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4624577666261244673</id><published>2008-12-14T20:24:00.000-08:00</published><updated>2008-12-15T14:59:44.412-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 3 Mock Lab 3 Review</title><content type='html'>I finished this lab in a little more than 6 hours. It was a graded lab through Proctor Labs and I got an 82. This a very challenging lab because there was some dot1q tunneling involved and it affected reachability if you didn't prune VLANs properly due to l2portguard errors. Also, there was an IPv6 tunneling section which I got right. In fact, I got 100% on IGP, BGP and Multicast for a total of 44 points.&lt;br /&gt;&lt;br /&gt;Here are the mistakes I made:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 1.2 Switching&lt;/span&gt;&lt;br /&gt;Did not enable trust on the trunk ports after I enabled DHCP snhooping.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-2&lt;/span&gt; 2.3 Frame Relay&lt;/span&gt;&lt;br /&gt;After I did some NAT R4 could no longer ping R2 over the Frame-relay.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 6.1 VRRP&lt;/span&gt;&lt;br /&gt;I used group 1 instead of group 24. BONEHEAD mistake.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; 6.5 IOS Services&lt;/span&gt;&lt;br /&gt;Some NAT stuff. I think I got this right but...oh well.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 8.1 QoS&lt;/span&gt;&lt;br /&gt;PBR config was supposedly on the wrong interface. I am arguing this one with the script writers.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; 9.2 Security&lt;/span&gt;&lt;br /&gt;I got the URL string wrong for blocking NIMDA.&lt;br /&gt;&lt;br /&gt;All in all I felt pretty good. I had been practicing tunneling last night and I don't think I would have done as well or finished as fast if I hadn't. I gained a lot of confidence this round. There were some things I did not think I would be able to figure out upon the initial read-through. However, once I turned off the TV, I was in a pretty good groove :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4624577666261244673?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4624577666261244673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/volume-3-mock-lab-3-review.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4624577666261244673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4624577666261244673'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/volume-3-mock-lab-3-review.html' title='IPexpert Volume 3 Mock Lab 3 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-151771460938786862</id><published>2008-12-13T17:54:00.001-08:00</published><updated>2008-12-13T18:06:34.607-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><title type='text'>IPexpert Volume 2 Section 13 Reveiw - Part II</title><content type='html'>I just finished the lab that I started last week. I don't really have an estimate of how well I did because I had several conflicts with the PG. My guess is around 70 - 80. It was definitely the hardest full scale practice lab I have done to date. Not so much in configuration, just in understanding what the PG was trying to say. Here are some examples:&lt;br /&gt;&lt;br /&gt;R2 should show L2 circuit IDs when viewing "debug traces." This was in the security section and the answer was to create an ACL that permitted everything and log-input for ICMP. Easy enough and I thought about that solution but I thought there might have been another way - alas, there wasn't.&lt;br /&gt;&lt;br /&gt;CAT1 should only allow PC with mac address 0001.0001.0001 and IP 10.10.10.1 on port f0/10. I thought about ARP inspection  along with port security but the answer was only port security. Not sure if I would gotten it wrong if I had the port security right but borked on the ARP inspection which was not required.&lt;br /&gt;&lt;br /&gt;There was also an auto-command task that forced me to override what I had already configured for my VTY lines in previous tasks. I would have had to ask the proctor about this as there was no way to have the two solutions (line password and local authentication) without AAA. And my AAA solution was not allowing auto-command to work.&lt;br /&gt;&lt;br /&gt;There was a total of 58 tasks on this lab which is incredible because I don't think I have had a lab that had as many as 40 yet. Each task was 1 or 2 points and there was a lot to configure. I don't know if I would have completed it in 8 hours - I took my time writing emails to support during the lab.&lt;br /&gt;&lt;br /&gt;In any case, this was a very challenging lab and I think I will re-do this one in a couple months if I have time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-151771460938786862?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/151771460938786862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipexpert-volume-2-section-13-reveiw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/151771460938786862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/151771460938786862'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipexpert-volume-2-section-13-reveiw.html' title='IPexpert Volume 2 Section 13 Reveiw - Part II'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-936404952298398842</id><published>2008-12-13T16:05:00.000-08:00</published><updated>2008-12-13T16:12:44.796-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network management'/><category scheme='http://www.blogger.com/atom/ns#' term='ios feature set'/><title type='text'>Auto-install, eh?</title><content type='html'>While doing IPexpert Volume 2 Section 13 I ran into a task that said:&lt;br /&gt;&lt;br /&gt; "There is a high chance you will be replacing your current R4 router with another high-end router. The admin of R4 has saved its configuration on a TFTP server whose IP address is 136.10.12.100. Make sure the new router will automatically configure itself."&lt;br /&gt;&lt;br /&gt;So I started browsing through the DocCD for auto-install when it hit me...how exactly is this supposed to work? Not knowing the exact details about auto-install I knew that this should be a simple task since it was only 1 point.&lt;br /&gt;&lt;br /&gt;Well the new router needs to know about address 136.10.12.100 somehow...but when it has no config it has no address. What I figured was that the new router will send a broadcast on it's frame-relay interface which happens to connect to R2. In fact the 136.10.12.100 network is also on R2's ethernet interface.&lt;br /&gt;&lt;br /&gt;So I configured a helper address on R2's frame-relay interface pointing to 136.10.12.100. The PG agreed! 1 task, 1 command, 1 point  :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-936404952298398842?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/936404952298398842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/auto-install-eh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/936404952298398842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/936404952298398842'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/auto-install-eh.html' title='Auto-install, eh?'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2709090590035424228</id><published>2008-12-11T11:32:00.000-08:00</published><updated>2008-12-11T11:40:37.069-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><title type='text'>ECMP Multicast Load Splitting</title><content type='html'>This is a pretty simple concept. By default when two paths to the RP exist, the router sends a join to the one with the highest IP address. When you enable multicast multipath, the router will send joins up multiple paths depending on Source address (this hash is modifiable in some IOS)&lt;br /&gt;&lt;br /&gt;Here is the topology:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/SUFrOpuQ2WI/AAAAAAAAAFM/IE667TrQw4I/s1600-h/multicast+mpath.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 338px; height: 338px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/SUFrOpuQ2WI/AAAAAAAAAFM/IE667TrQw4I/s400/multicast+mpath.jpg" alt="" id="BLOGGER_PHOTO_ID_5278618137717168482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R4 has joined group 239.0.0.1. R5, R6 and R7 are all sending pings to this address. Before enabling multipath, this is what R1's mroute table looks like (it's actually bigger I am omitting output for the sake of brevity):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R1#show ip mroute | be \(&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(*, 239.0.0.1), 00:00:09/stopped, RP 2.2.2.2, flags: SJC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/3&lt;/span&gt;, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:09/00:02:50&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(6.6.6.6, 239.0.0.1), 00:00:07/00:02:58, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/3&lt;/span&gt;, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:07/00:02:52&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.5, 239.0.0.1), 00:00:05/00:02:58, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/3&lt;/span&gt;, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:05/00:02:54&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.6, 239.0.0.1), 00:00:07/00:02:58, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/3&lt;/span&gt;, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:07/00:02:52&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.7, 239.0.0.1), 00:00:10/00:02:57, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/3&lt;/span&gt;, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:10/00:02:49&lt;/span&gt;&lt;/span&gt;        &lt;br /&gt;&lt;br /&gt;Notice that it has sent joins only on Serial 1/3. Thus, R2 only sends multicast traffic for 239.0.0.1 out of this interface. R2 OIL looks like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R2#show ip mroute 239.0.0.1 | sec Outgoing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:34:58/00:02:44&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:13:39/00:02:44&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:13:39/00:02:46&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:13:39/00:02:45&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's enable multicast multipath on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);font-size:85%;" &gt;R1(config)#ip multicast multipath&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we can see Joins have been sent out of both interfaces:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R1#show ip mroute | be \(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(*, 239.0.0.1), 00:00:01/stopped, RP 2.2.2.2, flags: SJC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: Serial1/3, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:01/00:02:58&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(6.6.6.6, 239.0.0.1), 00:00:01/00:02:58, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: Serial1/3, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:01/00:02:58&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.5, 239.0.0.1), 00:00:01/00:02:58, flags: J&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2&lt;/span&gt;, RPF nbr 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:01/00:02:58&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.6, 239.0.0.1), 00:00:01/00:02:58, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: Serial1/3, RPF nbr 150.100.21.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:01/00:02:58&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.56.7, 239.0.0.1), 00:00:00/00:02:59, flags: J&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2&lt;/span&gt;, RPF nbr 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:00/00:02:59&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R2's OIL now looks like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R2#show ip mroute 239.0.0.1 | section Outg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:03:03/00:03:26&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:01:31/00:03:26&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2, Forward/Sparse, 00:01:02/00:03:25&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    Serial1/3, Forward/Sparse, 00:01:31/00:03:26&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;At first I wasn't sure if hashing is done on source or source/group, but I found out by sending to different groups from the same address to see if it splits up. From what I can tell it uses the source to hash, so one source sending to multiple groups will not get split.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;R1#show ip mroute | be \(&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.100.5, 238.0.0.1), 00:00:04/00:02:55, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2&lt;/span&gt;, RPF nbr 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:04/00:02:55&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.100.5, 239.0.0.2), 00:00:49/00:02:17, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2&lt;/span&gt;, RPF nbr 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:49/00:02:56&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;(150.100.100.5, 239.0.0.3), 00:00:45/00:02:17, flags: JT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Incoming interface: &lt;span style="color: rgb(255, 0, 0);"&gt;Serial1/2&lt;/span&gt;, RPF nbr 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  Outgoing interface list:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    FastEthernet0/0, Forward/Sparse, 00:00:50/00:02:50&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;       &lt;br /&gt;There is another train of IOS where you can select what to hash on, but my IOS doesn't have it.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Key thing to remember:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-Enabling multipath causes Joins to get sent towards the RP on more than one interface. This is what causes the load-splitting. Careful not to confuse this with the downstream sending of traffic, by default the router will send it out all interfaces (in the OIL) anyway!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2709090590035424228?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2709090590035424228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ecmp-multicast-load-splitting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2709090590035424228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2709090590035424228'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ecmp-multicast-load-splitting.html' title='ECMP Multicast Load Splitting'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/SUFrOpuQ2WI/AAAAAAAAAFM/IE667TrQw4I/s72-c/multicast+mpath.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-6275300817137572708</id><published>2008-12-10T15:27:00.001-08:00</published><updated>2008-12-10T15:29:16.930-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipv6 tunneling'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6 Tunneling - ISATAP</title><content type='html'>R2, R5 and R6 connected via an IPv4 frame-relay network.&lt;br /&gt;There is no PVC in use between R5 and R6.&lt;br /&gt;Each device has a loopback 192.168.x.x where x is router number.&lt;br /&gt;The goal here is to allow the remote IPv6 networks to communicate over the IPv4 cloud.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SUBQdvpc2QI/AAAAAAAAAFE/euQYG0PZA2k/s1600-h/ipv6+isatap+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 355px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SUBQdvpc2QI/AAAAAAAAAFE/euQYG0PZA2k/s400/ipv6+isatap+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5278307235214973186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Below are the configs.&lt;br /&gt;&lt;br /&gt;Loopback 100 = tunnel endpoint&lt;br /&gt;Loopback 101 = "remote" network&lt;br /&gt;&lt;br /&gt;R6:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;interface Loopback100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address 192.168.6.6 255.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Loopback101&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; no ip address&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ipv6 address 2001:600::6/64&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;interface Tunnel1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ipv6 address 2001:200::/64 eui-64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; tunnel source Loopback100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; tunnel mode ipv6ip isatap&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;interface Loopback100&lt;br /&gt;ip address 192.168.5.5 255.255.255.255&lt;br /&gt;&lt;br /&gt;interface Loopback101&lt;br /&gt;no ip address&lt;br /&gt;ipv6 address 2001:500::5/64&lt;br /&gt;&lt;br /&gt;interface Tunnel1&lt;br /&gt;ipv6 address 2001:200::/64 eui-64&lt;br /&gt;tunnel source Loopback100&lt;br /&gt;tunnel mode ipv6ip isatap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Static routes on R5 and R6:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ipv6 route 2001:600::/64 tunnel 1 fe80::5efe:c0a8:0606&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R6(config)#ipv6 route 2001:500::/64 tunnel 1 fe80::5efe:c0a8:0505&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where did I get these next hops? Well when you create an ISATAP tunnel they are created in a modified eui-64 format. Take a look&lt;br /&gt;&lt;br /&gt;at R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5#show ipv6 interface brief tun 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Tunnel1                    [up/up]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    FE80::5EFE:C0A8:505&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    2001:200::5EFE:C0A8:505&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When the router decides to route a packet out of that tunnel interface, it calculates the Ipv4 next hop address from the last 32 bits of the modified eui-64 address. In this case C0A8:505 converts to 192.168.5.5. R6 sends all packets destined for 2001:500::/64 to 192.168.5.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Key things to remember:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-The tunnel source address must be reachable by remote routers&lt;br /&gt;-There is no manually specified tunnel destination&lt;br /&gt;-You must specify the tunnel interface and link layer address in static routes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-6275300817137572708?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/6275300817137572708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipv6-tunneling-isatap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6275300817137572708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/6275300817137572708'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipv6-tunneling-isatap.html' title='IPv6 Tunneling - ISATAP'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JlGUPVCvNQY/SUBQdvpc2QI/AAAAAAAAAFE/euQYG0PZA2k/s72-c/ipv6+isatap+lab.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-4110330533400298248</id><published>2008-12-10T11:54:00.000-08:00</published><updated>2008-12-10T12:05:51.250-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><category scheme='http://www.blogger.com/atom/ns#' term='igmp'/><title type='text'>Multicast - IGMP Profile</title><content type='html'>Here is the topology for this lab:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JlGUPVCvNQY/SUAeovOyUKI/AAAAAAAAAE8/PG0YFhUo0tg/s1600-h/igmp+lab.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 333px; height: 333px;" src="http://3.bp.blogspot.com/_JlGUPVCvNQY/SUAeovOyUKI/AAAAAAAAAE8/PG0YFhUo0tg/s400/igmp+lab.jpg" alt="" id="BLOGGER_PHOTO_ID_5278252448500306082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;R2 is the RP and will be sending multicast pings.&lt;br /&gt;R3 is the PIM DR for the 192.168.135.0 segment.&lt;br /&gt;We will prevent R5 from joining group 239.0.0.1.&lt;br /&gt;&lt;br /&gt;To deny IGMP joins on a switch, we use the IGMP filter and profile commands.&lt;br /&gt;&lt;br /&gt;First, create the profile:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#ip igmp profile 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-igmp-profile)#deny  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-igmp-profile)#range 239.0.0.1 239.0.0.5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-igmp-profile)#exit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then attach it to the port:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#int f0/5         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-if)#ip igmp filter 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we can test by having R1 and R5 join a group in the range 239.0.0.1 - 239.0.0.5&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1(config)#int e0/0&lt;br /&gt;R1(config-if)#ip igmp join-group 239.0.0.1&lt;br /&gt;&lt;br /&gt;R5(config)#int e0/0                 &lt;br /&gt;R5(config-if)#ip igmp join-group 239.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's debug on SW1 and see what happens:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1#debug ip igmp filter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;event debugging is on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;03:26:30: IGMPFILTER: igmp_filter_process_pkt(): checking group 239.0.0.1 from Fa0/5: deny&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03:26:31: IGMPFILTER: igmp_filter_process_pkt() checking group from Fa0/3 : no profile attached&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;03:26:33: IGMPFILTER: igmp_filter_process_pkt() checking group from Fa0/1 : no profile attached&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No let's check R3 for any joined groups:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R3#show ip igmp groups   &lt;br /&gt;IGMP Connected Group Membership&lt;br /&gt;Group Address    Interface                Uptime    Expires   Last Reporter&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;239.0.0.1        Ethernet0/0              00:09:28  00:02:30  192.168.135.1&lt;/span&gt;&lt;br /&gt;224.0.1.40       Ethernet0/1              00:29:57  00:02:09  192.168.23.2&lt;br /&gt;224.0.1.40       Ethernet0/0              00:30:01  00:02:37  192.168.135.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just to make sure, we can verify that only R1 responds to pings:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R2#ping 239.0.0.1&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:&lt;br /&gt;&lt;br /&gt;Reply to request 0 from 192.168.135.1, 8 ms&lt;br /&gt;R2#&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-4110330533400298248?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/4110330533400298248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/multicast-igmp-profile.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4110330533400298248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/4110330533400298248'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/multicast-igmp-profile.html' title='Multicast - IGMP Profile'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JlGUPVCvNQY/SUAeovOyUKI/AAAAAAAAAE8/PG0YFhUo0tg/s72-c/igmp+lab.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8752178713321800901</id><published>2008-12-09T19:51:00.001-08:00</published><updated>2008-12-09T20:15:44.168-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='L2 tunneling'/><title type='text'>L2protocol Tunneling - An STP Example</title><content type='html'>This is a short lab designed to help me get familiar with l2protocol tunneling, specifically tunneling STP. We are also going tunnel CDP and VTP. What's neat about this is that we will alter the STP topology without using priority or changing mac addresses.  Also, SW1 will see two switches as CDP neighbors on one port.&lt;br /&gt;&lt;br /&gt;Here is the topolgy:&lt;br /&gt;&lt;picture&gt;&lt;br /&gt;&lt;/picture&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST887o0SlXI/AAAAAAAAAEk/w7X8uP0qlJE/s1600-h/l2protocol+tunnel+-+stp.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 290px; height: 271px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST887o0SlXI/AAAAAAAAAEk/w7X8uP0qlJE/s400/l2protocol+tunnel+-+stp.jpg" alt="" id="BLOGGER_PHOTO_ID_5278004283568199026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;picture&gt;&lt;picture&gt;Currently SW4 is root with SW2 is blocking f0/16. This works best with SW4 or SW3 as root.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2# show spanning-tree blockedports&lt;br /&gt;Name                 Blocked Interfaces List&lt;br /&gt;-------------------- ------------------------------------&lt;br /&gt;VLAN0001             Fa0/16&lt;br /&gt;Number of blocked ports (segments) in the system : 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We can use l2protocol tunneling to create a logical loop between SW1, SW3 and SW4 and force the link between SW3 and SW4 to block. Logically that would look like this:&lt;br /&gt;&lt;br /&gt;&lt;/picture&gt;&lt;/picture&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST8-Y-vdzVI/AAAAAAAAAEs/fO-1X5bTCQo/s1600-h/l2protocol+tunnel+-+stp3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 290px; height: 271px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST8-Y-vdzVI/AAAAAAAAAEs/fO-1X5bTCQo/s400/l2protocol+tunnel+-+stp3.jpg" alt="" id="BLOGGER_PHOTO_ID_5278005887181376850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;picture&gt;&lt;picture&gt;Physically we would have this, with SW2 not being a part of the VTP domain, any CDP relationship or STP topology:&lt;br /&gt;&lt;br /&gt;&lt;/picture&gt;&lt;/picture&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST8-zcmn7rI/AAAAAAAAAE0/3-1Mol9u-uA/s1600-h/l2protocol+tunnel+-+stp2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 290px; height: 271px;" src="http://2.bp.blogspot.com/_JlGUPVCvNQY/ST8-zcmn7rI/AAAAAAAAAE0/3-1Mol9u-uA/s400/l2protocol+tunnel+-+stp2.jpg" alt="" id="BLOGGER_PHOTO_ID_5278006341873954482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;picture&gt;&lt;picture&gt;This might be a practical case where SW2 was a service provider switch/cloud. SW1, SW3, and SW4 would then be remote switches with SW3 and SW4 having a backdoor connection.&lt;br /&gt;&lt;br /&gt;Now for the configuration. SW1, SW3 and SW4 configure their links as trunks:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1(config)#int f0/13&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-if)#sw t e d&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-if)#sw mo t&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1(config-if)#no shut&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Repeat this on ports f0/16 and f0/19 of SW3 and SW4. SW2 has the following configuration:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW2(config-if)#int rang f0/13, f0/16, f0/19&lt;br /&gt;SW2(config-if-range)#swit mode dot1q-tunnel&lt;br /&gt;SW2(config-if-range)#l2protocol-tunnel cdp&lt;br /&gt;SW2(config-if-range)#l2protocol-tunnel stp&lt;br /&gt;SW2(config-if-range)#l2protocol-tunnel vtp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now let's verify some things. First, we can see SW3 and SW4 as CDP neighbors to SW1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW1#show cdp ne | be De&lt;br /&gt;Device ID            Local Intrfce         Holdtme   Capability    Platform   Port ID&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;SW4                 Fas 0/13              156            S I      WS-C3550-2Fas 0/16&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;SW3                 Fas 0/13              158            S I      WS-C3550-2Fas 0/16&lt;/span&gt;&lt;br /&gt;R1                  Fas 0/1               129           R S I     3640      Eth 0/0&lt;br /&gt;SW1#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice they are both on interface f0/13. &lt;/picture&gt;&lt;/picture&gt;No SW2 in sight!  &lt;picture&gt;&lt;picture&gt;Now let's see who's blocking between SW3 or SW4:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW3# show spanning-tree blockedports | be VLAN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;VLAN0001             Fa0/19&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Number of blocked ports (segments) in the system : 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW3#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SW3 is blocking the connection between SW4. Perfect, just what we wanted.&lt;br /&gt;&lt;br /&gt;This lab is designed as a little confidence booster. L2protocol tunneling is one of my weaknesses. I think because I recognize how complex it can get and it makes me worry (Ever since doing IPexpert V10 Volume 1 Lab 5). Practicing labs like this can help build confidence and gain familiarity with the configurations as well.&lt;/picture&gt;&lt;/picture&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8752178713321800901?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8752178713321800901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/l2protocol-tunneling-stp-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8752178713321800901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8752178713321800901'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/l2protocol-tunneling-stp-example.html' title='L2protocol Tunneling - An STP Example'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JlGUPVCvNQY/ST887o0SlXI/AAAAAAAAAEk/w7X8uP0qlJE/s72-c/l2protocol+tunnel+-+stp.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-904812686065563605</id><published>2008-12-09T09:15:00.000-08:00</published><updated>2008-12-09T09:31:46.207-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multicast'/><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><title type='text'>Multicast Heartbeat - Generating SNMP Traps</title><content type='html'>This was a topic I ran into while browsing the multicast configuration guide today. I had dynamips up and running so I created a small lab.&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;br /&gt;Topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;R1---R2---R5---R7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 is sending traffic to 225.0.0.7&lt;br /&gt;R2 is the BSR/RP&lt;br /&gt;R5 is will be configured for hearbeat&lt;br /&gt;R7 has "ip igmp join-group 225.0.0.7" on one of its interfaces.&lt;br /&gt;&lt;br /&gt;The commands to enable multicast heartbeat are very simple:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#snmp-server host 9.9.9.9 traps public ipmulticast &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#snmp-server enable traps ipmulticast&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ip multicast heartbeat 225.0.0.7 ?   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;1-100&gt;  Minimal number of intervals where the heartbeats must be seen&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ip multicast heartbeat 225.0.0.7 1 ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;1-100&gt;  Number of intervals to monitor for heartbeat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ip multicast heartbeat 225.0.0.7 1 2 ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  &lt;10-3600&gt;  Length of intervals in seconds&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#ip multicast heartbeat 225.0.0.7 1 2 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config)#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will see this message:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R5#&lt;br /&gt;*Mar  1 00:29:58.523: MHBEAT(0): Unless packets sent to 225.0.0.7 are seen in 1 out of 2 intervals of 10 seconds, an SNMP trap may be emitted.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's debug SNMP packets and the heartbeat so we can see the trap:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5#debug snmp packets &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SNMP packet debugging is on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5#debug ip mhbeat &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IP multicast heartbeat debugging is on&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now on R1 start sending packets, then stop:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;R1#ping 225.0.0.7 re 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;Sending 10, 100-byte ICMP Echos to 225.0.0.7, timeout is 2 seconds:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;Reply to request 0 from 150.100.56.7, 160 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;Reply to request 1 from 150.100.56.7, 148 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" &gt;R1#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's check R5. After a short while we see the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:38:48.555: MHBEAT(0): SNMP Trap for missing heartbeat&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:38:48.575: SNMP: Queuing packet to 9.9.9.9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:38:48.575: SNMP: V1 Trap, ent ciscoExperiment.2.3.1, addr 150.100.56.5, gentrap 6, spectrap 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ciscoIpMRouteHeartBeatEntry.2.225.0.0.7 = 0.0.0.0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ciscoIpMRouteHeartBeatEntry.3.225.0.0.7 = 10 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ciscoIpMRouteHeartBeatEntry.4.225.0.0.7 = 2 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ciscoIpMRouteHeartBeatEntry.5.225.0.0.7 = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:38:48.827: SNMP: Packet sent via UDP to 9.9.9.9&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For reference, here is the link to the DocCD:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/ipmulti/configuration/guide/imc_monitor_maint_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1046514"&gt;IP Multicast Heartbeat &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-904812686065563605?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/904812686065563605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/multicast-heartbeat-generating-snmp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/904812686065563605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/904812686065563605'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/multicast-heartbeat-generating-snmp.html' title='Multicast Heartbeat - Generating SNMP Traps'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-3887804009008951297</id><published>2008-12-08T15:45:00.000-08:00</published><updated>2008-12-08T15:51:51.698-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ppp'/><title type='text'>PPP - Negotiated address via DHCP</title><content type='html'>This kind of task may seem more difficult than it really is. I, in fact, spent way too long one morning/afternoon/evening trying to get this scenario to work. Turns out my server did not have a route back to the requester's subnet. So here it is without all the crap (ok, some of it) I went through:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;R5---R2---R1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R5 to R2 is PPP.&lt;br /&gt;R5 needs to negotiate its address.&lt;br /&gt;R1 is to supply this address.&lt;br /&gt;&lt;br /&gt;R2-R5: 150.100.25.x/24&lt;br /&gt;R1-R2: 150.100.12.x/24&lt;br /&gt;&lt;br /&gt;R5 config is EASY:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;interface Serial0/1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ip address negotiated&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R2 is also easy, we configure it's interface to supply the address via DHCP and then specify a DHCP server:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2(config)#int s1/1                    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config-if)#peer default ip address dhcp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config-if)#exit                        &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2(config)# ip dhcp-server 150.100.12.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On R1 we configure the pool and everything is cool, right?&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1(config)#ip dhcp pool R5&lt;br /&gt;R1(dhcp-config)#network 150.100.25.0 /24&lt;br /&gt;R1(dhcp-config)#exit&lt;br /&gt;R1(config)#ip dhcp excluded-address 150.100.25.1 150.100.25.4&lt;br /&gt;R1(config)#ip dhcp excluded-address 150.100.25.6 150.100.25.255&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Let's check R5, to see if it got an address:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R5#show ip int brief | inc l1/1&lt;br /&gt;Serial1/1                  &lt;span style="color: rgb(255, 0, 0);"&gt;unassigned&lt;/span&gt;      YES IPCP   up                    up     &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nothing! Let's do some debugging on R1 with an ACL to match DHCP packets:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#access-list 150 pe udp any any eq bootpc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#access-list 150 pe udp any any eq bootps&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#access-list 150 pe udp any eq bootpc any&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#access-list 150 pe udp any eq bootps any&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style="color: rgb(51, 204, 255);"&gt;R1#debug ip packet 150 detail &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;IP packet debugging is on (detailed) for access list 150&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 00:15:27.995: IP: s=150.100.12.1 (local), d=150.100.25.2, len 328, unroutable&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;*Mar  1 00:15:27.999:     UDP src=67, dst=67&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 has no route to 150.100.25.0/24 yet! Let's configure one and then manually shut/no shut the interface on R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#ip route 150.100.25.0 255.255.255.0 150.100.12.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#debug ip dhcp server events &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.263: DHCPD: Sending notification of DISCOVER:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.263:   DHCPD: htype 1 chaddr 0000.0c07.79e1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.267:   DHCPD: circuit id 00000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.267: DHCPD: Seeing if there is an internally specified pool class:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.271:   DHCPD: htype 1 chaddr 0000.0c07.79e1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:27.271:   DHCPD: circuit id 00000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.411: DHCPD: Adding binding to radix tree (150.100.25.5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.415: DHCPD: Adding binding to hash tree&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.419: DHCPD: assigned IP address 150.100.25.5 to client 0063.6973.636f.2d31.3530.2e31.3030.2e32.352e.322d.5365.7269.616c.312f.31.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.495: DHCPD: Sending notification of ASSIGNMENT:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.499:  DHCPD: address 150.100.25.5 mask 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.499:   DHCPD: htype 1 chaddr 0000.0c07.79e1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:19:28.503:   DHCPD: lease time remaining (secs) = 86400&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:20:17.647: DHCPD: checking for expired leases.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:22:17.647: DHCPD: checking for expired leases.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Mar  1 00:24:17.647: DHCPD: checking for expired leases.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now check R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R5#show ip int bri s1/1&lt;br /&gt;Interface                  IP-Address      OK? Method Status                Protocol&lt;br /&gt;Serial1/1                  &lt;span style="color: rgb(255, 0, 0);"&gt;150.100.25.5&lt;/span&gt;    YES IPCP   up                    up  &lt;br /&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;*** IMPORTANT  ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1 needs a route back to the 150.100.25.0/24 subnet. In this case I have a default route from R1 toward R2. This is EXTREMELY important. I wasted many minutes of my life trying to get this thing to come up. My DHCP configuration was correct but the DHCP server did not have a route back to the requester!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-3887804009008951297?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/3887804009008951297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ppp-negotiated-address-via-dhcp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3887804009008951297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3887804009008951297'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ppp-negotiated-address-via-dhcp.html' title='PPP - Negotiated address via DHCP'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5450268290848469848</id><published>2008-12-08T13:07:00.000-08:00</published><updated>2008-12-08T13:12:59.599-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='voice vlan'/><category scheme='http://www.blogger.com/atom/ns#' term='switching'/><title type='text'>Two vlans, One Port,  No trunk</title><content type='html'>I recall a task somewhere I don't remember where we needed two vlans on one port but no trunk...in this case you can use a voice vlan for your second vlan. It is very easy to test:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;R1---SW1---SW2---R2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R1's interface:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;interface Ethernet0/0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt;interface Ethernet0/0.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt; encapsulation dot1Q 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);"&gt; ip address 139.1.2.101 255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SW1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family: courier new;"&gt;interface FastEthernet0/1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; switchport access vlan 11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; switchport voice vlan 2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SW2:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);font-size:85%;" &gt;SW2#show cdp ne | in R2&lt;br /&gt;R2          Fas 0/2           135          R S I     3640      Eth 0/0&lt;br /&gt;SW2#&lt;br /&gt;&lt;br /&gt;Rack1SW2#show run int f0/2&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 83 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/2&lt;br /&gt; switchport access vlan 2&lt;br /&gt; switchport mode access&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So let's ping from R1 to R2 (139.1.2.2)&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;Rack1R1#ping 139.1.2.2&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 139.1.2.2, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms&lt;br /&gt;R1#&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5450268290848469848?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5450268290848469848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/two-vlans-one-port-no-trunk.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5450268290848469848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5450268290848469848'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/two-vlans-one-port-no-trunk.html' title='Two vlans, One Port,  No trunk'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-1899229485094228</id><published>2008-12-08T08:26:00.000-08:00</published><updated>2008-12-08T09:00:41.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6 - Stateless autoconfig</title><content type='html'>&lt;span style="color: rgb(51, 255, 51);"&gt;Logical Topology:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;R6------SW2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R6 is in vlan 6.&lt;br /&gt;SW2 get its address for SVI 6 via stateless autoconfiguration.&lt;br /&gt;R6 will be advertising the prefix for SW2 to use to build it's address.&lt;br /&gt;R6 already has an IPv6 address configured: 2001:cc1e:1:6::6/64&lt;br /&gt;&lt;br /&gt;Also, a good command to run here is "debug ipv6 nd".&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;Rack1R6#debug ipv6 nd    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ICMP Neighbor Discovery events debugging is on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Rack1SW2#debug ipv6 nd       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ICMP Neighbor Discovery events debugging is on&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before we do anything let's see what debugging gives us on R6:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;Rack1R6#&lt;br /&gt;*Mar  1 00:42:14.219: ICMPv6-ND: Sending RA to FF02::1 on Ethernet0/1&lt;br /&gt;*Mar  1 00:42:14.219: ICMPv6-ND:     MTU = 1500&lt;br /&gt;*Mar  1 00:42:14.219: ICMPv6-ND:     prefix = 2001:CC1E:1:6::/64 onlink autoconfig&lt;br /&gt;*Mar  1 00:42:14.219: ICMPv6-ND:             2592000/604800 (valid/preferred)&lt;br /&gt;Rack1R6#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We can see that R6 is already advertising it's prefix for hosts on this segment to use. Look at the output of the debug. We have&lt;br /&gt;&lt;br /&gt;1) All nodes multicast address FF02::1, this is the destination of the RA advertisement&lt;br /&gt;2) MTU of 1500&lt;br /&gt;3) Prefix advertised by R6 2001:CC1E:1:6::/64&lt;br /&gt;4) Valid and Preferred Lifetime 2592000/604800&lt;br /&gt;&lt;br /&gt;All we need to do on SW2 is configure the SVI for autoconfiguration:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW2#conf t&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config)#int vlan 6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config-if)#ipv6 address ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  WORD                General prefix name&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  X:X:X:X::X          IPv6 link-local address&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  X:X:X:X::X/&lt;0-128&gt;  IPv6 prefix&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  autoconfig          Obtain address using autoconfiguration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW2(config-if)#ipv6 address autoconfig &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that SW2 immediately sends an RS message asking for information about this segment:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;00:19:39: ICMPv6-ND: Sending RS on Vlan6&lt;br /&gt;00:19:39: ICMPv6-ND: Received RA from FE80::205:32FF:FE22:E442 on Vlan6&lt;br /&gt;00:19:39: ICMPv6-ND: Sending NS for 2001:CC1E:1:6:21D:45FF:FEC0:F443 on Vlan6&lt;br /&gt;00:19:39: ICMPv6-ND: Autoconfiguring 2001:CC1E:1:6:21D:45FF:FEC0:F443 on Vlan6&lt;br /&gt;00:19:40: ICMPv6-ND: DAD: 2001:CC1E:1:6:21D:45FF:FEC0:F443 is unique.&lt;br /&gt;00:19:40: ICMPv6-ND: Sending NA for 2001:CC1E:1:6:21D:45FF:FEC0:F443 on Vlan6&lt;br /&gt;00:19:40: ICMPv6-ND: Address 2001:CC1E:1:6:21D:45FF:FEC0:F443/64 is up on Vlan6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It also receives the prefix, calcualtes its global unicast address and performs DAD. Now let's check the interface on SW2:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;SW2#show ipv6 interface&lt;br /&gt;Vlan6 is up, line protocol is up&lt;br /&gt;IPv6 is enabled, link-local address is FE80::21D:45FF:FEC0:F443&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Global unicast address(es):&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;   2001:CC1E:1:6:21D:45FF:FEC0:F443, subnet is 2001:CC1E:1:6::/64 [PRE]&lt;/span&gt;&lt;br /&gt;    valid lifetime 2591864 preferred lifetime 604664&lt;br /&gt;Joined group address(es):&lt;br /&gt;  FF02::1&lt;br /&gt;  FF02::2&lt;br /&gt;  FF02::1:FFC0:F443&lt;br /&gt;MTU is 1500 bytes&lt;br /&gt;ICMP error messages limited to one every 100 milliseconds&lt;br /&gt;ICMP redirects are enabled&lt;br /&gt;ND DAD is enabled, number of DAD attempts: 1&lt;br /&gt;ND reachable time is 30000 milliseconds&lt;br /&gt;ND advertised reachable time is 0 milliseconds&lt;br /&gt;ND advertised retransmit interval is 0 milliseconds&lt;br /&gt;ND router advertisements are sent every 200 seconds&lt;br /&gt;ND router advertisements live for 1800 seconds&lt;br /&gt;ND advertised default router preference is Medium&lt;br /&gt;Hosts use stateless autoconfig for addresses.&lt;br /&gt;Rack1SW2#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are several adjustments we can make on the timers. Let's look at R6:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6(config-if)#ipv6 nd ?&lt;br /&gt;advertisement-interval  Send an advertisement interval option in RA's&lt;br /&gt;dad                     Duplicate Address Detection&lt;br /&gt;managed-config-flag     Hosts should use DHCP for address config&lt;br /&gt;ns-interval             Set advertised NS retransmission interval&lt;br /&gt;other-config-flag       Hosts should use DHCP for non-address config&lt;br /&gt;prefix                  Configure IPv6 Routing Prefix Advertisement&lt;br /&gt;ra-interval             Set IPv6 Router Advertisement Interval&lt;br /&gt;ra-lifetime             Set IPv6 Router Advertisement Lifetime&lt;br /&gt;reachable-time          Set advertised reachability time&lt;br /&gt;suppress-ra             Suppress IPv6 Router Advertisements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here we can set various parameters such as the advertisement interval (200 seconds default) and the RA lifetime.&lt;br /&gt;&lt;br /&gt;More information on these options can be found in the addressing section non the IPv6 configuration guide on the DocCD:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-addrg_bsc_con.html#wp1283100"&gt;Implementing IPv6 Addressing and Basic Connectivity&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-1899229485094228?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/1899229485094228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipv6-stateless-autoconfig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1899229485094228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1899229485094228'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipv6-stateless-autoconfig.html' title='IPv6 - Stateless autoconfig'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-8395716315941554438</id><published>2008-12-06T19:23:00.000-08:00</published><updated>2008-12-06T19:35:54.322-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgp'/><title type='text'>BGP - fast-external-fallover</title><content type='html'>This feature allows the router to bring a BGP session down when the interface to that peer goes down. If you don't want this or are asked to not allow this to happen, you can disable it:&lt;br /&gt;&lt;br /&gt;R1 has a neighbor:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:courier new;font-size:85%;"  &gt;R1#show ip bgp sum | be Ne&lt;br /&gt;Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd&lt;br /&gt;136.10.12.2     4   200     188     188       38    0    0 01:56:59        4&lt;br /&gt;&lt;br /&gt;R1(config)#int f0/0&lt;br /&gt;R1(config-if)#shut&lt;br /&gt;&lt;br /&gt;*Dec  7 03:16:21.270: %BGP-5-ADJCHANGE: neighbor 136.10.12.2 Down Interface flap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We can prevent R1 from tearing the session down by disabling fast-external-fallover:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1#show ip bgp sum | be Ne&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;136.10.12.2     4   200     196     194       50    0    0 00:00:03        4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#router bgp 100             &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-router)#no bgp fast-external-fallover &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-router)#int f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#shut &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Dec  7 03:19:41.386: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*Dec  7 03:19:42.386: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)#^Z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#show ip bgp sum | be Ne&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;136.10.12.2     4   200     196     194       54    0    0 00:00:50        4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Still up:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:courier new;font-size:85%;"  &gt;R1#show ip bgp sum | be Ne&lt;br /&gt;Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd&lt;br /&gt;136.10.12.2     4   200     196     195       54    0    0 00:01:29        4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now the session will come down when the hold time expires.  Some things to remember:&lt;br /&gt;&lt;br /&gt;-Only works for directly-connected EBGP peers (hence the word "external" in the command)&lt;br /&gt;-I tested with ebgp-multihop peers and it does not have any effect&lt;br /&gt;-Keepalives are use to bring session down&lt;br /&gt;-Also configurable per-interface with &lt;span style="font-weight: bold;"&gt;ip bgp fast-external-fallover&lt;/span&gt;&lt;br /&gt;&lt;span class="content"&gt;&lt;span style="font-style: normal; font-weight: bold;color:Black;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-8395716315941554438?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/8395716315941554438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/bgp-fast-external-fallover.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8395716315941554438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/8395716315941554438'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/bgp-fast-external-fallover.html' title='BGP - fast-external-fallover'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-203078430816127194</id><published>2008-12-06T18:25:00.000-08:00</published><updated>2008-12-06T18:42:00.064-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 2 Section 13 Review - PART I</title><content type='html'>Well I am 2/3 of the way done here with a couple hours to go, but I am going to finish this next week. I have a terrible cold or something...I don't know, maybe it's all the Hot Pockets I ate this week. Whatever it is...I AM DEFEATED for the day.&lt;br /&gt;&lt;br /&gt;I semi-graded this thing and I must say this is the TRICKIEST/HARDEST lab of them all. There are a total of 58 tasks, each worth 1 or 2 points and a few worth 3. This is the longest lab I have ever done to date. I am not entirely sure I would have finished in 8 hours...if I did, I wouldn't have been able to grade or verify much.&lt;br /&gt;&lt;br /&gt;I think I missed about 7 or 8 tasks for about 15 or so points so far. Definitely a failed effort, but there were some good lessons learned. Here is a summary of what I had to configure:&lt;br /&gt;&lt;br /&gt;-Fallback bridging. I actually got this right&lt;br /&gt;&lt;br /&gt;-Only allow NetBIOS over TCP/IP in vlan 999. Used a VACL but I didn't what ports to match for netbios. I used range 135 - 139 but I don't know if this is right.&lt;br /&gt;&lt;br /&gt;-Make sure CAT1 never becomes root for VLAN 999. The PG disabled STP for this VLAN, I used bpdufilter on the ports in VLAN 999. The PG was probably more correct.&lt;br /&gt;&lt;br /&gt;-If R4 detects PVC states other than invalid, active or inactive - notify the trap receiver. What traps are these??&lt;br /&gt;&lt;br /&gt;-Then there was a task that had me configure a secondary address 192.168.80.33/27 on an interface that already belonged to 192.168.80.0/24. Then you were supposed to filter out RIP routes on this subnet - HUH? I have no idea if this was a typo or what but the PG was really bad at explaining this one. I am not going into more detail - see it for yourself :-)&lt;br /&gt;&lt;br /&gt;-OSPF task that had two different authentication keys on the same interface. This was a little tricky but I got it to work. I remember seeing this on GS so that helped a lot. You had to use neighbor statements on the spokes instead of the hub.&lt;br /&gt;&lt;br /&gt;Anyways. this lab is truly a mind-number. Just the kind of trickery to expect on the lab, I assume. If you think you are hot stuff - try this one ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-203078430816127194?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/203078430816127194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipexpert-volume-2-section-13-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/203078430816127194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/203078430816127194'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/12/ipexpert-volume-2-section-13-review.html' title='IPexpert Volume 2 Section 13 Review - PART I'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-9066942446746652842</id><published>2008-11-29T13:32:00.000-08:00</published><updated>2008-11-29T13:39:32.598-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='route redistribution'/><category scheme='http://www.blogger.com/atom/ns#' term='ios feature set'/><title type='text'>Mobile ARP</title><content type='html'>Well seeing as how I just missed a 4-point task on mobile ARP, I thought now was a good time to learn it. It's actually very simple and pretty cool once you get it working.&lt;br /&gt;&lt;br /&gt;Topology is a little confusing so here it is in 2 parts:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;PHYSICAL:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R1---CAT1===dot1q===CAT2---R8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;LOGICAL:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;VLAN 100---R1---R2---R5---R7---R8---VLAN 200&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The task says that users on R8's LAN occasionally mover over to R1's LAN. They still need access to the network. What we do is configure R1 to listen for ARP packets from R8's subnet (VLAN 200).&lt;br /&gt;&lt;br /&gt;We can test this by creating an SVI for VLAN 100 and giving it an IP in R8's subnet. When it tries to contact anyone, we will see a mobile route appear in R1's route table. This route then gets redistributed into the routing protocol (OSPF in this case). It appears as a /32 route so the longer match wins over any other route advertisement of VLAN 200.&lt;br /&gt;&lt;br /&gt;All configuration is on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;1) CREATE THE ACL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#access-list 8 permit 172.31.80.0 0.0.0.255&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;2) CONFIGURE MOBILE ARP ON INTERFACE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#interface f0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-if)# ip mobile arp access-group 8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;3) REDISTRIBUTE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R1(config)#router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config-router)# redistribute mobile subnets&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;4) VERIFY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ceate an SVI on VLAN 100 with VLAN 200 IP address:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;CAT1(config)#int vlan 100   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;CAT1(config-if)#ip address 172.31.80.100 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;CAT1(config-if)#^Z&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;CAT1#ping 172.31.80.8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending 5, 100-byte ICMP Echos to 172.31.80.8, timeout is 2 seconds:&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;Success rate is 100 percent (5/5), round-trip min/avg/max = 20/219/1016 ms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Run debug and show commands on R1:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R1#debug ip mobile&lt;br /&gt;IP mobility events debugging is on&lt;br /&gt;Nov 29 21:17:14.138: Local MobileIP: route add 172.31.80.100&lt;br /&gt;&lt;br /&gt;R1#show ip route mobile&lt;br /&gt;    172.31.0.0/16 is variably subnetted, 11 subnets, 6 masks&lt;br /&gt;M       172.31.80.100/32 [3/1] via 172.31.80.100, 00:11:05, FastEthernet0/1&lt;br /&gt;R1#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Traceroute shows how many hops we are actually going through:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;CAT1#trace 172.31.80.8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Tracing the route to 172.31.80.8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  1 172.31.10.1 4 msec 4 msec 0 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  2 172.31.12.2 0 msec 4 msec 0 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  3 172.31.100.5 12 msec 8 msec 12 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  4 172.31.200.7 12 msec 8 msec 12 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  5 172.31.78.8 12 msec *  8 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;CAT1#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-9066942446746652842?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/9066942446746652842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/mobile-arp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9066942446746652842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/9066942446746652842'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/mobile-arp.html' title='Mobile ARP'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2669287639510813021</id><published>2008-11-29T11:32:00.000-08:00</published><updated>2008-11-29T11:50:53.526-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 2 Section 12 Review</title><content type='html'>I woke up late for this one but I still finished in plenty of time. Probably about 4 hours. I made some serious mistakes though that I completely overlooked. It was in the BGP section, I didn't configure a confederation...so that may have ruined 2 or 3 tasks - not real sure how to gauge the impact. You should have seen the look on my face when I saw the PG.&lt;br /&gt;&lt;br /&gt;With that included I missed 6 tasks for about 15 points:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-8&lt;/span&gt; Tasks 8.1 - 8.3&lt;/span&gt;&lt;br /&gt;I knew we were using private AS numbers so I immediately thought configuring a confederation. However, I did not deduce that from the task requirements so I didn't bother. Reviewing it, I completely overlooked R1's task of peering with R2 is AS 200. AS 200 should have been the confederation....BIG BOOBOO. Completely unacceptable.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; Task 9.3 IOS Services&lt;/span&gt;&lt;br /&gt;Completely missed this "Mobile ARP" section. I had a NAT solution that does what I thought the task asks. I have no idea how to configure mobile arp and I guess it's time to learn. I wonder if anyone even uses it...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-2&lt;/span&gt; Task 11.2 DHCP&lt;/span&gt;&lt;br /&gt;I used "no ip bootp server" for the DHCP router not respond to bootp requests. However, the answer was "ip dhcp bootp ignore"&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-1&lt;/span&gt; Task 14.3 Multicast&lt;/span&gt;&lt;br /&gt;Configured MRM incorrectly. I used the DocCD for this and was what you could call "way off." It was a 1 point task and I was not too concerned.&lt;br /&gt;&lt;br /&gt;My goal from here on out is to keep my score above 80 while improving my "process." That includes verifying everything, making notes and a point tracker, refraining from marking the actual lab docs (which I heard you cannot do), and moving through the DocCD.&lt;br /&gt;&lt;br /&gt;Missing the BGP confederation is something that should never happen. I am lucky there were not more tasks dependent on it. Everything else was filtering of some sort. Who knows, I may have been marked of on the entire BGP section (20 points).&lt;br /&gt;&lt;br /&gt;One thing I worry about is that I have not really been challenged during Layer 2 configurations. I pretty much breeze through VTP, trunking, and other topics, but I know there are topics that will get me (QoS, tunneling). For these I rely on the DocCD and make my own labs. That being said, Volume 1 Section 5 has an extremely difficult tunneling lab that I need to review.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2669287639510813021?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2669287639510813021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ipexpert-volume-2-section-12-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2669287639510813021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2669287639510813021'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ipexpert-volume-2-section-12-review.html' title='IPexpert Volume 2 Section 12 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-2891904994720010319</id><published>2008-11-28T20:36:00.000-08:00</published><updated>2008-12-31T13:26:18.884-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgp'/><category scheme='http://www.blogger.com/atom/ns#' term='conditional routing'/><title type='text'>BGP - Conditional route injection</title><content type='html'>&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;Topology&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;R5----R7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;R5 is advertising 10.34.19.0/26 to R7&lt;br /&gt;Configure R7 to inject 10.34.19.48/28&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt;1) MAKE PREFIX-LISTS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;ip prefix-list EXIST seq 5 permit 10.34.19.0/26&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip prefix-list INJECT 5 permit 10.34.19.48/28&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ip prefix-list SOURCE seq 5 permit 192.168.5.5/32&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;2) MAKE ROUTE-MAPS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style="color: rgb(102, 204, 204);"&gt;route-map INJECT permit 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;set ip address prefix-list INJECT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;route-map EXIST permit 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;match ip address prefix-list EXIST&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;match ip route-source prefix-list SOURCE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;3) CONFIGURE BGP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;route bgp 567&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;bgp inject-map INJECT exist-map EXIST&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;4) VERIFY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5#show ip bgp nei 192.168.7.7  &lt;span style="color: rgb(51, 204, 255);"&gt;advertised-routes&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt; | begin Net&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*&gt; 10.34.19.0/26    192.168.2.2              0    200      0 24 1 i&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;R7#show ip bgp injected-paths | begin Net&lt;br /&gt;  Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt;i10.34.19.48/28   192.168.5.5              0    200      0 24 1 i&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Things to remember:&lt;br /&gt;&lt;br /&gt;- Must use Prefix-lists, NOT ACLs&lt;br /&gt;- Injected route must a subset of am aggregate already in the table&lt;br /&gt;- Use "set" command for inject-map, not "match"&lt;br /&gt;- I commonly forget the "prefix-list" argument when configuring the maps&lt;br /&gt;- inject-map Command is a bgp command, not per-neighbor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-2891904994720010319?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/2891904994720010319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/topology-r5-r7-r5-is-advertising-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2891904994720010319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/2891904994720010319'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/topology-r5-r7-r5-is-advertising-10.html' title='BGP - Conditional route injection'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-5697390412972153924</id><published>2008-11-28T17:05:00.000-08:00</published><updated>2008-11-28T17:21:35.809-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock lab'/><category scheme='http://www.blogger.com/atom/ns#' term='ipexpert'/><title type='text'>IPexpert Volume 2 Section 11 Review</title><content type='html'>I just completed this lab in about 4 or 5 hours. I spent the first hour (before my session even started) reading the lab, redrawing the L3 topology and making a task checklist. This actually took me about a half hour. I got an estimated score of 89, missing 4 tasks for 11 points. Two were easy, but the other two...well, just proof that I need to review the DocCD :-)&lt;br /&gt;&lt;br /&gt;Here are the misses:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 5.4 EIGRP&lt;/span&gt;&lt;br /&gt;Routes should be dropped from inactive neighbors in half the default time. I used hold time command, but the PG had "timers nsf route-hold 120" as the answer. I need to review NSF.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-3&lt;/span&gt; Task 6.1 RIP&lt;/span&gt;&lt;br /&gt;I forgot to enable v2-broadcast on one interface. BONEHEAD!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-1&lt;/span&gt; Task 8.7 BGP&lt;/span&gt;&lt;br /&gt;Completely misunderstood the aggregation task. BONEHEAD #2!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;-4&lt;/span&gt; Task 10.2 DNS&lt;/span&gt;&lt;br /&gt;We needed to create a domain list with "ip domain list ipexpert.net". I just used the domain-name command. I am not familiar at all with how DNS resolution works on Cisco routers so I need to review this.&lt;br /&gt;&lt;br /&gt;Over the last few months I have increased my speed and efficiency dramatically. Time does not seem to be an issue anymore. When I started studying in the spring, I was taking so long on full scale mock labs, I stopped doing them. Many commands I know by heart, but occasionally I misunderstand a question or just have the wrong command like the EIGRP section above.&lt;br /&gt;&lt;br /&gt;Now that I have more time, I use it to prep before I start. This includes reviewing and drawing the topology. I want the processes I use on the practice lab to be just like the ones on the real lab.  That way nothing is new and I can get in my comfort zone. I definitely "feel" ready for the real thing, but that doesn't mean I am.&lt;br /&gt;&lt;br /&gt;I can still think of some topics that would give me a hard time, unfortunately I haven't seen to many of these lately...but I know they are there...waiting to get me ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-5697390412972153924?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/5697390412972153924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ipexpert-volume-2-section-11-review.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5697390412972153924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/5697390412972153924'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ipexpert-volume-2-section-11-review.html' title='IPexpert Volume 2 Section 11 Review'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-1339393603472128684</id><published>2008-11-27T15:51:00.000-08:00</published><updated>2008-11-27T16:17:59.088-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general'/><title type='text'>What I'm thankful for - CCIE study edition</title><content type='html'>In the spirit of this holiday I thought I'd make a list of things that make labbing, studying and the overall process of preparing for the CCIE Lab exam a lot easier. In no particular order:&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;Vendor Wars.&lt;/span&gt; Great deals are among us!&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 204, 255);"&gt;Groupstudy.&lt;/span&gt; It's taken some criticism lately, but it still remains the best place to brainstorm with fellow CCIE candidates and those that have already passed. And don't forget the archives!&lt;br /&gt;&lt;br /&gt;-&lt;span style="color: rgb(51, 255, 51);"&gt;Ebay.&lt;/span&gt; Couldn't have built my lab without it!&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(255, 0, 0);"&gt;Debug ip packet + ACL.&lt;/span&gt; Excellent when you need to debug ip packet but you've got sub-second ospf hello timers. Believe me, I found out the hard way!&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;Show access-lists.&lt;/span&gt; Easy way to see if you get a hit on an ACL&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;Static routes.&lt;/span&gt; &lt;/span&gt;Just for workarounds while you get reachability in place. I had a ppp task where the router needed an address via dhcp (proxy) but the server couldn't respond unicast to the destination subnet (no route) and no routing protocols were in place yet. Remember to remove them after!&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;Colored pencils&lt;/span&gt; for each routing protocol. I prefer light green for OSPF, dark green for EIGRP, orange for BGP, black for RIP. I only have 4 colored pencils in my apartment and I put them to good use.&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(255, 0, 0);"&gt;Regular expressions &lt;/span&gt;for parsing show commands with the include, exclude and section arguments.&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;Route tagging.&lt;/span&gt; Really makes route redistribution a whole lot easier to deal with.&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 204, 255);"&gt;Master Command index&lt;/span&gt; on the DocCD. Nothing short of a life saver sometimes :)&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 255, 51);"&gt;Trees.&lt;/span&gt; A whole lot of scratch paper going on around here...&lt;br /&gt;&lt;br /&gt;- And last but not least...&lt;span style="color: rgb(255, 0, 0);"&gt;Blogrolls!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well that's my list for now.  What are you thankful for?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-1339393603472128684?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/1339393603472128684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/what-im-thankful-for-ccie-study-edition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1339393603472128684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/1339393603472128684'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/what-im-thankful-for-ccie-study-edition.html' title='What I&apos;m thankful for - CCIE study edition'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-3967989422950604990</id><published>2008-11-25T16:51:00.000-08:00</published><updated>2008-11-25T16:57:10.594-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><category scheme='http://www.blogger.com/atom/ns#' term='nssa'/><title type='text'>OSPF - Lowest IP address in OSPF is used as forwarding address on ASBR</title><content type='html'>I was labbing some NSSA today and I was wondering how the OSPF ASBR chose the forward address since it seem to appear on the opposite side of traffic flow. Example:&lt;br /&gt;&lt;br /&gt;R3----SW1----R6&lt;br /&gt;&lt;br /&gt;SW1 is the ASBR (redistributing it's loopback). Traffic was flowing through R6, but the address pointing to R3 was the "forward address". It doesn't really matter as long as the link is in OSPF but it can impact metric calculations since SW1's interface cost to R3 will be included.&lt;br /&gt;&lt;br /&gt;I did a short search on GS and RFC2328 but could not find anything. I had a guess it was the lowest IP in OSPF on the router and it turns out that is right:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;SW1#show run | sec router ospf          &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;router ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; router-id 11.11.11.11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; log-adjacency-changes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; area 2 nssa&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; redistribute connected metric-type 1 subnets route-map con2ospf&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt; network 2.0.0.1 0.0.0.0 area 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; network 192.168.37.7 0.0.0.0 area 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; network 192.168.67.7 0.0.0.0 area 2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;SW1#show ip int bri                     &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;Interface                  IP-Address      OK? Method Status                Protocol&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;FastEthernet0/0            192.168.37.7    YES manual up                    up      &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;FastEthernet2/0            192.168.67.7    YES manual up                    up      &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;" &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Loopback2                  2.0.0.1         YES manual up                    up &lt;/span&gt;     &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color: rgb(102, 204, 204);"&gt;Loopback100                100.100.100.100 YES manual up                    up   &lt;/span&gt;   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#show ip ospf database external &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            OSPF Router with ID (11.11.11.11) (Process ID 1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#show ip ospf database ns       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#show ip ospf database nssa-external &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            OSPF Router with ID (11.11.11.11) (Process ID 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                Type-7 AS External Link States (Area 2)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  LS age: 243&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Options: (No TOS-capability, Type 7/5 translation, DC)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  LS Type: AS External Link&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Link State ID: 100.100.100.100 (External Network Number )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Advertising Router: 11.11.11.11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  LS Seq Number: 80000009&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Checksum: 0x8EBF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Length: 36&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  Network Mask: /32&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Metric Type: 1 (Comparable directly to link state metric)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        TOS: 0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Metric: 20 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        &lt;span style="color: rgb(255, 0, 0);"&gt;Forward Address: 2.0.0.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        External Route Tag: 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SW1#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-3967989422950604990?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/3967989422950604990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ospf-lowest-ip-address-in-ospf-is-used.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3967989422950604990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3967989422950604990'/><link rel='alternate' type='text/html' href='http://ccietobe.blogspot.com/2008/11/ospf-lowest-ip-address-in-ospf-is-used.html' title='OSPF - Lowest IP address in OSPF is used as forwarding address on ASBR'/><author><name>deadhead blues</name><uri>http://www.blogger.com/profile/10566569168999502387</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6193417800921617897.post-3275767308556345166</id><published>2008-11-24T14:13:00.000-08:00</published><updated>2008-11-24T14:41:37.982-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='route redistribution'/><category scheme='http://www.blogger.com/atom/ns#' term='eigrp'/><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><title type='text'>Routing Loop - Part I</title><content type='html'>I was reading "Optimal Routing Design" by Cisco Press today and a routing loop scenario was described (chapter 2), but they had it all wrong and screwy and it gave me a routing loop in my brain. So I wanted to actually do a similar scenario some justice. This hopefully will be first part in maybe a series of posts that deal with routing loops, since they can be real buggers.&lt;br /&gt;&lt;br /&gt;The Topology:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JlGUPVCvNQY/SSsq0tVtIeI/AAAAAAAAAEc/ptAutRQX2Tg/s1600-h/routing+loops+-+part+1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 323px; height: 400px;" src="http://1.bp.blogspot.com/_JlGUPVCvNQY/SSsq0tVtIeI/AAAAAAAAAEc/ptAutRQX2Tg/s400/routing+loops+-+part+1.jpg" alt="" id="BLOGGER_PHOTO_ID_5272354873779495394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The Scenario:&lt;br /&gt;&lt;br /&gt;R2 is hub with R5 and R6 as OSPF neighbors.&lt;br /&gt;R5 and R6 are also EIGRP neighbors with R7.&lt;br /&gt;R7 is redistributing it's serial interface with R8 into the EIGRP domain.&lt;br /&gt;R5 and R6 are mutually redistributing between OSPF and EIGRP.&lt;br /&gt;&lt;br /&gt;If R5 and R6 redistribute OSPF into EIGRP with equal metrics, everything stabilizes, even though you have a suboptimal path. This is because External OSPF (AD=110) is preferred over External EIGRP (AD=170). So whichever device (R5 or R6) redistributes R7's serial network into OSPF first, will keep it's route via EIGRP but the other router will learn it via OSPF.&lt;br /&gt;&lt;br /&gt;Let's take a look at R5 and R6 OSPF and EIGRP config (there both the same):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;font-size:85%;"  &gt;R5#show run | sec router ospf|eigrp&lt;br /&gt;router eigrp 1&lt;br /&gt; redistribute ospf 1 metric 1 1 1 1 1&lt;br /&gt; network 150.100.0.0&lt;br /&gt; no auto-summary&lt;br /&gt;router ospf 1&lt;br /&gt; log-adjacency-changes&lt;br /&gt; redistribute eigrp 1 subnets&lt;br /&gt; network 150.100.100.0 0.0.0.255 area 0&lt;br /&gt;R5#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This results in the following route entries for 150.100.78.0&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;font-size:85%;"  &gt;R5#show ip route 150.100.78.0&lt;br /&gt;Routing entry for 150.100.78.0/24&lt;br /&gt; Known via "ospf 1", distance 110, metric 20, type extern 2, forward metric 128&lt;br /&gt; Redistributing via eigrp 1&lt;br /&gt; Advertised by eigrp 1 metric 1 1 1 1 1&lt;br /&gt; Last update from 150.100.100.2 on Serial1/0, 00:10:23 ago&lt;br /&gt; Routing Descriptor Blocks:&lt;br /&gt; * 150.100.100.2, from 6.6.6.6, 00:10:23 ago, via Serial1/0&lt;br /&gt;       Route metric is 20, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R6#show ip route 150.100.78.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Routing entry for 150.100.78.0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Known via "eigrp 1", distance 170, metric 2560002816, type external&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Redistributing via eigrp 1, ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Advertised by ospf 1 subnets&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Last update from 150.100.56.7 on FastEthernet0/0, 00:01:21 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      150.100.56.7, from 150.100.56.7, 00:01:21 ago, via FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Route metric is 2560002816, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;         Total delay is 110 microseconds, minimum bandwidth is 1 Kbit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Reliability 1/255, minimum MTU 1 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Loading 1/255, Hops 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   * 150.100.56.5, from 150.100.56.5, 00:01:21 ago, via FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Route metric is 2560002816, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Total delay is 110 microseconds, minimum bandwidth is 1 Kbit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Reliability 1/255, minimum MTU 1 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Loading 1/255, Hops 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#trace 150.100.78.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Tracing the route to 150.100.78.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  1 150.100.100.6 76 msec 72 msec 20 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  2 150.100.56.7 48 msec *  72 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R2#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that R5 has learned the route via OSPF and has advertised it back into EIGRP with the same metric that R7 is originally advertising it with. R6 has installed them both. So far it's not impacting anything.&lt;br /&gt;&lt;br /&gt;Now let's suppose we had a task that said R7 should prefer R5 to reach the OSPF domain and you must configure the solution on R5. How could we do that? We could adjust the metric when redistributing. Let's do this by increasing the bandwidth metric on R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5(config)#router eigrp 1                     &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R5(config-router)#redistribute ospf 1 metric 2 1 1 1 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now let's look at R6's entry:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;R6#show ip route 150.100.78.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;Routing entry for 150.100.78.0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   Known via "eigrp 1", distance 170, metric 1280002816, type external&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   Redistributing via eigrp 1, ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   Advertised by ospf 1 subnets&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   Last update from 150.100.56.5 on FastEthernet0/0, 00:01:37 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;   * 150.100.56.5, from 150.100.56.5, 00:01:37 ago, via FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;          Route metric is 1280002816, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;          Total delay is 110 microseconds, minimum bandwidth is 2 Kbit&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;          Reliability 1/255, minimum MTU 1 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;" &gt;          Loading 1/255, Hops 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Its' pointing back to R5!! Let's look at R5:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5#show ip route 150.100.78.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Routing entry for 150.100.78.0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Known via "ospf 1", distance 110, metric 20, type extern 2, forward metric 128&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Redistributing via eigrp 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Advertised by eigrp 1 metric 2 1 1 1 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Last update from 150.100.100.2 on Serial1/0, 00:15:35 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   * 150.100.100.2, from 6.6.6.6, 00:15:35 ago, via Serial1/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Route metric is 20, traffic share count is 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's still pointing to R2!! Trace from R2:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R2#trace 150.100.78.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Type escape sequence to abort.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Tracing the route to 150.100.78.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  1 150.100.100.6 40 msec 76 msec 16 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  2 150.100.56.5 96 msec 28 msec 44 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  3 150.100.100.2 44 msec 36 msec 44 msec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  4  *  *  *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  5  *  *  *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  6  *  *  *&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So...how would you fix it?&lt;br /&gt;&lt;br /&gt;R5 and R6 should learn this route via EIGRP...but last time I tried you could not alter AD for specific external routes...but you can do it for OSPF.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-family:courier new;font-size:85%;"  &gt;access-list 78 permit 150.100.78.0 0.0.0.255&lt;br /&gt;router ospf 1&lt;br /&gt;   distance 180 0.0.0.0 255.255.255.255 78&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now the OSPF route will never be preffered but we do have failover should R5 or R6 lose its LAN connection. Doing this on one side actually fixes it, but leaves R6 with a suboptimal route. I prefer to do it on both.&lt;br /&gt;&lt;br /&gt;Final verification of the solution:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 204, 204);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;R5#show ip route 150.100.78.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Routing entry for 150.100.78.0/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Known via "eigrp 1", distance 170, metric 2560002816, type external&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Redistributing via eigrp 1, ospf 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Advertised by ospf 1 subnets&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Last update from 150.100.56.7 on FastEthernet0/0, 00:00:16 ago&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Routing Descriptor Blocks:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   * 150.100.56.7, from 150.100.56.7, 00:00:16 ago, via FastEthernet0/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Route metric is 2560002816, traffic share count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Total delay is 110 microseconds, minimum bandwidth is 1 Kbit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Reliability 1/255, minimum MTU 1 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;          Loading 1/255, Hops 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);font-family:courier new;font-size:85%;"  &gt;R6#show ip route 150.100.78.0&lt;br /&gt;Routing entry for 150.100.78.0/24&lt;br /&gt;  Known via "eigrp 1", distance 170, metric 2560002816, type external&lt;br /&gt;  Redistributing via eigrp 1, ospf 1&lt;br /&gt;  Advertised by ospf 1 subnets&lt;br /&gt;  Last update from 150.100.56.7 on FastEthernet0/0, 00:00:12 ago&lt;br /&gt;  Routing Descriptor Blocks:&lt;br /&gt;  * 150.100.56.7, from 150.100.56.7, 00:00:12 ago, via FastEthernet0/0&lt;br /&gt;         Route metric is 2560002816, traffic share count is 1&lt;br /&gt;         Total delay is 110 microseconds, minimum bandwidth is 1 Kbit&lt;br /&gt;         Reliability 1/255, minimum MTU 1 bytes&lt;br /&gt;         Loading 1/255, Hops 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:85%;"  &gt;2#trace 150.100.78.7&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Tracing the route to 150.100.78.7&lt;br /&gt;&lt;br /&gt;1 150.100.100.6 44 msec&lt;br /&gt;  150.100.100.5 104 msec&lt;br /&gt;  150.100.100.6 20 msec&lt;br /&gt;2 150.100.56.7 56 msec *  72 msec&lt;br /&gt;R2#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you know any other scenarios, please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6193417800921617897-3275767308556345166?l=ccietobe.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ccietobe.blogspot.com/feeds/3275767308556345166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ccietobe.blogspot.com/2008/11/routing-loop-part-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3275767308556345166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6193417800921617897/posts/default/3275767308556345166'/><lin
