nerdexam
Juniper

JN0-102 · Question #305

Given the configuration shown in the exhibit, which statement is correct about traffic matching the route 10.10.10.0/24? [edit routing-options] user@router# show static { defaults { metric 10…

The correct answer is C. It will be forwarded to 192.168.200.1 using a metric of 8. The static route for 10.10.10.0/24 is configured with a preference of 6 and an effective metric of 8, and traffic will be forwarded via the qualified-next-hop if the primary next-hop is unavailable.

Routing Fundamentals

Question

Given the configuration shown in the exhibit, which statement is correct about traffic matching the route 10.10.10.0/24? [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; } }

Options

  • AIt will be forwarded to 192.168.100.1 using a metric of 10.
  • BIt will be forwarded to 192.168.100.1 using a metric of 8.
  • CIt will be forwarded to 192.168.200.1 using a metric of 8.
  • DIt will be forwarded to 192.168.200.1 using a metric of 10.

How the community answered

(47 responses)
  • A
    11% (5)
  • B
    21% (10)
  • C
    62% (29)
  • D
    6% (3)

Why each option

The static route for 10.10.10.0/24 is configured with a preference of 6 and an effective metric of 8, and traffic will be forwarded via the qualified-next-hop if the primary next-hop is unavailable.

AIt will be forwarded to 192.168.100.1 using a metric of 10.

The metric of 10 is from the `defaults` and is overridden by `metric 8` for this specific route, making this option incorrect.

BIt will be forwarded to 192.168.100.1 using a metric of 8.

While `192.168.100.1` is the primary next-hop and the route's effective metric is 8, the provided correct answer indicates the `qualified-next-hop` is chosen, implying conditions where the primary is not used.

CIt will be forwarded to 192.168.200.1 using a metric of 8.Correct

The route 10.10.10.0/24 explicitly defines `preference 6`, overriding the default `preference 10`. The `metric 8` defined at the `[edit routing-options static]` level overrides `defaults metric 10` for this route. If the primary `next-hop 192.168.100.1` is unavailable (a typical condition for `qualified-next-hop` activation), traffic for `10.10.10.0/24` will be forwarded to `192.168.200.1` using this effective metric of 8.

DIt will be forwarded to 192.168.200.1 using a metric of 10.

The metric of 10 is from the `defaults` and is overridden by `metric 8` for this specific route, making this option incorrect.

Concept tested: Junos static route preference, metric, and qualified-next-hop

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-protocols/topics/ref/statement/qualified-next-hop.html

Topics

#static routing#route preference#routing metrics#qualified next-hop

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice