R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
236
Configuring BGP route reception filtering policies
You can use the following methods to configure BGP route reception filtering policies:
• Use an ACL or prefix list to filter routing information received from all peers.
• Use a routing policy, ACL, AS path list, or prefix list to filter routing information received from a peer
or peer group.
If you configure multiple filtering policies, apply them in the following sequence:
1. filter-policy import
2. peer filter-policy import
3. peer as-path-acl import
4. peer prefix-list import
5. peer route-policy import
Only routes passing all the configured policies can be received.
To configure BGP route reception filtering policies (IPv4 unicast/multicast address family):
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP IPv4 unicast address
family view, BGP-VPN IPv4
unicast address family view, or
BGP IPv4 multicast address
family view.
• Enter BGP IPv4 unicast address
family view:
a. bgp as-number
b. address-family ipv4 [ unicast ]
• Enter BGP-VPN IPv4 unicast address
family view:
c. bgp as-number
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4 [ unicast ]
• Enter BGP IPv4 multicast address
family view:
f. bgp as-number
g. address-family ipv4 multicast
N/A