R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)
188
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either method.
3. Advertise a default route to a
peer or peer group.
peer { group-name | ip-address }
default-route-advertise
[ route-policy route-policy-name ]
Not advertised by default.
Configuring BGP route distribution/reception filtering policies
Configuration prerequisites
You must configure the following filters as needed:
• ACL
• IP prefix list
• Routing policy
• AS-path ACL
For information about configuring an ACL, see ACL and QoS Configuration Guide.
For information about configuring an IP prefix list, routing policy, and AS-path ACL, see "Configuring
routing policies."
Configuring BGP route distribution filtering policies
You can use the following methods to configure BGP route distribution filtering policies:
• Use ACL or IP prefix list to filter routing information advertised to all peers.
• Use routing policy, ACL, AS-path ACL, or IP prefix list to filter routing information advertised to the
specified peer or peer group.
You can configure a filtering policy as needed. If several filtering policies are configured, they are
applied in the following sequence:
1. filter-policy export
2. peer filter-policy export
3. peer as-path-acl export
4. peer ip-prefix export
5. peer route-policy export
Only routes passing the first policy can go to the next, and only routes passing all the configured policies
can be advertised.
To configure BGP route distribution filtering policies:
Step Command Remarks
1. Enter system view.
system-view N/A










