HP VPN Firewall Appliances Network Management Command Reference
1082
Use undo if-match ip-prefix to remove the match criterion.
Syntax
if-match ip-prefix ip-prefix-name
undo if-match ip-prefix
Default
No IP prefix list based match criterion is configured.
Views
Routing policy view
Default command level
2: System level
Parameters
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 policy2 to permit routes whose destination address matches IP
prefix list p1.
<Sysname> system-view
[Sysname] route-policy policy2 permit node 10
[Sysname-route-policy] if-match ip-prefix p1
ip ip-prefix
Use ip ip-prefix to configure an IPv4 prefix list or an item for the list.
Use undo ip ip-prefix to remove an IPv4 prefix list or an item of it.
Syntax
ip ip-prefix ip-prefix-name [ index index-number ] { deny | permit } ip-address mask-length
[ greater-equal min-mask-length ] [ less-equal max-mask-length ]
undo ip ip-prefix ip-prefix-name [ index index-number ]
Default
No IPv4 prefix list is configured.
Views
System view
Default command level
2: System level
Parameters
ip-prefix-name: Specifies a name for the IPv4 prefix list, a string of 1 to 19 characters.
index-number: Specifies a number for the item, in the range of 1 to 65535, for uniquely specifying an
item of the IPv4 prefix list. An index with a smaller number is matched first.