Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The key to configuring a Cisco router safely is knowing which configuration is active and which will survive a reboot. show running-config displays the active configuration; show startup-config displays the saved startup configuration. They can differ until you copy the running configuration to startup configuration.

The commands below show a basic IOS/IOS XE workflow and an illustrative interface setup. Interface names, command support, addressing, and save behavior depend on the router family and software release, so confirm them in the guide for your exact device before making changes.

Running configuration versus startup configuration

Cisco describes the running configuration as the software’s current configuration. It is the configuration currently in effect. The startup configuration is the saved configuration used when the router starts. Cisco notes that the two can differ when changes have been made but not saved. Cisco’s configuration-file guide explains the distinction and the commands for inspecting and saving these files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • show running-config displays the active configuration.
  • show startup-config displays the saved startup configuration.
  • copy running-config startup-config copies the active configuration to the startup configuration.

Unsaved changes may not persist after a reboot. Save only after checking that the active configuration is the one you intend the router to use at startup; the exact storage location can vary by platform.

Basic CLI sequence

IOS and IOS XE commands are entered in modes. enable requests privileged EXEC access, subject to the device’s credentials and access policy. configure terminal enters global configuration mode. From there, select a context—such as an interface—before entering commands specific to it. Cisco’s IOS command-line interface guide describes command modes and EXEC commands.

  1. At the user EXEC prompt, enter enable. If prompted, provide the authorized credentials. The prompt commonly changes from Router> to Router#.
  2. Enter configure terminal to enter global configuration mode, commonly shown as Router(config)#.
  3. Enter the global setting or select the configuration context you need. For example, hostname Branch-Router changes the system name displayed in the CLI prompt.
  4. When finished configuring, enter end to return to privileged EXEC mode.
  5. Inspect the active configuration and relevant status, then save with copy running-config startup-config if the changes are ready to persist.

The prompt labels are illustrative; prompt text can change with the hostname and configuration context.

Rank #2
Cisco ISR4331/K9 - ISR 4331 - Integrated Service Router (Renewed)
  • Aggregate Throughput: 100 Mbps to 300 Mbps
  • Total onboard WAN or LAN 10/100/1000 ports: 3
  • RJ-45-based ports: 2
  • SFP-based ports: 2
  • Enhanced service-module (SM-X) slot: 1

Illustrative interface configuration

This example follows Cisco’s ASR 900 Ethernet-interface procedure and its IOS XE guidance for interface IPv4 addressing. It is a teaching example, not a universal configuration. The interface identifier, address, and mask must match the actual router and network plan. Do not paste it into a production device without confirming the change plan and maintaining an appropriate access method.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Router> enable
Router# configure terminal
Router(config)# hostname Branch-Router
Branch-Router(config)# interface gigabitethernet 0/0/1
Branch-Router(config-if)# ip address 192.168.50.1 255.255.255.0
Branch-Router(config-if)# no shutdown
Branch-Router(config-if)# end
Branch-Router# show running-config
Branch-Router# show ip interface
Branch-Router# copy running-config startup-config

The interface context matters: after interface gigabitethernet 0/0/1, the prompt changes to interface configuration mode, where the IP address and no shutdown commands are entered. Cisco’s ASR 900 Ethernet-interface guide documents this type of sequence. It does not establish that the interface name or sample address is right for another router.

Rank #3
Cisco CISCO1921/k9 Series Integrated Services Routers (Renewed)
  • Dual Gigabit Ethernet Ports: Features 2 RJ45 10/100/1000 LAN/WAN ports for high-speed network connectivity and flexible deployment options
  • Enhanced High-Speed WAN Interface Card Slots: Equipped with 2 EHWIC slots for modular expansion and customization of network services
  • Security Feature Set: Includes SEC feature set with embedded hardware encryption acceleration and advanced security services for comprehensive network protection
  • Doublewide EWIC Slot: Provides 1 doublewide EWIC slot that occupies both standard EHWIC slots when used, offering flexibility for high-density interface requirements
  • USB Connectivity: Includes 1 USB port for external storage, configuration management, and additional connectivity options

Verify before saving

Use inspection commands after configuration to confirm what is active and, where relevant, what is saved. show ip interface displays interface IP parameters; Cisco documents it in its IOS XE IPv4 addressing guide.

  • Run show running-config to inspect the active configuration, including the changes you made.
  • Run show ip interface to inspect interface IP parameters.
  • Run show startup-config when you need to check the configuration saved for startup.
  • After confirming the intended configuration, run copy running-config startup-config to save it.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Commands and interface names depend on the platform

“Cisco router” covers multiple hardware families and software releases. The examples in Cisco’s documentation are specific to their stated platforms: the 4000 Series ISR guide and the 8100 Series Secure Routers guide cover different products. Interface naming, supported commands, and startup configuration behavior should therefore be checked against the documentation for the exact model and IOS or IOS XE release.

Rank #4
Cisco-Linksys E1000 Wireless-N Router
  • Enjoy the benefits of Wireless-N in your home--ideal for wireless Internet usage and home office productivity
  • Connect your computers, wireless printers, smartphones, and other wireless devices at up to 300 Mbps of transfer speed
  • Use four Fast Ethernet (10/100 Mbps) ports to directly connect wired devices

An optional command in some basic-router guidance is no ip domain-lookup, which disables attempts to translate unfamiliar words as names. Whether that behavior is appropriate depends on the operating environment; verify command support and suitability for the target release before using it. Cisco discusses hostname and basic system management in its IOS XE 17.x basic system management guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 2
Cisco ISR4331/K9 - ISR 4331 - Integrated Service Router (Renewed)
Cisco ISR4331/K9 - ISR 4331 - Integrated Service Router (Renewed)
Aggregate Throughput: 100 Mbps to 300 Mbps; Total onboard WAN or LAN 10/100/1000 ports: 3; RJ-45-based ports: 2
$87.22
Bestseller No. 4
Cisco-Linksys E1000 Wireless-N Router
Cisco-Linksys E1000 Wireless-N Router
Use four Fast Ethernet (10/100 Mbps) ports to directly connect wired devices
$75.22
SaleBestseller No. 5
Best Value
Sale
TP-Link ER605, Wired Gigabit VPN Router
  • 【Five Gigabit Ports】1 Gigabit WAN Port plus 2 Gigabit WAN/LAN Ports plus 2 Gigabit LAN Port. Up to 3 WAN ports optimize bandwidth usage through one device.
  • 【One USB WAN Port】Mobile broadband via 4G/3G modem is supported for WAN backup by connecting to the USB port. For complete list of compatible 4G/3G modems, please visit TP-Link website.
  • 【Abundant Security Features】Advanced firewall policies, DoS defense, IP/MAC/URL filtering, speed test and more security functions protect your network and data.
  • 【Highly Secure VPN】Supports up to 20× LAN-to-LAN IPsec, 16× OpenVPN, 16× L2TP, and 16× PPTP VPN connections.
  • Security - SPI Firewall, VPN Pass through, FTP/H.323/PPTP/SIP/IPsec ALG, DoS Defence, Ping of Death and Local Management. Standards and Protocols IEEE 802.3, 802.3u, 802.3ab, IEEE 802.3x, IEEE 802.1q

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.