Skip to content

Kotenko IT Blog

Menu
  • Home
  • CISCO
  • Virtualization
  • About
  • Certificates
Menu

Cisco IOS CLI

Posted on May 28, 2025September 4, 2025 by kotenkoo

CLI (Command-Line Interface) – used to configure switches, routers, and firewalls
GUI (Graphical User Interface)


Connecting via Console Port

  • There are 2 type of console ports: RJ45 and USB Mini-B
  • Rollover cable: RJ45 <–> DB9 (serial port), called “rollover” because of pin mapping
  • Pin mapping: 1–8, 2–7, 3–6, 4–5, 5–4, 6–3, 7–2, 8–1
  • Terminal emulator: PuTTY (connection type: Serial → connects to CLI)
  • Serial line configuration:
    • Speed (baud rate): 9600
    • Data bits: 8
    • Stop bits: 1
    • Parity: None
    • Flow control: None

Modes

  • Router> – User EXEC Mode (sign > ; Router is the hostname of the device), very limited (cannot change configuration), “user mode”, usually not used for tasks
  • Router# – Privileged EXEC Mode (sign #), allows viewing configuration, restarting the device, saving config, but not editing it
  • Router(config)# – Global Configuration Mode, used to change device configuration

Apply Password

  • enable password xxx → Type 7 (Cisco proprietary encryption)
  • enable secret xxx → Type 5 (MD5 encryption)

Password Encryption

  • service password-encryption
    • Encrypts current and future passwords
    • Does not affect enable secret (already MD5)
  • no service password-encryption
    • Leaves current and future passwords unencrypted
    • Does not affect enable secret

Configuration Files

  • running-config → current active configuration (editable in CLI)
  • startup-config → loaded when the device restarts

Save Configuration:

  • write == write memory == copy running-config startup-config
  • Always use enable secret instead of enable password (more secure)

Commands

Router> enable                       // enter Privileged EXEC mode
Router# configure terminal           // enter Global Configuration mode
Router(config)# enable password xxx  // set password for Privileged EXEC mode
Router(config)# service password-encryption // encrypts plain-text passwords
Router(config)# enable secret xxx    // set secure, always-encrypted password
Router(config)# do sh run            // executes a Privileged EXEC command from config mode
Router(config)# no <command>         // remove a command
Router(config)# do show running-config   // show current (running) config
Router(config)# do show startup-config   // show saved (startup) config
Router(config)# write                // save running-config to startup-config
Router(config)# exit                 // exit to previous mode

📌 These are personal study notes. Please read the full disclaimer for more information.

Category: CCNA

Post navigation

← OSI model and TCP/IP suite
Ethernet LAN Switching →

10 thoughts on “Cisco IOS CLI”

  1. uu881 says:
    December 2, 2025 at 6:10 pm

    Just wanted to shout out uu881. Stumbled upon this site and I’m really liking the vibe. The interface is clean, and finding what I’m looking for is easy. Definitely added it to my bookmarks! uu881

    Reply
  2. mobi66bet says:
    December 3, 2025 at 7:36 pm

    Mobi66bet! Gotta say, the mobile experience is smooth. I primarily play on my phone and haven’t had any glitches or issues. They should give mobile-only players a bonus! Give it a try: mobi66bet

    Reply
  3. jj99 says:
    December 4, 2025 at 3:17 am

    Heard talk about jj99 but you know, I’m always sceptical. Just lookin’ for a good time. Let’s find some luck. jj99

    Reply
  4. 0055betapp says:
    December 4, 2025 at 10:12 pm

    Yo! 0055betapp is where it’s at for a quick flutter. Easy to use, and I had a decent win last week. Check it out! 0055betapp

    Reply
  5. mplbetbet says:
    December 9, 2025 at 1:17 am

    Yo, anyone tried MPLBetBet? Saw it advertised, wondering if it’s worth downloading. Is it legit? Let me know your thoughts! Link here anyway: mplbetbet

    Reply
  6. 333jililogin says:
    December 14, 2025 at 10:54 am

    That’s a fascinating point about skill-based casino games! Seeing platforms like 333jili login game really push competitive elements is a game-changer. It’s not just luck, but strategy & reflexes! Exciting stuff for PH players.

    Reply
  7. betvnapp says:
    December 15, 2025 at 6:10 pm

    Betvnapp is pretty convenient if you’re betting on the go. The app is smooth, and it’s easy to find what you’re looking for. Give it a try if you’re into mobile betting. Download here: betvnapp

    Reply
  8. pinoytimegcash says:
    December 16, 2025 at 1:12 am

    That’s a solid point about adapting to mobile gaming trends! Seamless payments are key, and platforms like pinoy time gcash apk are making it super easy for Filipino players. Definitely seeing the convenience factor grow! 🤔

    Reply
  9. solitaire games says:
    December 16, 2025 at 3:19 pm

    That’s a great point about strategic thinking in games! It’s amazing how accessible those skills are now – instant play free solitaire is a perfect example. Really neat to see classic games thrive online!

    Reply
  10. ninogaming says:
    January 16, 2026 at 8:14 pm

    Interesting points about bankroll management! Seeing platforms like ninogaming vip cater to local payment methods (GCash, PayMaya) shows they get the Filipino player base. Accessibility is key, right? Good article!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • IPv4 Header
  • Switch Interfaces
  • IPv4 Addressing
  • Ethernet LAN Switching
  • Cisco IOS CLI

Recent Comments

  1. JosephmoK on How to Install and Set Up Proxmox VE 8.4
  2. lucky122game on Network Devices
  3. patrullero777 on Network Devices
  4. niw88bet on Network Devices
  5. appnovibet on How to Install and Set Up Proxmox VE 8.4

Archives

  • June 2025
  • May 2025

Categories

  • CISCO
    • CCNA
    • CISCO Troubleshooting
  • Uncategorized
  • Virtualization
    • Proxmox
© 2026 Kotenko IT Blog | Powered by Minimalist Blog WordPress Theme