Renaming Firewall Term
up2thetime
Member Posts: 154
in Juniper
Hey everyone,
Just needed some help on renaming a firewall rule.
I have:
set firewall family inet filter DENY term 1 then accept.
However, I actually want this to be a DENY.
I tried:
rename firewall family inet filter DENY term 1 ?
However it doesn't let me do it. Is there a way to rename the accept to a discard without having to delete the entire line?
Thanks!
Just needed some help on renaming a firewall rule.
I have:
set firewall family inet filter DENY term 1 then accept.
However, I actually want this to be a DENY.
I tried:
rename firewall family inet filter DENY term 1 ?
However it doesn't let me do it. Is there a way to rename the accept to a discard without having to delete the entire line?
Thanks!
Comments
-
tomtom1 Member Posts: 375Just like this:
set firewall family inet filter DENY term 1 then deny
If you do a show | compare, you will see the accept action being removed and deny being added.