{"id":267,"date":"2010-11-30T17:57:16","date_gmt":"2010-12-01T00:57:16","guid":{"rendered":"http:\/\/infinitedisorder.com\/?p=267"},"modified":"2010-11-30T18:01:11","modified_gmt":"2010-12-01T01:01:11","slug":"cisco-ios-cheatsheat","status":"publish","type":"post","link":"https:\/\/infinitedisorder.com\/?p=267","title":{"rendered":"cisco IOS cheatsheat"},"content":{"rendered":"<p><strong>quick IP config<\/strong><\/p>\n<div id=\"_mcePaste\">&gt;enable<br \/>\n#config t<\/div>\n<div id=\"_mcePaste\">(config)#interface FastEthernet 0<\/div>\n<div id=\"_mcePaste\">(config-if)#no shut<\/div>\n<div id=\"_mcePaste\">(config-if)#ip address 10.10.24.9 255.255.255.0<\/div>\n<div id=\"_mcePaste\">(config-if)#exit<\/div>\n<div id=\"_mcePaste\">(config)#ip default-gateway 10.10.24.1<\/div>\n<div id=\"_mcePaste\">(config)#ip route 0.0.0.0 0.0.0.0 10.10.24.1<\/div>\n<div id=\"_mcePaste\">(config)#exit<\/div>\n<div id=\"_mcePaste\">#ping 10.10.10.1 (should succeed)<\/div>\n<div id=\"_mcePaste\">#copy run start (dont forget!)<\/div>\n<div id=\"_mcePaste\"><strong>Setting up Services <\/strong><\/div>\n<div id=\"_mcePaste\">&gt;enable<\/div>\n<div id=\"_mcePaste\">#config t<\/div>\n<div id=\"_mcePaste\">(config)#enable secret abc123<\/div>\n<div id=\"_mcePaste\">(config)#hostname c1720-24-99<\/div>\n<div id=\"_mcePaste\">(config)#snmp-server community public RO<\/div>\n<div id=\"_mcePaste\">(config)#snmp-server community private RW<\/div>\n<div id=\"_mcePaste\">(config)#line vty 0<\/div>\n<div id=\"_mcePaste\">(config-line)#password somePasswordHere<\/div>\n<div id=\"_mcePaste\">(config)#username admin password somePasswordHere<\/div>\n<div id=\"_mcePaste\">(config)#ip domain-name some.domainHere.com<\/div>\n<div id=\"_mcePaste\">(config)#crypto key generate rsa<\/div>\n<div id=\"_mcePaste\">(config)#ip ssh time-out 120<\/div>\n<div id=\"_mcePaste\">(config)#ip ssh authentication-retries 4<\/div>\n<div id=\"_mcePaste\">(config)#line vty 0 4<\/div>\n<div id=\"_mcePaste\">(config-line)#transport input all<\/div>\n<div id=\"_mcePaste\">(config)#aaa new-model<\/div>\n<div id=\"_mcePaste\">(config)#aaa authentication login default local<\/div>\n<div id=\"_mcePaste\">aaa authorization exec default local if-authenticated<\/div>\n<div id=\"_mcePaste\">\n<strong>ipv6<\/strong><\/div>\n<div id=\"_mcePaste\">for ipv6 use a firmware like advipservicesk9<br \/>\n(config)#ipv6 unicast-routing<\/div>\n<div id=\"_mcePaste\">(config)#interface fastEthernet 0\/0<\/div>\n<div id=\"_mcePaste\">(config)##ipv6 route ::\/0 2001:890:8118:A18::A<\/div>\n<div id=\"_mcePaste\">(config-if)#ipv6 address 2001:890:8118:A18::0A0A:180C\/64<\/div>\n<div id=\"_mcePaste\">(config-if)#ipv6 nd suppress-ra<\/div>\n<div id=\"_mcePaste\"><strong> Upgrading IOS <\/strong><\/div>\n<div id=\"_mcePaste\">Check &#8216;#show flash&#8217; to make sure you have enough flash for your .bin file.&lt;br&gt;<\/div>\n<div id=\"_mcePaste\">Copy the .bin to \/store\/upload\/tftp. Verify connectivity with a ping.&lt;br&gt;<\/div>\n<div id=\"_mcePaste\">Backup your current image with &#8216;copy flash tftp&#8217;, in case something goes wrong.&lt;br&gt;<\/div>\n<div id=\"_mcePaste\">Then use this guide<\/div>\n<div id=\"_mcePaste\">http:\/\/www.routergeek.net\/content\/view\/33\/37\/ OR<\/div>\n<div id=\"_mcePaste\">#copy tftp flash<\/div>\n<div id=\"_mcePaste\">#config t<\/div>\n<div id=\"_mcePaste\">#config-register 0x2102<\/div>\n<div id=\"_mcePaste\">#no boot system<\/div>\n<div id=\"_mcePaste\">#boot system flash ios_image_name.bin<\/div>\n<div id=\"_mcePaste\">#copy run start<\/div>\n<div id=\"_mcePaste\">#reload<\/div>\n<div id=\"_mcePaste\"><strong>Password Recover <\/strong><\/div>\n<div id=\"_mcePaste\">http:\/\/www.cisco.com\/en\/US\/products\/hw\/routers\/ps221\/products_password_recovery09186a0080094773.shtml#ex_pass<\/div>\n<div id=\"_mcePaste\"><strong>Saving Configs to backup<\/strong><\/div>\n<div id=\"_mcePaste\">copy running-config tftp<\/div>\n<div id=\"_mcePaste\"><strong>Booting from startup config<\/strong><\/div>\n<div id=\"_mcePaste\">enable<\/div>\n<div id=\"_mcePaste\">config t<\/div>\n<div id=\"_mcePaste\">config-register 0x2102<\/div>\n<p><strong>Reset to defaults<br \/>\n<\/strong>http:\/\/www.cisco.com\/en\/US\/products\/sw\/iosswrel\/ps5187\/products_tech_note09186a00802017a1.shtml<\/p>\n","protected":false},"excerpt":{"rendered":"<p>quick IP config &gt;enable #config t (config)#interface FastEthernet 0 (config-if)#no shut (config-if)#ip address 10.10.24.9 255.255.255.0 (config-if)#exit (config)#ip default-gateway 10.10.24.1 (config)#ip route 0.0.0.0 0.0.0.0 10.10.24.1 (config)#exit #ping 10.10.10.1 (should succeed) #copy run start (dont forget!) Setting up Services &gt;enable #config t (config)#enable secret abc123 (config)#hostname c1720-24-99 (config)#snmp-server community public RO (config)#snmp-server community private RW (config)#line vty [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-hardware"],"_links":{"self":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=267"}],"version-history":[{"count":6,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions"}],"predecessor-version":[{"id":269,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions\/269"}],"wp:attachment":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}