{"id":68,"date":"2015-08-26T00:13:02","date_gmt":"2015-08-26T00:13:02","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=68"},"modified":"2015-09-06T20:18:29","modified_gmt":"2015-09-06T20:18:29","slug":"ccent-3-s01-e11-lans-working-with-the-cisco-ios","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=68","title":{"rendered":"CCENT 3 S01 E11 \u2013 LANS: Working With The Cisco IOS"},"content":{"rendered":"<h3>What is the Cisco IOS<\/h3>\n<ul>\n<li>The Internetwork Operating System<\/li>\n<li>A Command-Line\u00a0 method of configuring ANY Cisco Device<\/li>\n<li>Software that is consistent through nearly all Cisco Devices<\/li>\n<li>Learn it once, use it many times<\/li>\n<li>More powerful than any graphic interface<\/li>\n<\/ul>\n<h4>Connecting to the Cisco Switch<\/h4>\n<ul>\n<li>Get a Console Cable<\/li>\n<li>Plug the Serial End into the back of your PC<\/li>\n<li>Plug the RJ-45 end into the Console Port on the BACK of the switch<\/li>\n<li>Open a Terminal Program\n<ul>\n<li>Hyperterm<\/li>\n<li>Tera Term<\/li>\n<li>Minicom<\/li>\n<li>Securecrt<\/li>\n<\/ul>\n<\/li>\n<li>Set it to connect via COM port with:\n<ul>\n<li>Baud Rate: 9600<\/li>\n<li>Data Bits: 8<\/li>\n<li>Parity: None<\/li>\n<li>Stop Bits: 1<\/li>\n<li>Flow Control: None<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>How to Get Help In The IOS<\/h3>\n<p>Type <span class=\"kbbtn\">?<\/span> to see all commands available atm<\/p>\n<p>&#8212; More &#8212;<\/p>\n<p>To scroll one line at a time, press <span class=\"kbbtn\">Enter<\/span><\/p>\n<p>To scroll one page, press <span class=\"kbbtn\">Space<\/span><\/p>\n<p>To see all the commands that start with &#8216;c&#8217; hit <span class=\"kbbtn\">C<\/span><span class=\"kbbtn\">?<\/span><\/p>\n<p>To see all options available to a command, put a space between the command and the &#8220;?&#8221;:<\/p>\n<pre>clock ?<\/pre>\n<p><span class=\"kbbtn\">Up Arrow<\/span> Recalls the previous command(s) entered.<br \/>\nTo see all commands entered in the current mode:<\/p>\n<pre>show history<\/pre>\n<ul>\n<li>This will show last 10 commands by default. Can be modified<\/li>\n<\/ul>\n<p>ALL-CAPS = Variable<\/p>\n<h4>Terminal Shortcuts<\/h4>\n<p>You only need to type enough characters to identify the unique command.<\/p>\n<pre>Ambiguous command: \"con\"<\/pre>\n<p>To see all commands that start with &#8220;con&#8221; type:<\/p>\n<pre>con?\r\nconfigure  connect<\/pre>\n<p>To see if there are any unique commands with the characters entered, press the [Tab] key (just like Linux!)<\/p>\n<pre>conf<span class=\"kbbtn\">Tab<\/span>\r\nconfigure _<\/pre>\n<p>You can also enter shortcuts- just enough characters to be unique:<br \/>\n&#8220;conf t&#8221; = configure terminal<br \/>\n<span class=\"kbbtn\">Ctrl<\/span>+<span class=\"kbbtn\">A<\/span> &#8211; Move to Beginning of line<br \/>\n<span class=\"kbbtn\">Ctrl<\/span>+<span class=\"kbbtn\">E<\/span> &#8211; Move to End of line<\/p>\n<p>If you enter invalid data, the system will let you know where you made the mistake:<\/p>\n<pre># cloack\r\n     ^\r\n% Invalid input detected at '^' marker<\/pre>\n<h3>Understanding The IOS Modes<\/h3>\n<h4>User Exec (aka User Mode)<\/h4>\n<p>When you first enter into a Cisco device, you will be in &#8220;User Exec&#8221;<br \/>\nIdentified by &#8220;&gt;&#8221;<br \/>\nBasic Show commands, Telnet, Ping, etc. (Very Limited)<\/p>\n<h4>Privileged Exec (aka Privilege Mode)<\/h4>\n<pre>&gt; enable\r\n# _<\/pre>\n<p>View anything on the switch.<br \/>\nSee packets, view passwords, etc.<br \/>\nShow commands and same commands as in User Exec.<br \/>\nOnly used to view, cannot perform any configurations.<\/p>\n<h4>Global Configuration<\/h4>\n<pre>&gt; configure terminal\r\n(config)# _<\/pre>\n<p>From Global Configuration, you can enter any other mode available<\/p>\n<p>Example: To enter &#8220;Interface Mode&#8221;<br \/>\nTo return to Privilege Mode:<\/p>\n<pre>(config)# interface fastEthernet 0\/1\r\n(config-if)# _<\/pre>\n<p>To drop back to &#8220;Privilege Mode&#8221;<\/p>\n<pre>(config-if)# end\r\n# _<\/pre>\n<p>To simply exit the current mode and back to Global:<\/p>\n<pre>(config-if)# exit\r\n# _<\/pre>\n<p>&#8220;Exit&#8221; drops you back one level at a time.<\/p>\n<p>&#8220;Bail Out Mode&#8221;<br \/>\nTo exit out of everything and back to Privilege Exec:<br \/>\n<span class=\"kbbtn\">Ctrl<\/span>+<span class=\"kbbtn\">Z<\/span><\/p>\n<p>23:46<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is the Cisco IOS The Internetwork Operating System A Command-Line\u00a0 method of configuring ANY Cisco Device Software that is consistent through nearly all Cisco Devices Learn it once, use it many times More powerful than any graphic interface Connecting to the Cisco Switch Get a Console Cable Plug the Serial End into the back ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=68\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7,2],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-ccent","category-ios","category-networking"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":11,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/189"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}