JN0-102 · Question #258
What are two valid actions for a routing policy? (Choose two.)
The correct answer is B. next policy C. accept. Routing policies employ actions like "accept" to allow a route, or "next policy" to pass evaluation to the next policy in the chain.
Question
What are two valid actions for a routing policy? (Choose two.)
Options
- Adiscard
- Bnext policy
- Caccept
- Dignore
How the community answered
(39 responses)- A3% (1)
- B92% (36)
- D5% (2)
Why each option
Routing policies employ actions like "accept" to allow a route, or "next policy" to pass evaluation to the next policy in the chain.
"Discard" is an action typically associated with firewall filters or forwarding policies (e.g., `discard` or `reject` in a firewall rule to drop traffic), not a standard action within a routing policy for route advertisement or installation. Routing policies usually use "reject" or "deny" for routes they don't want to accept or export.
The "next policy" action is used to indicate that if a route matches the current policy term, the system should continue evaluating the route against the next policy in the chain. This allows for modular policy design and complex rule sets where multiple policies might apply.
The "accept" action explicitly permits a route to be processed further, for example, to be installed into the routing table or advertised to a routing protocol peer. This is a terminal action for a policy term unless explicitly combined with other actions.
"Ignore" is not a standard action in routing policies. Policies typically use "reject," "deny," or implicitly fall through without an explicit accept/reject if no match occurs, rather than "ignore."
Concept tested: Routing Policy Actions
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/concept/policy-routing-actions.html
Topics
Community Discussion
No community discussion yet for this question.