Cisco CCNA 200-301 Exam Study Notes

5. Cisco IOS (Internetwork Operating System)

Introduction

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.


Key Functions of Cisco IOS

  1. Routing and Switching

    • Determines the best path for data across networks.

    • Forwards packets based on Layer 3 addressing.

  2. Security

    • Provides support for Access Control Lists (ACLs), VPNs, and firewall capabilities.

  3. QoS (Quality of Service)

    • Prioritizes certain traffic types (e.g., VoIP) to improve performance.

  4. Network Management

    • SNMP support, logging, and debugging.

    • Interface monitoring and status tracking.

  5. Interface Configuration

    • Assigning IP addresses.

    • Enabling/disabling ports.


Cisco Device Modes in IOS

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.

Basic IOS Navigation Commands

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

Interface Configuration Example

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.


VLAN Configuration Example (Switch)

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.


IOS File System and Images

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


IOS Licensing

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.


Debugging and Monitoring

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

Backup and Restore Configurations

To TFTP server:

copy running-config tftp

Restore:

copy tftp running-config

Always backup before making major changes.


Securing Access to IOS

1. Password Protection

enable secret cisco123
line console 0
 password console123
 login
line vty 0 4
 password telnet123
 login

2. Encrypt Passwords

service password-encryption

Tips for Effective IOS Use

  • 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.


Conclusion

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.