You are asked to create a BGP routing policy that will delete all communities and reject routes with
the community 64321:1234.
Which policy will accomplish this task?
A.
user@router# show policy-options
policy-statement filter-on-community {
term remove-AS65001 {
from community AS65001-community;
then {
community delete AS65001-community;
}
term nothing-with-1234 {
from community AS64321-community;
then reject;
}
community AS64321-community members 64321:1234;
community AS65001-community members 65001:1001;
B.
user@router# show policy-options
policy-statement filter-on-community {
term remove-all-communities {
then {
community delete all-communities;
}
term nothing-with-1234 {
from community AS64321-community;
then reject;
}
community AS64321-community members 64321:1234;
community all-communities members *:*;
C.
user@router#show policy-options
policy-statement filter-on-community {
term nothing-with-1234 {
from community AS64321-community;
then reject;
}
term remove-all-communities {
then {
community delete all-communities;
}
community all-communities members *:*;
community AS64321-community members 64321:1234;
D.
user@router#show policy-options
policy-statement filter-on-community {
term nothing-with-1234 {
from community AS64321-community;
then reject;
}
term remove-AS65001 {
from community AS65001-community;
then {
community delete AS65001-community;
}
community AS64321-community members 64321:1234;
community AS65001-community members 65001:1001;