Leave a Reply 0

Your email address will not be published. Required fields are marked *


Wayne King

Wayne King

Not true. Terms are optional in routing policies. The are mandatory in Firewall Filters.

Victor Lopez

Victor Lopez

So, answer is D

Brown Leaf

Brown Leaf

The question make no sense to me 🙁

I did the following:

root@JuniperOlive1# edit policy-options policy-statement TEST-POLICY

and

root@JuniperOlive1# edit firewall filter TEST-FIREWALL

both without any term.

Then:

root@JuniperOlive1# commit
commit complete

and at show | compare I get:

root@JuniperOlive1# commit
commit complete

[edit policy-options]
‘policy-statement TEST’
warning: statement has no contents; ignored

[edit firewall]
‘filter TEST-FIREWALL’
warning: statement has no contents; ignored

So, you I could configure both, commit, but both are ignored as they don’t have a term in. They are not usable at all as I see and don’t even appear in the configuration.

Yes, the terms are optional, but then you don’t get a functional policy…

My 2 cents

uttam

uttam

B.
Every policy must contain at least one term

Amr Marey

Amr Marey

Policy term is mandatory , my answer would be B

traffikator

traffikator

https://learningportal.juniper.net/juniper/user_fasttrack_home.aspx
JNCIA-Junos_SG_part2_09-16-2010 page 28 Building blocks of routing policy. A routing policy consists of ZERO or more terms. I don’t have the time to go into more details about it but there is more to it. Yes you can create a routing policy without terms. I wonder would happen if you later added terms to that same policy and tried to commit? I wonder if it would actually commit? Don’t know.
D is correct.

Siva

Siva

policy-options {
policy-statement {
from {
match-conditions;
}
then {
actions;
}
}
}

The above policy is without any TERM statement.Answer is D.

Kiki

Kiki

Configuring a Policy Term (Required)

Each routing policy term is identified by a term name. The name can contain letters, numbers, and hyphens (-) and can be up to 255 characters long. To include spaces in the name, enclose the entire name in double quotation marks.