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.
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)- A16% (5)
- B6% (2)
- C3% (1)
- D75% (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.
This command configures a basic static route, but it does not include any option to prevent redistribution into dynamic routing protocols.
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.
`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`.
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
Community Discussion
No community discussion yet for this question.