Filter-Policy Import(Ospfv3 View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1296
C
84: IP
6 OSPF
HAPTER
V
Examples

filter-policy import(OSPFv3 view)

Syntax
View
Parameters
Description
Examples
3 C
C
V
ONFIGURATION
OMMANDS
Use the
undo filter-policy export
If no protocol is specified, all redistributed routes will be filtered.
By default, IPv6 OSPFv3 does not filter redistributed routes.
n
Using the filter-policy export command filters only routes redistributed by the
import-route command. If the import-route command is not configured to
redistribute routes from other protocols and other OSPFv3 processes, use of the
filter-policy export command does not take effect.
# Filter all redistributed routes using IPv6 ACL 2001.
<Sysname> system-view
[Sysname] acl ipv6 number 2001
[Sysname-acl6-basic-2000] rule permit source 2002:1:: 64
[Sysname-acl6-basic-2000] quit
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy 2001 export
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
OSPFv3 view
acl6-number: Specifies an ACL number, ranging from 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of
up to 19 characters.
Use the
filter-policy import
Use the
undo filter-policy import
No received routes are filtered by default.
n
Using the filter-policy import command only filters routes computed by OSPFv3.
The routes that fail to pass are not added to the routing table.
# Filter received routes using the IPv6 prefix list abc.
<Sysname> system-view
[Sysname] ip ipv6-prefix abc permit 2002:1:: 64
[Sysname] ospfv3 1
[Sysname-ospfv3-1] filter-policy ipv6-prefix abc import
command to remove the configuration.
command to filter received routes.
command to remove the configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents