H3C S7500E Series Command Manual page 573

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
bgp4+: Specifies to filter BGP4+ routes.
direct: Specifies to filter direct routes.
static: Specifies to filter static routes.
Description
Use the filter-policy export command to filter redistributed routes.
Use the undo filter-policy export command to remove the configuration.
If no protocol is specified, all redistributed routes will be filtered.
By default, IPv6 OSPFv3 does not filter redistributed routes.
Note:
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.
Examples
# Filter all redistributed routes using IPv6 ACL 2001.
<Sysname> system-view
[Sysname] acl ipv6 number 2001
[Sysname-acl6-basic-2001] rule permit source 2002:1:: 64
[Sysname-acl6-basic-2001] quit
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy 2001 export
3.1.19 filter-policy import
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
View
OSPFv3 view
Parameters
acl6-number: Specifies an ACL number, ranging from 2000 to 3999.
Chapter 3 IPv6 OSPFv3 Configuration Commands
3-25

Advertisement

Table of Contents
loading

Table of Contents