3com MSR 20-20 참조 매뉴얼
1694
C
HAPTER
98: MPLS L3VPN C
ONFIGURATION
C
OMMANDS
ospf process-id: Filters OSPF routes to be advertised that are from a specified OSPF
process. The process-id argument is in the range 1 to 65535.
process. The process-id argument is in the range 1 to 65535.
rip process-id: Filters RIP routes to be advertised that are from a specified RIP
process. The process-id argument is in the range 1 to 65535.
process. The process-id argument is in the range 1 to 65535.
static: Filters static routes to be advertised.
Description
Use the filter-policy export command to specify to filter all or certain types of
routes to be advertised.
routes to be advertised.
Use the undo filter-policy export command to remove the configuration.
If you specify no routing protocol parameters for the filter-policy export
command, all routes to be advertised will be filtered.
command, all routes to be advertised will be filtered.
By default, MP-BGP does not filter routes to be advertised.
Only routes that survive the filtering are advertised by MP-BGP.
Example
# In BGP-VPNv4 subaddress family view, specify to filter routes to be advertised by
MP-BGP using ACL 2555.
MP-BGP using ACL 2555.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2555 export
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
Parameter
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.
Example
# In BGP-VPNv4 subaddress family view, specify to use ACL 2255 to filter received
routes.
routes.