HP VPN Firewall Appliances Network Management Command Reference

1081
Views
Routing policy view
Default command level
2: System level
Parameters
acl-number: ACL number from 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.
ip-prefix ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19 characters.
Examples
# Configure node 10 of routing policy policy1 to match IPv4 routing information whose next hop address
matches IP prefix list p1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ip next-hop ip-prefix p1
if-match ip-prefix
Use if-match ip-prefix to configure an IP prefix list-based match criterion.