Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 5 BGP Configuration
5-24
Follow these steps to configure BGP route summarization:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure
automatic route
summarization
summary automatic
Configure
BGP route
summariz
ation
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
]*
Required
No route
summarization
is configured by
default.
Choose either
as needed; if
both are
configured, the
manual route
summarization
takes effect.
5.4.4 Advertising a Default Route to a Peer or Peer Group
Follow these steps to advertise a default route to a peer or peer group:
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
Note:
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.
5.4.5 Configuring BGP Route Distribution Filtering Policies
Follow these steps to configure BGP route distribution filtering policies: