R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
635
Field Description
index Index of an item.
deny
Match mode of the item:
• permit.
• deny.
6.6.6.0/24 IP address and mask.
ge Greater-equal, the lower mask length.
le Less-equal, the upper mask length.
Related commands
• ip prefix-list
• reset ip prefix-list
if-match ip
Use if-match ip to match IPv4 routes whose destination, next hop, or source address matches an ACL or
IPv4 prefix list.
Use undo if-match ip to remove the configuration.
Syntax
if-match ip { address | next-hop | route-source } { acl acl-number | prefix-list prefix-list-name }
undo if-match ip { address | next-hop | route-source } [ acl | prefix-list ]
Default
No ACL or IPv4 prefix list match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
address: Matches the destination address of IPv4 routes.
next-hop: Matches the next hop of IPv4 routes.
route-source: Matches the source address of IPv4 routes.
acl acl-number: Specifies an ACL by its number in the range of 2000 to 3999 for address, and in the
range of 2000 to 2999 for next-hop and route-source.
prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
characters.
Examples
# Configure node 10 of routing policy policy1 to match IPv4 routes whose next hop matches IP prefix list
p1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10