F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

264
Ste
p
Command
Remarks
2. Enter BGP view. bgp as-number N/A
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
1. Configuration prerequisites
You must configure the following filters as needed:
ACL
IP prefix list
Routing policy
AS-path ACL
For how to configure an ACL, see Security Configuration Guide.
For how to configure an IP prefix list, routing policy, and AS-path ACL, see "Configuring routing
policies."
2. 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:
filter-policy export
peer filter-policy export
peer as-path-acl export
peer ip-prefix export
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:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A