Step
2.
Enter BGP view or BGP-VPN
instance view.
3.
Configure BGP route
distribution filtering policies.
Configuring BGP route reception filtering policies
You can use the following methods to configure BGP route reception filtering policies:
•
Use ACL or IP prefix list to filter routing information received by all peers.
Use routing policy, ACL, AS-path ACL, or IP prefix list to filter routing information received by the
•
specified peer or peer group.
If several filtering policies are configured, they are applied in the following sequence:
1.
filter-policy import
2.
peer filter-policy import
3.
peer as-path-acl import
Command
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ipv4-family vpn-instance
vpn-instance-name
•
Configure the filtering of
redistributed routes advertised to all
peers:
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip
process-id | | static ]
•
Reference a routing policy to filter
advertisements to a peer or peer
group:
peer { group-name | ip-address }
route-policy route-policy-name
export
•
Reference an ACL to filter
advertisements to a peer or peer
group:
peer { group-name | ip-address }
filter-policy acl-number export
•
Reference an AS path ACL to filter
routing information sent to a peer or
peer group:
peer { group-name | ip-address }
as-path-acl as-path-acl-number
export
•
Reference an IP prefix list to filter
routing information sent to a peer or
peer group:
peer { group-name | ip-address }
ip-prefix ip-prefix-name export
189
Remarks
Use either method.
Use at least one method.
Not configured by default.
Need help?
Do you have a question about the MSR Series and is the answer not in the manual?