Question

Difficulty: EasyIPv4 Static Routing

An administrator needs to manually configure an IPv4 static route on a Cisco router to reach remote network 172.20.10.0/24172.20.10.0/24 using the next-hop IP address 10.0.0.210.0.0.2, and then permanently save the configuration. What is the correct sequence of steps to complete this configuration starting from Privileged EXEC mode?

  1. 1Enter global configuration mode by executing the `configure terminal` command.
  2. 2Configure the static route using the command `ip route 172.20.10.0 255.255.255.0 10.0.0.2`.
  3. 3Return to privileged EXEC mode by executing the `end` command.
  4. 4Save the configuration to startup memory by executing `copy running-config startup-config`.

Answer

The correct order to enter global configuration mode, apply the static route command with the correct prefix, subnet mask, and next-hop IP, exit back to privileged EXEC mode, and save the active configuration to NVRAM is: Enter global configuration mode (`configure terminal`), Configure the static route (`ip route 172.20.10.0 255.255.255.0 10.0.0.2`), Return to privileged EXEC mode (`end`), and Save the configuration (`copy running-config startup-config`).
Configuring a persistent IPv4 static route on a Cisco router requires moving to global configuration mode via `configure terminal`, applying the static route with `ip route 172.20.10.0 255.255.255.0 10.0.0.2`, exiting back to privileged EXEC mode using `end`, and finally writing the running configuration to NVRAM using `copy running-config startup-config`.

Step-by-Step Solution

1
Transition from Privileged EXEC mode (`Router#`) to Global Configuration mode (`Router(config)#`).
The router prompt changes to `Router(config)#`, allowing structural configuration commands.
Static routes cannot be defined directly in Privileged EXEC mode.
2
Issue the IPv4 static route command `ip route 172.20.10.0 255.255.255.0 10.0.0.2`.
The static route is added to the running configuration and installed into the IPv4 routing table.
Cisco IOS requires the syntax `ip route <prefix> <mask> <next-hop-ip|exit-interface>`.
3
Return to Privileged EXEC mode using `end` or `exit`.
The prompt reverts back to `Router#`.
File management and memory write commands must be issued from Privileged EXEC mode.
4
Write the active configuration from RAM to NVRAM using `copy running-config startup-config`.
The current running-config is saved to startup-config in NVRAM.
Without saving, configuration modifications will be lost if the device loses power or reboots.

Key Concept

Cisco IOS IPv4 Static Route CLI Configuration Workflow
Rate this question