HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

417
if-match acl
Use if-match acl to configure an ACL match criterion.
Use undo if-match acl to remove the ACL match criterion.
Syntax
if-match acl { acl-number | name acl-name }
undo if-match acl
Default
No ACL match criterion is configured.
Views
Policy node view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an ACL by its number in the range of 2000 to 2999 for a basic ACL and in the
range of 3000 to 3999 for an advanced ACL.
name acl-name: Specifies an ACL by its name, a case-insensitive string of 1 to 63 characters starting with
letter a to z or A to Z. The ACL name cannot be all.
Examples
# Configure Node 11 of policy aa to permit the packets matching ACL 2011.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] if-match acl 2011
# Configure Node 11 of policy aa to permit the packets matching ACL aaa.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] if-match acl name aaa
if-match packet-length
Use if-match packet-length to define a packet length match criterion.
Use undo if-match packet-length to remove the match criterion.
Syntax
if-match packet-length min-len max-len
undo if-match packet-length
Default
No packet length match criterion is defined.
Views
Policy node view