H3C S6550X-HI Series Command Reference Manual page 1995

Table of Contents

Advertisement

Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
ipv6-acl-number
redistributed routes by destination address.
prefix-list prefix-list-name
string of 1 to 63 characters, to filter redistributed routes by destination address.
: Filters redistributed IPv6 BGP routes.
bgp4+
: Filters redistributed direct routes.
direct
: Filters redistributed IPv6 IS-IS routes.
isisv6
: Filters redistributed OSPFv3 routes.
ospfv3
ripng
: Filters redistributed RIPng routes.
process-id
: Filters redistributed static routes.
static
Usage guidelines
When you specify an ACL, follow these guidelines:
If the ACL does not exist or has no rules, OSPFv3 does not filter any redistributed routes.
If a rule in the ACL is applied to a VPN instance, the rule will deny all redistributed routes.
To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in
one of the following ways:
To deny/permit a route with the specified destination, use
permit } ipv6 source sour sour-prefix
To deny/permit a route with the specified destination and prefix, use
{ deny | permit } ipv6 source sour sour-prefix destination dest
dest-prefix
The
source
specifies the prefix of the route. For the configuration to take effect, specify a contiguous prefix.
Using the
import-route
routes from other protocols and other OSPFv3 processes, the
command does not take effect.
If you do not specify a routing protocol, the command filters all redistributed routes.
Examples
# Use IPv6 prefix list abc to filter redistributed routes.
<Sysname> system-view
[Sysname] ipv6 prefix-list abc permit 2002:1:: 64
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy prefix-list abc export
# Configure IPv6 advanced ACL 3000 to permit only route 2001::1/128. Use ACL 3000 to filter
redistributed routes.
<Sysname> system-view
: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter
: Specifies a process by its ID in the range of 1 to 65535. The default value is 1.
.
keyword specifies the destination address of a route, and the
filter-policy export
command. If the
: Specifies an IPv6 prefix list by its name, a case-sensitive
.
command filters only routes redistributed by the
command is not configured to redistribute
import-route
61
rule [ rule-id ] { deny |
rule [ rule-id ]
destination
filter-policy export
keyword

Advertisement

Table of Contents
loading

Table of Contents