Routing Policy Actions | JN0-102 Exam | Juniper Networks Certification

Valid Actions for Routing Policies

Prev Question Next Question

Question

What are two valid actions for a routing policy? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BC

Routing policies are used in Junos OS to control the flow of traffic in a network. They are used to filter, modify, or route traffic based on certain criteria, such as the source or destination address of the traffic, the protocol used, or the interface the traffic is received on. Routing policies are composed of one or more terms, each of which contains a set of match conditions and an associated action.

The action taken by a routing policy determines what happens to the traffic that matches the conditions specified in the policy term. The following are two valid actions for a routing policy:

  1. Discard: When a routing policy term has the discard action, it means that any traffic that matches the conditions of that term will be dropped and discarded, as if it never existed. This action is useful for blocking unwanted traffic, such as traffic from known malicious sources or traffic that does not meet certain security criteria.

  2. Accept: When a routing policy term has the accept action, it means that any traffic that matches the conditions of that term will be allowed to pass through the router and be forwarded to its destination. This is the default action for routing policy terms, and it is often used to permit traffic that meets certain criteria, such as traffic from trusted sources or traffic that has been properly authenticated.

Note that the other two options provided in the question, "next policy" and "ignore", are not valid actions for a routing policy in Junos OS.

  • Next policy is not an action, but a statement that allows a routing policy to continue processing by evaluating the next term in the policy if the current term does not match the traffic.
  • Ignore is not an action but a statement that instructs the router to skip the remaining terms in the routing policy and not take any action on the traffic that matches the current term.