{"id":238,"date":"2015-09-10T02:59:26","date_gmt":"2015-09-10T02:59:26","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=238"},"modified":"2021-12-23T21:11:27","modified_gmt":"2021-12-23T21:11:27","slug":"ccent-show-commands","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=238","title":{"rendered":"CCENT Show Commands"},"content":{"rendered":"<h2>Main Menu<\/h2>\n<p>show clock<br \/>\nshow interace fastethernet 0\/N<br \/>\nshow ip dhcp binding<br \/>\nshow ip interface brief<br \/>\nshow ip route<br \/>\nshow running-config<\/p>\n<h3>show interface fastethernet 0\/N<\/h3>\n<pre>Sw1#<span style=\"color: #00ffff;\">show interface fastethernet 0\/2<\/span><\/pre>\n<pre>FastEthernet0\/2 is up, line protocol is up (connected)<\/pre>\n<p>FastEthernet0\/2 is up = Status (Physical Layer)<br \/>\nline protocol is up = Protocol (Data Link Layer)<\/p>\n<pre>  Hardware is Lance, address is 0001.c7d6.bb02 (<strong>bia<\/strong> 0001.c7d6.bb02)<\/pre>\n<p>bia = Built In Address = MAC address for the switchport<\/p>\n<pre> BW 100000 Kbit, DLY 1000 usec,\r\n     <strong>reliability<\/strong> 255\/255, <strong>txload<\/strong> 1\/255, <strong>rxload<\/strong> 1\/255<\/pre>\n<p>Reliability = 255\/255 = 100% Reliable = 1=0 &amp;&amp; 255=100<br \/>\ntxload = Transmitting Load: 1\/255 = very low, 255\/255 = full load<br \/>\nrxload = Receiving Load<\/p>\n<pre>  Encapsulation ARPA, loopback not set\r\n  Keepalive set (10 sec)\r\n  <strong>Full-duplex, 100Mb\/s<\/strong>\r\n  input flow-control is off, output flow-control is off\r\n  ARP type: ARPA, ARP Timeout 04:00:00\r\n  Last input 00:00:08, output 00:00:05, output hang never\r\n  Last clearing of \"show interface\" counters never\r\n  Input queue: 0\/75\/0\/0 (size\/max\/drops\/flushes); Total output drops: 0\r\n  Queueing strategy: fifo\r\n  Output queue :0\/40 (size\/max)\r\n  <strong>5 minute input rate 0 bits\/sec, 0 packets\/sec<\/strong>\r\n  <strong>5 minute output rate 0 bits\/sec, 0 packets\/sec<\/strong><\/pre>\n<p>The following information is Historical Data<\/p>\n<pre><strong>     956 packets<\/strong> input, 193351 bytes, 0 no buffer\r\n     Received <strong>956 broadcasts<\/strong>, 0 runts, 0 giants, 0 throttles<\/pre>\n<p>To calculate percentage of broadcasts: # Broadcasts \/ # Packets Input<br \/>\nAverage usually about 20%<br \/>\nRunts: Packets that are too small<br \/>\nGiants: Packets that are too large<br \/>\nRunts &amp; Giants generally caused by bad connections<\/p>\n<pre>     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\r\n     0 watchdog, 0 multicast, 0 pause input\r\n     0 input packets with dribble condition detected\r\n     2357 packets output, 263570 bytes, 0 underruns\r\n     0 output errors, 0 collisions, 10 interface resets\r\n     0 babbles, 0 late collision, 0 deferred<\/pre>\n<p>Collisions generally caused by:<\/p>\n<ul>\n<li>Cable is too long<\/li>\n<li>Duplex mismatch (most common)<\/li>\n<\/ul>\n<p>Late Collisions may occur if # hops between src and dest is too great.<\/p>\n<ul>\n<li>This causes a packet to become delayed<\/li>\n<li>The Source resends the packet because it did not receive an ACK<\/li>\n<li>The new, repeat packet arrives<\/li>\n<\/ul>\n<p>0 lost carrier, 0 no carrier<br \/>\n0 output buffer failures, 0 output buffers swapped out<\/p>\n<p>&nbsp;<\/p>\n<h3>show ip dhcp binding<\/h3>\n<p>This command displays the IP and MAC addresses, along with the lease exiration date and time for IP addresses handed out via DHCP.<\/p>\n<pre>r3#<span style=\"color: #00ffff;\">show ip dhcp binding<\/span>                                                                                               \r\nBindings from all pools not associated with VRF:                                                                      \r\nIP address          Client-ID\/              Lease expiration        Type                                              \r\n                    Hardware address\/                                                                                 \r\n                    User name                                                                                         \r\n192.168.33.20       b827.eb62.35b2          Jan 21 2017 04:43 PM    Automatic<\/pre>\n<p>&nbsp;<\/p>\n<h3>show ip interface brief<\/h3>\n<p>Will provide a report of all interfaces on the switch, and their current status.<\/p>\n<pre>Sw1#<span style=\"color: #00ffff;\">show ip interface brief<\/span> \r\nInterface              IP-Address      OK? Method Status                Protocol\r\nFastEthernet0\/1        unassigned      YES manual up                    up\r\nFastEthernet0\/2        unassigned      YES manual up                    up\r\nFastEthernet0\/3        unassigned      YES manual down                  down\r\nFastEthernet0\/4        unassigned      YES manual administratively down down\r\n...\r\nFastEthernet0\/23       unassigned      YES manual down                  down\r\nFastEthernet0\/24       unassigned      YES manual down                  down\r\nVlan1                  172.2.30.180    YES manual up\r\n<\/pre>\n<p>Status:Physical Layer<br \/>\nProtocol: Data Link Layer<\/p>\n<h3>show running-config<\/h3>\n<p>Displays the actual configuration of the switch.<br \/>\nThis is essentially a list of all configuration commands being currently used.<\/p>\n<div class=\"warning\">During the Cisco test, it is common to have this command disabled to force you to use different commands to find the problem!<\/div>\n<p>&nbsp;<\/p>\n<pre>Sw1#<span style=\"color: #00ffff;\">show running-config<\/span>\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1386 bytes\r\n!\r\nversion 12.1\r\nno service timestamps log datetime msec\r\nno service timestamps debug datetime msec\r\nservice password-encryption\r\n!\r\nhostname Sw1\r\n!\r\nenable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0\r\n!\r\nip ssh version 2\r\nip domain-name sw1.switch.com\r\n!\r\nusername thomas privilege 1 password 7 08314D5D1A0E0A0516\r\n!\r\nspanning-tree mode pvst\r\n!\r\ninterface FastEthernet0\/1\r\n switchport mode access\r\n switchport port-security\r\n!\r\ninterface FastEthernet0\/2\r\n switchport mode access\r\n!\r\ninterface FastEthernet0\/3\r\n!\r\n...\r\ninterface FastEthernet0\/22\r\n!\r\ninterface FastEthernet0\/23\r\n!\r\ninterface FastEthernet0\/24\r\n!\r\ninterface Vlan1\r\n ip address 172.2.30.180 255.255.255.0\r\n!\r\nip default-gateway 172.2.30.1\r\n!\r\nbanner motd ^C\r\n\r\n***\r\nKeep Out!\r\n***\r\n\r\n^C\r\n!\r\nline con 0\r\n password 7 08314D5D1A0E0A0516\r\n login\r\n!\r\nline vty 0 4\r\n exec-timeout 60 0\r\n password 7 08314D5D1A0E0A0516\r\n login\r\n transport input ssh\r\nline vty 5 15\r\n login\r\n!\r\n!\r\nend<\/pre>\n<p>&nbsp;<\/p>\n<h1>Routing and Routing Protocols<\/h1>\n<p>Routing Protocols include:<\/p>\n<ul>\n<li>rip<\/li>\n<li>eigrp<\/li>\n<li>ospf<\/li>\n<li>is-is<\/li>\n<li>bgp<\/li>\n<\/ul>\n<h2>Current Routes<\/h2>\n<pre>show ip route<\/pre>\n<p>&nbsp;<\/p>\n<h2>Configured Protocols<\/h2>\n<pre>show ip protocols<\/pre>\n<p>&nbsp;<\/p>\n<h2>Routing Configuration<\/h2>\n<pre>show run | begin &lt;routing protocol&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h2>Routing Databases<\/h2>\n<pre>show ip &lt;routing protocol&gt; database<\/pre>\n<p>&nbsp;<\/p>\n<h2>Routing Neighbors<\/h2>\n<pre>show ip &lt;routing protocol&gt; neighbors<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Main Menu show clock show interace fastethernet 0\/N show ip dhcp binding show ip interface brief show ip route show running-config show interface fastethernet 0\/N Sw1#show interface fastethernet 0\/2 FastEthernet0\/2 is up, line protocol is up (connected) FastEthernet0\/2 is up = Status (Physical Layer) line protocol is up = Protocol (Data Link Layer) Hardware is ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=238\" 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-238","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\/238","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=238"}],"version-history":[{"count":10,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":3622,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions\/3622"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}