R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
513
if-match acl
Use if-match acl to configure an ACL match criterion.
Use undo if-match acl to remove the match criterion.
Syntax
if-match acl acl-number
undo if-match acl
Default
No ACL match criterion is configured.
Views
Routing policy view
Default command level
2: System level
Parameters
acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
Examples
# Configure node 10 of routing policy policy1 to permit routes matching ACL 2000.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
if-match ip
Use if-match ip to configure a next hop or source address match criterion for IPv4 routes.
Use undo if-match ip to remove the match criterion.
Syntax
if-match ip { next-hop | route-source } { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip { next-hop | route-source } [ acl | ip-prefix ]
Default
No match criterion is configured.
Views
Routing policy view
Default command level
2: System level
Parameters
next-hop: Matches the next hop of IPv4 routes.
route-source: Matches the source address of IPv4 route information.
acl acl-number: Matches an ACL with a number from 2000 to 2999.










