3com S7906E Guide De Référence

Page de 2327
 
1-31 
filter-policy import (BGP-VPNv4 subaddress family view) 
Syntax 
filter-policy acl-number | ip-prefix ip-prefix-name } import 
undo filter-policy import 
View 
BGP-VPNv4 subaddress family view 
Default Level 
2: System level 
Parameters 
acl-number: IP ACL number, in the range 2000 to 3999. 
ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters. 
Description 
Use the filter-policy import command to specify to filter received routes. 
Use the undo filter-policy import command to remove the configuration. 
By default, received routes are not filtered. 
Only routes that survive the filtering are added into the BGP routing table. 
Examples 
# In BGP-VPNv4 subaddress family view, specify to use ACL 2255 to filter received routes. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpnv4 
[Sysname-bgp-af-vpnv4] filter-policy 2255 import 
import route-policy 
Syntax 
import route-policy route-policy 
undo import route-policy 
View 
VPN instance view 
Default Level 
2: System level 
Parameters 
route-policy: Name of the import routing policy for the VPN instance, a string of 1 to 19 characters. 
Description 
Use the import route-policy command to apply an import routing policy to a VPN instance.