You are here

Top 5 Cisco IOS Commands that every Admin should know

  1. show ip interface brief  - verifies your configuration.

     Example snippet output of configuration file: Serial0/0 is up, line protocol is up.

2. show  ip ospf neighbor – shows the IP neighbor’s and their priority, state, etc.

Example snippet output …
				Neighbor ID
				PRI
				State
				Dead Time
				Address
				Interface
				192.168.45.1    
				1
				FULL/DR    
				00:00:36     
				10.0.0.1    
				Ethernet0

3. show running-config – Another way to verify your configuration.

     Example snippet  output of configuration file: ….

      Interface Serial0/0
 ip address 1.2.3.4 255.255.255.0

4. show vlan – Verifies VLAN information
    Example snippet of VLAN information:

VLAN Name

Status

Mod/Ports Vlans

1 Default

active

2/24

16 VLAN0016

active

 

17 VLAN0017

Active

3/1,3/4,3/8

 

  1. show ip route – Shows all the IP routes contained in the routing table.
    Console> show ip route

Fragmentation   Redirect   Unreachable

————-   ——–   ———–

enabled         enabled    enabled

 

Destination      Gateway          RouteMask    Flags   Use       Interface

—————  —————  ———-   —–   ——–  ———

172.20.0.0       172.20.26.70     0xffff0000   U          8         sc0

default             default               0xff000000  UH       0         sl0

 

source: techtarget.com

Forums: