-- Exhibit --
[edit policy-options policy-statement my-policy]
user@router# show
term reject {
then reject;
}
term match {
from {
protocolbgp;
route-filter 10.10.10.0/24 exact;
}
}
-- Exhibit --
Referring to the exhibit, you must move the match term above the reject term.
Which command would accomplish this task?
Click on the arrows to vote for the correct answer
A. B. C. D.D
The exhibit shows a policy statement named "my-policy" configured under the "policy-options" hierarchy. The policy statement has two terms: "match" and "reject". The "match" term is used to match BGP routes that belong to the 10.10.10.0/24 network and the "reject" term is used to reject any routes that do not match the "match" term.
The question asks to move the "match" term above the "reject" term. This means that any route that matches the "match" term should be evaluated before the "reject" term. To accomplish this task, we need to insert the "match" term before the "reject" term.
Option A is incorrect because it attempts to configure a new term instead of moving an existing term.
Option B is incorrect because the "up" command is not valid in this context. Additionally, it suggests copying the "match" term to a new term named "before-reject", which is not necessary to achieve the desired result.
Option C is incorrect because the "activate" command is not valid in this context. Additionally, it suggests activating the "match" term, which is not necessary to achieve the desired result.
Option D is the correct answer because it inserts the "match" term before the "reject" term, which moves the "match" term above the "reject" term. The correct command to accomplish this task is:
sqluser@router# edit policy-options policy-statement my-policy user@router# insert term match before term reject user@router# show
After executing the above commands, the policy statement will have the "match" term before the "reject" term:
sql[edit policy-options policy-statement my-policy] user@router# show term match { from { protocol bgp; route-filter 10.10.10.0/24 exact; } } term reject { then reject; }