π§ π₯οΈ Cisco Device SHOW Commands
Show commands are the eyes of a network engineer. They allow you to view configuration, status, routing, hardware, and traffic without changing anything. All examples below are based on devices from Cisco Systems.
π What Are show Commands?
Show commands are used to:
- Verify configuration
- Check device health
- Troubleshoot problems
- Collect information (Help Desk & NOC work)
1οΈβ£ show running-config (show run)
π Purpose
Displays the current active configuration stored in RAM.
show running-config
π What You See
- Hostname
- Interface IP addresses
- VLANs
- Routing protocols
- Encrypted passwords
- Access control lists
π§ͺ Example Use
β Users canβt access the internet
- Check IP configuration
- Default gateway
- NAT
- VLAN assignments
2οΈβ£ show cdp neighbors
π Purpose
Shows directly connected Cisco devices using CDP (Cisco Discovery Protocol).
show cdp neighbors
π What You See
- Neighbor device name
- Device type (switch / router)
- Local interface
- Remote interface
π§ͺ Example Use
β Which switch is connected to this port?
β Use show cdp neighbors
3οΈβ£ show ip interface brief
π Purpose
Provides a quick summary of all interfaces and their status.
show ip interface brief
π Columns Explained
| Column | Meaning |
|---|---|
| Interface | Port name |
| IP Address | Assigned IP |
| Status | Physical state |
| Protocol | Logical state |
π§ Important States
- up / up β β Working
- down / down β β Cable or power issue
- up / down β οΈ β Configuration issue
4οΈβ£ show ip route
π Purpose
Displays the routing table and how packets are forwarded.
show ip route
π What You Learn
- Connected routes
- Static routes
- Default route (0.0.0.0/0)
- Dynamic routes
π§ͺ Example Use
β Network canβt reach the internet
β Check if default route exists
5οΈβ£ show version
π Purpose
Displays device and operating system information.
show version
π Displays
- IOS version
- Device model
- RAM & flash
- Uptime
- Serial number (sometimes)
6οΈβ£ show inventory
π Purpose
Displays detailed hardware inventory information.
show inventory
π Displays
- Product ID (PID)
- Serial numbers
- Modules
- Power supplies
π§ͺ Example Use
- Asset management
- Warranty checks
7οΈβ£ show mac address-table
π Purpose
Displays MAC addresses learned by the switch.
show mac address-table
π Shows
- MAC address
- VLAN
- Port
π§ͺ Example Use
β Which port is this PC connected to?
β Find MAC β identify port
8οΈβ£ show interface / show interface status
π Purpose
Shows detailed interface statistics and health.
show interface fa0/1
show interface status
π What You See
- Speed & duplex
- Errors (CRC, collisions)
- Bandwidth usage
- Link state
π§ͺ Example Use
β Network is slow
- Check errors
- Check speed mismatch
π 9οΈβ£ Privilege Levels
π What Are Privilege Levels?
Privilege levels control what commands a user can execute.
| Level | Mode | Prompt |
|---|---|---|
| User EXEC | Limited | > |
| Privileged EXEC | Full | # |
enable
disable
β π Command Help & Auto-Complete
π Help Feature (?)
show ?
β Lists all possible command options
π Auto-Complete (TAB)
sho<TAB>
β Completes to show
π§ BIG PICTURE: Which Command for What?
| Problem | Command |
|---|---|
| Check config | show running-config |
| See neighbors | show cdp neighbors |
| Interface status | show ip interface brief |
| Routing issue | show ip route |
| Device info | show version |
| Hardware details | show inventory |
| Find PC port | show mac address-table |
| Port errors | show interface |