Справочное Руководство для 3com S7906E

Скачать
Страница из 2327
 
1-7 
filter-policy export 
Syntax 
filter-policy acl6-number | ipv6-prefix ipv6-prefix-name } export protocol [ process-id ] ] 
undo filter-policy export [ protocol [ process-id ] ] 
View 
RIPng view 
Default Level 
2: System level 
Parameters 
acl6-number: Specifies the number of an ACL to filter advertised routing information, in the range of 
2000 to 3999. 
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to filter routing information, 
a string of 1 to 19 characters. 
protocol: Filters routes redistributed from a routing protocol, currently including bgp4+directisisv6
ospfv3ripng, and static. 
process-id: Process number of the specified routing protocol, in the range of 1 to 65535. This argument 
is available only when the routing protocol is ripospf, or isis
Description 
Use the filter-policy export command to define an outbound route filtering policy. Only routes passing 
the filter can be advertised in the update messages. 
Use the undo filter-policy export command to restore the default. 
By default, RIPng does not filter any outbound routing information. 
With the protocol argument specified, only routing information redistributed from the specified routing 
protocol will be filtered. Otherwise, all outgoing routing information will be filtered. 
Examples 
# Use IPv6 prefix list Filter 2 to filter advertised RIPng updates. 
<Sysname> system-view 
[Sysname] ripng 100 
[Sysname-ripng-100] filter-policy ipv6-prefix Filter2 export 
filter-policy import (RIPng view) 
Syntax 
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import 
undo filter-policy import 
View 
RIPng view