Cisco IOS Operating System Flashcards
Command Hierarchy: hostname>
User exec mode
Command Hierarchy: hostname#
Privileged Exec Mode
“Enable” to access
Command Hierarchy: hostname(config)#
Global Configuration Mode
“Configure Terminal” to access
Command Hierarchy: hostname(config-if)#
Interface Configuration Mode
“Interface X” to access
Command Hierarchy: Exit
Drops down a command level
Command Hierarchy: End
Drops back to privileged exec mode from any level
Context Sensitive Help: sh?
Show all commands beginning with “sh”
Context Sensitive Help: Show ?
Show all available keyword options for “show” command
Moving Cursor & Navigation
Ctrl-A
moves cursor to beginning of line
Ctrl-U
deletes the whole line
< and >
navigate letter by letter
Up and down arrow
cycle through previously entered commands at same hierarchy level
Enter
scroll show command option output line by line
Spacebar
show command output page by page
Ctrl-C
break out of show command output
Tab
completes partially entered command
Piped Commands
IOS CLI is not case sensitive unless you pipe commands
Show running-config | begin FastEthernet0/0
Show running-config | include FastEthernet0/0
Show running-config | exclude FastEthernet0/0
Show running-config | section interface
Command: Make configuration persistent across reboot
Copy running-config startup-config
Command: Restart Device
reload
Command: View running configuration
Show running-config
Command: View startup configuration
Show startup-config
Command: Copy running configuration to flash memory
Copy running-config flash
Command: Change Hostname
Hostname X
Where X is new device name
Command: Show available interfaces
Show ip interface brief
Command: Show interface-specific information
Show interface Gig0/0
Where Gig0/0 is the interface name
Other Cisco Operating Systems
NX-OS
Cisco Nexus & MDS data center switch product lines use this
IOS-XR
Runs on the service provider NCS, CRS, ASR9000 & XR12000 series routers
IOS-XE
Runs on the ASR1000 series service provider routers
Commands are nearly identical to IOS
Initial Cisco Device Connection
Console Cable - DB9 to RJ45
New Console Cable - USB to Mini-USB
Console Connection Troubleshooting
The console port can be used if the device’s IP addresses become unresponsive
Can be used to troubleshoot the bootup process
You can view the device booting up from a console connection
Not possible with SSH because the system must be already booted
Configuration Storage Locations
IOS image - Flash
Startup Config - NVRAM
Running Config - RAM
Loaded into RAM from Startup Config when device boots