HON’s Wiki # Cisco General (IOS/IOS XE)

Home / Networking

Contents

I keep most of my Cisco notes elsewhere, sorry.

General Configuration

CLI Usage

Basics

AAA

Lines

Tasks

Safe Shutdown (IOS XE)

This is the recommended way to shut the device down, instead of just pulling the power. It allows the system to clean up file systems and such.

  1. Issue the reload command in privileged exec mode and confirm.
  2. Wait for the system bootstrap messages.
  3. Remove power.

Reset Password (Old)

  1. Power off the device.
  2. Connect using serial.
  3. Power on the device and immediately prepare for the next step.
  4. Press Ctrl+Break to enter ROMMON.
  5. Type confreg 0x2142 to make it ignore the startup config.
  6. (Required?) Type sync to save the environment.
  7. Type boot to start booting the IOS image. Wait for it to boot.
  8. Log in using default (no) credentials and make the necessary changes.
    • To reset the startup config, run erase startup-config.
  9. Enter config mode and run config-register 0x2102 to re-enable loading the startup config.
  10. Reboot: reload

Copy Config to Device Using SCP (Old)

Note: Copying to the running config will merge it into it instead of overwriting it. Copying it to the startup config instead and restarting is one way around that.

  1. Enable SSH, SCP, default login authentication and default exec authorization.
  2. Backup the old startup config: copy startup-config flash:startup-config.backup
  3. Copy from PC to device: scp new-config.txt [email protected]:flash:/new-config (example)
  4. Copy new config to running config to validate it: copy flash:new-config running-config
    • Note that this will merge the two configs, which may lead to some new warnings or errors.
  5. Copy new config to startup config: copy flash:new-config startup-config
  6. Reload: reload

Information

Boot (Old)

Modes


hon.one | HON95/wiki | Edit page