Question

Difficulty: EasyIPv4 Static Routing

A network administrator executes the command `ip route 10.50.1.0 255.255.255.0 172.16.1.2 120` on a Cisco IOS router. What does the numeric value `120` at the end of this command represent?

  1. The administrative distance configured for the static routeAnswer
  2. B
    The metric cost calculated for reaching the next-hop router
  3. C
    The maximum hop count permitted along the network path
  4. D
    The autonomous system number associated with the next-hop router

Answer

The administrative distance configured for the static route
In Cisco IOS software, the standard syntax for configuring a static route is `ip route <prefix> <mask> {ip-address | exit-interface} [distance]`. When an optional integer value such as 120 is included at the end, it defines the administrative distance (AD) of the static route, overriding the default static route AD of 1.

Step-by-Step Solution

1
Analyze the Cisco IOS IPv4 static route syntax structure.
The standard syntax is `ip route <destination-prefix> <subnet-mask> {ip-address | exit-interface} [distance]`.
Identifying parameter placement clarifies the function of each element in the CLI command.
2
Evaluate the role of the trailing optional parameter.
The numeric value `120` occupies the `[distance]` argument position.
An optional integer specified after the next-hop IP or exit interface sets the administrative distance, commonly used to create a floating static route.

Key Concept

Cisco IOS IPv4 static route command syntax and Administrative Distance configuration
Rate this question