CCENT Show Commands

  CCENT, IOS, Networking

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 Lance, address is 0001.c7d6.bb02 (bia 0001.c7d6.bb02)

bia = Built In Address = MAC address for the switchport

 BW 100000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255

Reliability = 255/255 = 100% Reliable = 1=0 && 255=100
txload = Transmitting Load: 1/255 = very low, 255/255 = full load
rxload = Receiving Load

  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:08, output 00:00:05, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec

The following information is Historical Data

     956 packets input, 193351 bytes, 0 no buffer
     Received 956 broadcasts, 0 runts, 0 giants, 0 throttles

To calculate percentage of broadcasts: # Broadcasts / # Packets Input
Average usually about 20%
Runts: Packets that are too small
Giants: Packets that are too large
Runts & Giants generally caused by bad connections

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     2357 packets output, 263570 bytes, 0 underruns
     0 output errors, 0 collisions, 10 interface resets
     0 babbles, 0 late collision, 0 deferred

Collisions generally caused by:

  • Cable is too long
  • Duplex mismatch (most common)

Late Collisions may occur if # hops between src and dest is too great.

  • This causes a packet to become delayed
  • The Source resends the packet because it did not receive an ACK
  • The new, repeat packet arrives

0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

 

show ip dhcp binding

This command displays the IP and MAC addresses, along with the lease exiration date and time for IP addresses handed out via DHCP.

r3#show ip dhcp binding                                                                                               
Bindings from all pools not associated with VRF:                                                                      
IP address          Client-ID/              Lease expiration        Type                                              
                    Hardware address/                                                                                 
                    User name                                                                                         
192.168.33.20       b827.eb62.35b2          Jan 21 2017 04:43 PM    Automatic

 

show ip interface brief

Will provide a report of all interfaces on the switch, and their current status.

Sw1#show ip interface brief 
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/1        unassigned      YES manual up                    up
FastEthernet0/2        unassigned      YES manual up                    up
FastEthernet0/3        unassigned      YES manual down                  down
FastEthernet0/4        unassigned      YES manual administratively down down
...
FastEthernet0/23       unassigned      YES manual down                  down
FastEthernet0/24       unassigned      YES manual down                  down
Vlan1                  172.2.30.180    YES manual up

Status:Physical Layer
Protocol: Data Link Layer

show running-config

Displays the actual configuration of the switch.
This is essentially a list of all configuration commands being currently used.

During the Cisco test, it is common to have this command disabled to force you to use different commands to find the problem!

 

Sw1#show running-config
Building configuration...

Current configuration : 1386 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname Sw1
!
enable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0
!
ip ssh version 2
ip domain-name sw1.switch.com
!
username thomas privilege 1 password 7 08314D5D1A0E0A0516
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 switchport mode access
 switchport port-security
!
interface FastEthernet0/2
 switchport mode access
!
interface FastEthernet0/3
!
...
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
 ip address 172.2.30.180 255.255.255.0
!
ip default-gateway 172.2.30.1
!
banner motd ^C

***
Keep Out!
***

^C
!
line con 0
 password 7 08314D5D1A0E0A0516
 login
!
line vty 0 4
 exec-timeout 60 0
 password 7 08314D5D1A0E0A0516
 login
 transport input ssh
line vty 5 15
 login
!
!
end

 

Routing and Routing Protocols

Routing Protocols include:

  • rip
  • eigrp
  • ospf
  • is-is
  • bgp

Current Routes

show ip route

 

Configured Protocols

show ip protocols

 

Routing Configuration

show run | begin <routing protocol>

 

Routing Databases

show ip <routing protocol> database

 

Routing Neighbors

show ip <routing protocol> neighbors

 

 

LEAVE A COMMENT