Filter-Policy Import (Bgp-Vpnv4 Subaddress Family View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1694
C
98: MPLS L3VPN C
HAPTER
Description
Example

filter-policy import (BGP-VPNv4 subaddress family view)

Syntax
View
Parameter
Description
Example
C
ONFIGURATION
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.
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.
static: Filters static routes to be advertised.
Use the
filter-policy export
routes to be advertised.
Use the
undo filter-policy export
If you specify no routing protocol parameters for the filter-policy export
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.
# In BGP-VPNv4 subaddress family view, specify to filter routes to be advertised by
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 { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
BGP-VPNv4 subaddress family view
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.
Use the
filter-policy import
Use the
undo filter-policy import
By default, received routes are not filtered.
Only routes that survive the filtering are added into the BGP routing table.
# In BGP-VPNv4 subaddress family view, specify to use ACL 2255 to filter received
routes.
command to specify to filter all or certain types of
command to remove the configuration.
command to specify to filter received routes.
command to remove the configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents