JN0-102: Juniper Networks Certified Associate Junos Exam

Which Statement is Correct about Traffic Matching the Route 10.10.10.0/24?

Prev Question Next Question

Question

-- Exhibit --

[edit routing-options]

user@router# show

static {

defaults {

metric 10;

preference 10;

}

route 10.10.10.0/24 {

next-hop 192.168.100.1;

qualified-next-hop 192.168.200.1;

preference 6;

}

metric 8;

}

}

-- Exhibit --

Given the configuration shown in the exhibit, which statement is correct about traffic matching the route 10.10.10.0/24?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

The configuration shown in the exhibit is defining a static route for the network 10.10.10.0/24. Let's go through each of the configuration statements to understand how traffic will be matched and forwarded:

  1. static - This statement indicates that a static route is being defined.
  2. defaults - This statement sets default values for all static routes defined within this stanza.
  3. metric 10 - This statement sets the metric for all static routes defined within this stanza to 10.
  4. preference 10 - This statement sets the preference for all static routes defined within this stanza to 10.
  5. route 10.10.10.0/24 - This statement defines the specific route for the network 10.10.10.0/24.
  6. next-hop 192.168.100.1 - This statement sets the next hop for this route to 192.168.100.1.
  7. qualified-next-hop 192.168.200.1 - This statement sets a qualified next hop for this route to 192.168.200.1.
  8. preference 6 - This statement sets the preference for this specific route to 6.
  9. metric 8 - This statement sets the metric for this specific route to 8.

Based on the above configuration, the correct answer is C. Traffic matching the route 10.10.10.0/24 will be forwarded to 192.168.200.1 using a metric of 8 because this is the specific route defined in the configuration with the lower metric value (8). The preference value of 6 for this specific route will be used to determine the best path among multiple routes with the same destination and metric values.

Note that the default values of metric 10 and preference 10 set in the defaults statement will be used for any static routes defined in the future within this stanza, but they will not apply to the specific route defined for the network 10.10.10.0/24.