H3C S6550X-HI Series Command Reference Manual page 2091

Table of Contents

Advertisement

acl ipv4-acl-number
ipv4-acl-number
next-hop
acl name ipv4-acl-name
characters. The ACL name must start with a letter and cannot be all.
prefix-list prefix-list-name
string of 1 to 63 characters.
Usage guidelines
When you specify an IPv4 ACL, follow these guidelines:
If the specified ACL does not exist or has no rules, all IPv4 routes can match the ACL.
If a rule in the specified ACL is applied to a VPN instance, the rule does not take effect.
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
[Sysname-route-policy-policy1-10] if-match ip next-hop prefix-list p1
ip prefix-list
Use
ip prefix-list
Use
undo ip prefix-list
Syntax
ip prefix-list prefix-list-name [ index index-number ] { deny | permit }
ip-address mask-length [ greater-equal min-mask-length ] [ less-equal
max-mask-length ]
undo ip prefix-list prefix-list-name [ index index-number ]
Default
No IPv4 prefix lists exist.
Views
System view
Predefined user roles
network-admin
Parameters
prefix-list-name
characters.
index index-number
65535. An item with a smaller index number is matched first. If you do not specify this option, the
index number starts from 10 and increases by 10 for each of the consecutive prefix list items. This
option is required for target configuration. For more information about target configuration, see
Fundamentals Configuration Guide.
: Specifies the deny mode. If a route matches the item, the route is denied without being
deny
compared with the next item. If a route does not match the item, the route is compared with the next
item.
: Specifies an ACL by its number. The value range for the
argument is 2000 to 3999 for the
keyword and
route-source
: Specifies an ACL by its name, a case-insensitive string of 1 to 63
to configure an IPv4 prefix list or an item for the list.
to remove an IPv4 prefix list or an item of it.
: Specifies an IPv4 prefix list name, a case-sensitive string of 1 to 63
: Specifies an index number for an IPv4 prefix list item, in the range of 1 to
address
keyword.
: Specifies an IP prefix list by its name, a case-sensitive
39
keyword, and 2000 to 2999 for the

Advertisement

Table of Contents
loading

Table of Contents