Field
Permitted
Denied
index
permit
1.0.0.0/11
ge
le
if-match acl
Syntax
if-match acl acl-number
undo if-match acl
View
Routing policy view
Default level
2: System level
Parameters
acl-number: ACL number from 2000 to 3999.
Description
Use if-match acl to configure an ACL match criterion.
Use undo if-match acl to remove the match criterion.
No ACL match criterion is configured by default.
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
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 ]
View
Routing policy view
Default level
2: System level
Description
Number of routes satisfying the match criterion
Number of routes not satisfying the match criterion
Index of the IPv4 prefix list
Match mode: permit or deny
IP address and mask
greater-equal, the lower limit
less-equal, the higher limit
355