3com S7906E Guide De Référence

Page de 2327
 
1-24 
 
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 
filter-policy import (OSPFv3 view) 
Syntax 
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name import 
undo filter-policy import 
View 
OSPFv3 view 
Default Level 
2: System level 
Parameters 
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.  
Description 
Use the filter-policy import command to configure OSPFv3 to filter routes computed from received 
LSAs. 
Use the undo filter-policy import command to remove the configuration. 
By default, OSPFv3 does not filter routes computed from received LSAs. 
 
 
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.