Filter-Policy Import (Bgp/Bgp-Vpn Instance 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

978
C
72: BGP C
HAPTER
Description
Examples

filter-policy import (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in
the range 1 to 65535.
static: Filters static routes.
If no routing protocol is specified, all outgoing routes are filtered.
Use the
filter-policy export
and only the routes permitted by the specified filter can be advertised.
Use the
undo filter-policy export
If no routing protocol is specified, the filtering applies to all outgoing redistributed
routes.
By default, the filtering is not configured.
# In BGP view, reference ACL 2000 to filter all outgoing redistributed routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 export
# In BGP-VPN instance view, reference ACL 2000 to filter all outgoing redistributed
routes (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2000 export
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
BGP view/BGP-VPN instance view
acl-number: Number of an ACL used to filter incoming routing information,
ranging from 2000 to 3999.
ip-prefix-name: Name of an IP prefix list used to filter incoming routing
information, a string of 1 to 19 characters.
Use the
filter-policy import
routing information.
Use the
undo filter-policy import
By default, incoming routing information is not filtered.
command to filter outgoing redistributed routes
command to remove the filtering.
command to configure the filtering of incoming
command to remove the filtering.

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