Tutorials
Cisco IOS (Internetwork Operating System) is the proprietary operating system that runs on most Cisco routers and switches. It serves as the interface between the user and the router/switch hardware, enabling configuration, monitoring, and management of Cisco network devices.
IOS is CLI-based (Command Line Interface), though newer versions also support GUI tools like Cisco Configuration Professional (CCP). Mastery of IOS is essential for any network administrator or engineer working in Cisco environments.
Routing and Switching
Determines the best path for data across networks.
Forwards packets based on Layer 3 addressing.
Security
Provides support for Access Control Lists (ACLs), VPNs, and firewall capabilities.
QoS (Quality of Service)
Prioritizes certain traffic types (e.g., VoIP) to improve performance.
Network Management
SNMP support, logging, and debugging.
Interface monitoring and status tracking.
Interface Configuration
Assigning IP addresses.
Enabling/disabling ports.
Cisco IOS has several hierarchical command-line modes:
| Mode | Prompt | Description |
|---|---|---|
| User EXEC | Router> |
Basic mode, limited access |
| Privileged EXEC | Router# |
Full access for show/debug |
| Global Configuration | Router(config)# |
Configure device-wide settings |
| Interface Configuration | Router(config-if)# |
Configure interface-specific settings |
| Line Configuration | Router(config-line)# |
Configure terminal lines (e.g., console, telnet) |
| Sub-modes | e.g., Router(config-router)# |
Routing protocols, VLANs, etc. |
| Command | Description |
|---|---|
enable |
Enter privileged EXEC mode |
disable |
Return to user EXEC mode |
configure terminal |
Enter global configuration mode |
exit |
Exit a mode |
show running-config |
View current config |
show startup-config |
View saved config |
copy running-config startup-config |
Save current config |
reload |
Reboot the device |
hostname NAME |
Change device hostname |
Router> enable
Router# configure terminal
Router(config)# interface FastEthernet0/0
Router(config-if)# ip address 192.168.10.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# exit
Router# write memory
This configures the IP address on interface Fa0/0 and brings it up.
Switch> enable
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# name SALES
Switch(config-vlan)# exit
Switch(config)# interface FastEthernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# no shutdown
This creates a VLAN and assigns a port to it.
Cisco IOS is stored as an image file, often loaded from Flash memory. You can view files using:
Router# show flash:
Image Format Example:
c1900-universalk9-mz.SPA.157-3.M4.bin
c1900: Device series
universalk9: Feature set
mz: Runs in RAM from Flash
157-3.M4: Version and release
Cisco uses licensing to control access to advanced features:
| Feature Set | Includes |
|---|---|
| IP Base | Basic routing and switching |
| IP Services | Enhanced routing (OSPF, EIGRP, BGP) |
| Security | Firewall, VPN, ACLs |
| Unified Communications | Voice and video support |
Use the command:
show license
To view installed licenses.
Essential for troubleshooting:
| Command | Description |
|---|---|
show ip interface brief |
Shows interface status |
show version |
IOS version and hardware info |
debug |
Enable debugging for specific processes |
no debug all |
Disable all debugging |
show ip route |
Routing table |
ping, traceroute |
Connectivity tests |
To TFTP server:
copy running-config tftp
Restore:
copy tftp running-config
Always backup before making major changes.
enable secret cisco123
line console 0
password console123
login
line vty 0 4
password telnet123
login
service password-encryption
Use tab completion to auto-complete commands.
Use ? to see command options.
Use Ctrl+C to abort commands.
Use Ctrl+Z to exit configuration mode.
Cisco IOS is the backbone of Cisco device management, offering powerful features for routing, switching, and security. Whether configuring simple IP addresses or managing a complex enterprise network, mastering IOS is a vital skill for network professionals. It provides flexibility, control, and deep visibility into network behavior.
Anand Software and Training Pvt. Ltd. is not associated with Cisco® organization or any other company. CCNA™ is a trademarks of Cisco® organization. All trademarks are duly acknowledged. All practice tests and study material provided here is the copyright of Anand Software and Training Pvt. Ltd. All rights reserved.