nerdexam
Juniper

JN0-102 · Question #379

The marketing team needs access to a server on subnet 172.0.46.0/24. The next-hop router is 10.0.4.2/30. A static route on their gateway has been configured to accomplish the task. You want to keep…

The correct answer is D. set routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no readvertise. To prevent a static route from being advertised into dynamic routing protocols on a Junos device, the no-readvertise option is used during its configuration. This ensures the route remains local to the device where it is configured.

Routing Policy and Firewall Filters

Question

The marketing team needs access to a server on subnet 172.0.46.0/24. The next-hop router is 10.0.4.2/30. A static route on their gateway has been configured to accomplish the task. You want to keep the static route from being redistributed into dynamic routing protocols. Which command will satisfy this requirement?

Options

  • Aset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30
  • Bset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no-resolve
  • Cset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no-redistribute
  • Dset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no readvertise

How the community answered

(32 responses)
  • A
    16% (5)
  • B
    6% (2)
  • C
    3% (1)
  • D
    75% (24)

Why each option

To prevent a static route from being advertised into dynamic routing protocols on a Junos device, the `no-readvertise` option is used during its configuration. This ensures the route remains local to the device where it is configured.

Aset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30

This command configures a basic static route, but it does not include any option to prevent redistribution into dynamic routing protocols.

Bset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no-resolve

The `no-resolve` option prevents the Junos OS from attempting to resolve the next-hop address for the static route, which is not related to preventing redistribution.

Cset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no-redistribute

`no-redistribute` is not a valid or standard option for static route configuration in Junos OS to prevent its advertisement into dynamic routing protocols; the correct option is `no-readvertise`.

Dset routing-options static route 172.0.46.0/24 next-hop 10.0.4.2/30 no readvertiseCorrect

The `no-readvertise` option for a static route explicitly prevents that route from being advertised or redistributed into dynamic routing protocols running on the Junos device. This maintains the static route's presence only in the local routing table without sharing it with other routers.

Concept tested: Junos static route redistribution control

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-options/topics/ref/statement/route-edit-routing-options-static.html

Topics

#static routes#route redistribution#Junos configuration#routing policy

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice