JN0-102 · Question #323
Which statement is true about terms in a policy?
The correct answer is D. A from statement is optional in a term. In Junos OS routing policies, a from statement, which specifies match conditions, is an optional component within a term. If a from statement is omitted, the term's action applies to all routes.
Question
Which statement is true about terms in a policy?
Options
- AA single term can be applied to a protocol or interface, independent of the policy.
- BOnce configured, terms within a policy cannot be reordered.
- CThe name of a term is limited to five characters.
- DA from statement is optional in a term.
How the community answered
(55 responses)- A4% (2)
- B2% (1)
- C7% (4)
- D87% (48)
Why each option
In Junos OS routing policies, a `from` statement, which specifies match conditions, is an optional component within a term. If a `from` statement is omitted, the term's action applies to all routes.
Individual terms cannot be applied independently to protocols or interfaces; instead, the entire policy containing the terms is applied.
Terms within a Junos OS policy can be reordered using configuration commands like `insert` to change their evaluation sequence.
The name of a term in Junos OS is not limited to five characters and can be a longer descriptive string.
The `from` statement, which defines the match conditions for a term, is optional; if omitted, the term matches all routes, and the `then` actions are applied to every route.
Concept tested: Junos routing policy term structure
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/topic-map/policy-match-conditions.html
Topics
Community Discussion
No community discussion yet for this question.