3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1215
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ipv6 next-hop prefix-list p1
ip ipv6-prefix
Syntax ip ipv6-prefix ipv6-prefix-name [ index index-number ] { deny | permit }
ipv6-address prefix-length [ greater-equal min-prefix-length ] [ less-equal
max-prefix-length ]
undo ip ipv6-prefix ipv6-prefix-name [ index index-number ]
View System view
Parameters ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters, for uniquely
specifying an IPv6 prefix list.
index-number: Index number, in the range 1 to 65535, for uniquely specifying an
IPv6 prefix list item. The item with a smaller index-number will be tested first.
permit: Specifies the matching mode for the IPv6 prefix list as permit, that is, if a
route matches the IPv6 prefix list, it passes the IPv6 prefix list without needing to
enter the next item for test. If not, it will enter the next item test.
deny: Specifies the matching mode for the IPv6 prefix list as deny, that is, if a
route matches the IPv6 prefix list, the route neither passes the filter nor enters the
next node for test. If not, the route will enter the next item test.
ipv6-address prefix-length: Specifies an IPv6 prefix and prefix length, with
prefix-length being in the range 0 to 128. When specified as :: 0, it matches the
default route.
greater-equal min-prefix-length: Greater than or equal to the minimum prefix
length.
less-equal max-prefix-length: Less than or equal to the maximum prefix length.
The length relation is mask-length <= min-mask-length <= max-mask-length <=
32. If only min-prefix-length is specified, the prefix length range is
[ min-prefix-length, 128 ]. If only max-prefix-length is specified, the prefix length
range is [ prefix-length, max-prefix-length ]. If both min-prefix-length and
max-prefix-length are specified, the prefix length range is [ min-prefix-length,
max-prefix-length ].
Description Use the
ip ipv6-prefix command to configure an IPv6 prefix list item.
Use the
undo ip ipv6-prefix command to remove an IPv6 prefix list or an item.
No IPv6 prefix list is configured by default.