Example: Configuring AACL Rules
The following example shows an AACL configuration containing a rule with three terms using a variety of match conditions and actions:
[edit services aacl] rule aacl-test { match-direction input; term term1 { from { source-address 10.0.1.1 application test1; } then { accept; } } term term2 { from { source-address { any-unicast; } application test1; } then { discard; } } term term3 { from { source-address { any-unicast; } application test1 test2; } then { accept; count application; } } }