384 CHAPTER 30: BGP CONFIGURATION
Advertising a Default
Route to a Peer or Peer
Group
Follow these steps to advertise a default route to a peer or peer group:
n
With the peer default-route-advertise command executed, the router sends a
default route with the next hop being itself to the specified peer/peer group,
regardless of whether the default route is available in the routing table.
Configuring BGP Route
Distribution Filtering
Policies
Follow these steps to configure BGP route distribution filtering policies:
To do… Use the command… Remarks
Enter system view system-view -
Enter BGP view bgp as-number -
Configure BGP
route
summarization
Configure automatic
route summarization
summary automatic Required
No route summarization
is configured by default.
Choose either as
needed; if both are
configured, the manual
route summarization
takes effect.
Configure manual
route summarization
aggregate ip-address
{ mask | mask-length }
[ as-set |
attribute-policy
route-policy-name |
detail-suppressed |
origin-policy
route-policy-name |
suppress-policy
route-policy-name ]*
To do… Use the command… Remarks
Enter system view system-view -
Enter BGP view bgp as-number -
Advertise a default route to a
peer or peer group
peer { group-name |
ip-address }
default-route-advertise
[ route-policy
route-policy-name ]
Required
Not advertised by default
To do… Use the command… Remarks
Enter system view system-view -
Enter BGP view bgp as-number -