Peer Filter-Policy Import - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – MPLS
Quidway S8500 Series Routing Switches
Example
# Configure the test peer group to filter the advertised route with ACL 3000.
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer test filter-policy 3000 export

2.1.39 peer filter-policy import

Syntax
peer { group-name | peer-address } filter-policy acl-number import
undo peer { group-name | peer-address } filter-policy acl-number import
View
VPNv4 subaddress family view, VPN-instance subaddress family view
Parameter
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
peer-address: Peer IP address, in dotted decimal format.
acl-number: IP ACL number from 2000 to 3999, that is, you can use basic or advanced
ACL.
import: Performs the filtering policy on the received routes.
Description
Use the peer filter-policy import command to apply the ACL-based filtering policy to
the received routing information for peers.
Use the undo peer filter-policy import command to cancel the application.
By default, there is no ACL-based filtering policy.
Related command: ip as-path-acl and peer as-path-acl.
The incoming filtering policy configured for peers take precedence over the
configuration for peer groups.
Example
# Configure the test peer group to filter the received route with ACL 3000.
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer test filter-policy 3000 import
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-34

Advertisement

Table of Contents
loading

Table of Contents