{"id":2153,"date":"2013-12-02T19:35:20","date_gmt":"2013-12-02T23:35:20","guid":{"rendered":"http:\/\/www.braindeadprojects.com\/blog\/?p=2153"},"modified":"2013-12-02T19:35:20","modified_gmt":"2013-12-02T23:35:20","slug":"cisco-switch-and-route-completed","status":"publish","type":"post","link":"http:\/\/www.braindeadprojects.com\/blog\/what\/cisco-switch-and-route-completed\/","title":{"rendered":"Cisco Switch and Route Completed!"},"content":{"rendered":"<p>I recently took my <a title=\"CCNP Switch Exam\" href=\"https:\/\/learningnetwork.cisco.com\/community\/certifications\/ccnp\/switch\" target=\"_blank\">CCNP Switch Exam (642-813)<\/a>, passing on my first attempt. While I mostly used <a title=\"GNS 3\" href=\"http:\/\/www.gns3.net\/dynamips\/\" target=\"_blank\">GNS3\/dynamips<\/a> to simulate routers for my <a title=\"CCNP Route Exam\" href=\"https:\/\/learningnetwork.cisco.com\/community\/certifications\/ccnp\/route\" target=\"_blank\">CCNP Route Exam (642-902)<\/a>, I actually put together physical hardware for the Switch Exam. My switch lab consists of a <a title=\"Cyclades ACS48\" href=\"ftp:\/\/ftp.avocent.com\/public\/product-upgrades\/$DS1800..\/ACS\/ACS%203.1.0\/Cyclades%20ACS%20Installation.Administration.User%20Guide%20v3.1.0.pdf\" target=\"_blank\">Cyclades ACS48 terminal server<\/a>, an <a title=\"APC 7900 PDU\" href=\"http:\/\/www.apc.com\/resource\/include\/techspec_index.cfm?base_sku=ap7900\" target=\"_blank\">APC 7900 switched PDU<\/a>, 3 <a title=\"Cisco 3550 EMI\" href=\"http:\/\/www.cisco.com\/en\/US\/prod\/collateral\/switches\/ps5718\/ps646\/product_data_sheet09186a00800913d7.html\" target=\"_blank\">Cisco 3550-EMI multilayer switches<\/a>, <a title=\"24 port patch panel\" href=\"http:\/\/www.bestlinknetware.com\/Product\/102203\" target=\"_blank\">a 24 port patch panel<\/a>, a <a title=\"SPA942\" href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps10039\/\" target=\"_blank\">Cisco SPA942 IP phone<\/a>, and 2 <a title=\"ZNYX Cards\" href=\"http:\/\/reviews.cnet.com\/adapters-nics\/znyx-networks-zx-374\/4505-3380_7-30439495.html\" target=\"_blank\">ZNYX PCI 4-port ethernet cards<\/a> for my desktop (for a combined 8 NICs dedicated to virtualization).<\/p>\n<figure id=\"attachment_2170\" aria-describedby=\"caption-attachment-2170\" style=\"width: 224px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/Switchlab0.1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-2170  \" alt=\"SwitchLab0\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/Switchlab0.1-224x300.jpg\" width=\"224\" height=\"300\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/Switchlab0.1-224x300.jpg 224w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/Switchlab0.1-768x1024.jpg 768w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/Switchlab0.1.jpg 1704w\" sizes=\"(max-width: 224px) 100vw, 224px\" \/><\/a><figcaption id=\"caption-attachment-2170\" class=\"wp-caption-text\">8 strands of cat5e can fit in a 3\/4&#8243; conduit, but it&#8217;s a tight fit<\/figcaption><\/figure>\n<p>Initially I had thought there were no emulators for Cisco switches, but upon news that GNS3 would be supporting switching in their upcoming 1.0 release, I started digging. Apparently it&#8217;s a <a title=\"Evil Routers write-up on Cisco IOU\" href=\"http:\/\/evilrouters.net\/2011\/01\/18\/cisco-iou-faq\/\" target=\"_blank\">well established fact<\/a> that Cisco switching can indeed be emulated and there are leaked binaries compiled for Linux for a handful of layer 2 IOS images. Hewlett Packard also has a 64-bit VM emulator for their <a title=\"VSR Image\" href=\"http:\/\/h17007.www1.hp.com\/us\/en\/networking\/products\/routers\/HP_VSR1000_Virtual_Services_Router_Series\/index.aspx#.Upkee1Q2eRc\" target=\"_blank\">VSR1000 Virtual Services Router Series. <\/a><\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_2178\" aria-describedby=\"caption-attachment-2178\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/gn3-crowhoster.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2178\" alt=\"GNS3 CrowdHoster\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/gn3-crowhoster-300x182.png\" width=\"300\" height=\"182\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/gn3-crowhoster-300x182.png 300w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/gn3-crowhoster-1024x621.png 1024w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/gn3-crowhoster.png 1236w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2178\" class=\"wp-caption-text\">I think it&#8217;s safe to say GNS3&#8217;s fundraising will be successful when it ends.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>While IOU is nice to work with, there are a number of bugs in the images. First of all, while you can configure private VLAN&#8217;s, they don&#8217;t appear to work (and they&#8217;re not supported on my physical 3550&#8217;s). Testing dynamic arp inspection in the following images also doesn&#8217;t seem to work:<\/p>\n<ul>\n<li>i86bi_linuxl2-upk9-ms-15.0.bin<\/li>\n<li>i86bi_linuxl2-ipbasek9-ms-15.1B.bin<\/li>\n<li>i86bi_linuxl2-ipbasek9-ms-15.1A.bin<\/li>\n<li>i86bi_linuxl2-upk9-ms-12.2.bin<\/li>\n<\/ul>\n<p>The utility <strong><em>iou2net<\/em><\/strong> (which is used to connect the unix socket to physical hardware) is sometimes wonky,\u00a0 sending unidirectional traffic much of the time.\u00a0 So for my exam, I stuck mostly with my physical hardware for switching, emulated routers via dynamips (in GNS3), and hosts spawned by VirtualBox Manager (to make moving them around to different switchports easier).<\/p>\n<figure id=\"attachment_2189\" aria-describedby=\"caption-attachment-2189\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/VirtualBoxNICs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2189\" alt=\"VirtualBoxNICs\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/VirtualBoxNICs-300x246.png\" width=\"300\" height=\"246\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/VirtualBoxNICs-300x246.png 300w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/VirtualBoxNICs.png 756w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2189\" class=\"wp-caption-text\">Lots &#8216;o NICs and Bridge Interfaces<\/figcaption><\/figure>\n<p>I&#8217;m connecting my emulated routers to my physical switches and virtual machines using GNS3&#8217;s Generic NIO ethernet interface. Of course, my physical setup isn&#8217;t without it&#8217;s own issues &#8211; the tulip drivers (or my motherboard) appear to have occassional complications, flooding the kernel ring buffer with annoying &#8220;slowpath&#8221; messages and also preventing traffic. Kernel upgrades haven&#8217;t resolved the problem (there were some fixes between kernel 3.9.11 and 3.10.1, but they don&#8217;t appear to resolve my issues). Thankfully bouncing the problematic ports will fix the issue.<\/p>\n<blockquote><p>[2842987.323263] Call Trace:<br \/>\n[2842987.323268]\u00a0 [&lt;c0455341&gt;] dump_stack+0x16\/0x18<br \/>\n[2842987.323272]\u00a0 [&lt;c012796c&gt;] warn_slowpath_common+0x48\/0x5f<br \/>\n[2842987.323275]\u00a0 [&lt;c013284b&gt;] ? del_timer_sync+0x2b\/0x3d<br \/>\n[2842987.323277]\u00a0 [&lt;c0127992&gt;] warn_slowpath_null+0xf\/0x13<br \/>\n[2842987.323280]\u00a0 [&lt;c013284b&gt;] del_timer_sync+0x2b\/0x3d<br \/>\n[2842987.323284]\u00a0 [&lt;f8606ace&gt;] t21142_lnk_change+0x331\/0x507 [tulip]<br \/>\n[2842987.323294]\u00a0 [&lt;f86021e4&gt;] tulip_interrupt+0x5d0\/0x784 [tulip]<br \/>\n[2842987.323298]\u00a0 [&lt;c015c538&gt;] ? clockevents_program_event+0xe5\/0x103<br \/>\n[2842987.323302]\u00a0 [&lt;c0176516&gt;] handle_irq_event_percpu+0x4d\/0x158<br \/>\n[2842987.323305]\u00a0 [&lt;c0176647&gt;] handle_irq_event+0x26\/0x3f<br \/>\n[2842987.323307]\u00a0 [&lt;c01785fa&gt;] handle_fasteoi_irq+0x63\/0x8b<br \/>\n[2842987.323310]\u00a0 [&lt;c0102862&gt;] handle_irq+0x67\/0x71<br \/>\n[2842987.323313]\u00a0 [&lt;c01024ce&gt;] do_IRQ+0x35\/0x8e<br \/>\n[2842987.323317]\u00a0 [&lt;c045deec&gt;] common_interrupt+0x2c\/0x31<br \/>\n[2842987.323319] &#8212;[ end trace 80bd835791c79500 ]&#8212;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>For studying, I worked off Chris Bryant&#8217;s really solid <a title=\"Bryant Advantage\" href=\"http:\/\/www.thebryantadvantage.com\/\" target=\"_blank\">Bryant Advantage<\/a> lectures, <a title=\"CCNP SWITCH 642-813 Official Certification Guide\" href=\"http:\/\/www.amazon.com\/s\/ref=nb_sb_noss?url=search-alias%3Dstripbooks&amp;field-keywords=1587202433\" target=\"_blank\">the official certification guide<\/a>, and labwork, labwork, labwork. To play with some of the layer 2 and 3 protocols outside of IOS, I put together a small <a title=\"TinyCore LiveCD\" href=\"http:\/\/www.braindeadprojects.com\/iso\/TC-networkplus.0.3.iso\" target=\"_blank\">TinyCore LiveCD<\/a> [<a title=\"TinyCore LiveCD gpg\" href=\"http:\/\/www.braindeadprojects.com\/iso\/TC-networkplus.0.3.iso.md5.asc\" target=\"_blank\">gpg<\/a>] that includes <a title=\"Yersinia\" href=\"http:\/\/www.yersinia.net\/\" target=\"_blank\">yersinia<\/a>, <a title=\"Hping2\" href=\"http:\/\/www.hping.org\/\" target=\"_blank\">hping2<\/a>, <a title=\"Scapy\" href=\"http:\/\/www.secdev.org\/projects\/scapy\/\" target=\"_blank\">scapy<\/a>, and tcpdump. (I&#8217;ve packaged yersinia separately if anyone would like it <a title=\"Yersinia TCZ\" href=\"http:\/\/www.braindeadprojects.com\/TinyCoreRepo\/4.x\/x86\/tcz\/\" target=\"_blank\">here<\/a>).<\/p>\n<figure id=\"attachment_2185\" aria-describedby=\"caption-attachment-2185\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/TinyCore_Yersinia.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2185\" alt=\"TinyCore Yersinia\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/TinyCore_Yersinia-300x236.png\" width=\"300\" height=\"236\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/TinyCore_Yersinia-300x236.png 300w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/TinyCore_Yersinia-1024x805.png 1024w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/TinyCore_Yersinia.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2185\" class=\"wp-caption-text\">Versions Prior to 0.7.3 can be problematic and hang in VM environments<\/figcaption><\/figure>\n<p>I find it&#8217;s extremely helpful to see traffic in action and having 8 NICs helps to facilitate that. While you can easily sniff <a title=\"Hot Standby Router Protocol\" href=\"http:\/\/en.wikipedia.org\/wiki\/Hot_Standby_Router_Protocol\" target=\"_blank\">HSRP<\/a>, <a title=\"Virtual Router Redundancy Protocol\" href=\"http:\/\/en.wikipedia.org\/wiki\/Virtual_Router_Redundancy_Protocol\" target=\"_blank\">VRRP<\/a>, and <a title=\"Gateway Load Balancing Protocol\" href=\"http:\/\/en.wikipedia.org\/wiki\/Gateway_Load_Balancing_Protocol\" target=\"_blank\">GLBP<\/a> traffic inside GNS3, seeing <a title=\"VLAN Trunking Protocol\" href=\"http:\/\/en.wikipedia.org\/wiki\/VTP\" target=\"_blank\">VTP<\/a> and <a title=\"Dynamic Trunking Protocol\" href=\"http:\/\/en.wikipedia.org\/wiki\/Dynamic_Trunking_Protocol\" target=\"_blank\">DTP<\/a> frames can be accomplished by creating bridge interfaces on my desktop OS and using the patch-panel to place myself in the middle of switch-to-switch connections.<\/p>\n<p>The exam itself was pretty typical. I find the simulations to be fun although I&#8217;m surprised at how <strong>bad<\/strong> the Cisco interpreter is. At one point I had placed a VACL on the wrong piece of equipment, went to remove it and place it on the correct switch but couldn&#8217;t remove it on the original switch. Trying every variation of &#8220;no&#8221; proved fruitless, and in the end I&#8217;m sure I lost points due to that mistake. What&#8217;s annoying is that I tried to correct it. Thankfully, I&#8217;m not alone and a LOT of people complain about the interpreter.<\/p>\n<p>If you&#8217;re studying for the exam, here are my pieces of advice:<\/p>\n<ul>\n<li>You&#8217;re paying to take the exam, so get the best grade possible. That means study, study, study.<\/li>\n<li>Find a good practice exam engine (like <a title=\"Boson ExSim\" href=\"http:\/\/www.boson.com\/exsim-max-practice-exams\" target=\"_blank\">Boson&#8217;s ExSim<\/a>) and take a bunch of practice exams. You&#8217;ll find out what you don&#8217;t know, then lab, lab, lab.<\/li>\n<li>Take some time off work to study if you can. I dedicated 12 hours a day 5 days (over a long weekend) before the exam to studying. Was it excessive, definitely, but there&#8217;s no harm in being over prepared (you&#8217;re paying to take the exam, work your hardest).<\/li>\n<li>If you truly know the material, you know the wrong answers sometimes more clearly than you know the right ones. Always remove the wrong answers from your available options while taking the exam. &#8220;No, GLBP uses UDP port 3222 so that answer isn&#8217;t for HSRP&#8221;<\/li>\n<li>Even when you&#8217;re absolutely certain of the right answer, read all of the answers before going to the next question. On multiple choice questions, I typically say in my head &#8220;No that&#8217;s not it, that&#8217;s it, that&#8217;s not it, that&#8217;s not it. Second answer is correct&#8221;.<\/li>\n<li>Double check your work on the simulations before going to the next question. Make sure you do everything and completely, and test your configurations.<\/li>\n<li>Lab work means breaking things. Don&#8217;t just configure a working protocol, purposely misconfigure the protocol. Make sure you see the nuances that no book will dedicate the column inches to detailing.<\/li>\n<li>Look over the <a title=\"CCNP Switch Exam Topics\" href=\"https:\/\/learningnetwork.cisco.com\/docs\/DOC-6566\" target=\"_blank\">exam topics<\/a>. I didn&#8217;t realize they existed until after I took my CCNA and the CCNP Route and Switch exams, and it really led to a lot of unnecessary anxiety (&#8220;What&#8217;s on this exam, do I know everything???? HELP!&#8221;)<\/li>\n<\/ul>\n<p>So now, I&#8217;m in the process of studying for my final CCNP exam &#8211; <a title=\"CCNP TSHOOT Exam\" href=\"https:\/\/learningnetwork.cisco.com\/community\/certifications\/ccnp\/tshoot\" target=\"_blank\">the TSHOOT<\/a>. Wish me luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently took my CCNP Switch Exam (642-813), passing on my first attempt. While I mostly used GNS3\/dynamips to simulate routers for my CCNP Route Exam (642-902), I actually put together physical hardware for the Switch Exam. My switch lab consists of a Cyclades ACS48 terminal server, an APC 7900 switched PDU, 3 Cisco 3550-EMI &hellip; <a href=\"http:\/\/www.braindeadprojects.com\/blog\/what\/cisco-switch-and-route-completed\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cisco Switch and Route Completed!<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2153","post","type-post","status-publish","format-standard","hentry","category-what"],"_links":{"self":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/2153"}],"collection":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=2153"}],"version-history":[{"count":54,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions"}],"predecessor-version":[{"id":2215,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions\/2215"}],"wp:attachment":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=2153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=2153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=2153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}