1-5
To do…
Use the command…
Remarks
Enable automatic
route
summarization
summary automatic
Configure
MBGP route
summarization
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.
Advertising a Default Route to an IPv4 MBGP Peer or Peer Group
Follow these steps to advertise a default route to an MBGP peer or peer group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv4 MBGP address
family view
ipv4-family multicast
—
Advertise a default route to an
MBGP peer or peer group
peer
{
group-name
|
ip-address
}
default-route-advertise
[
route-policy route-policy-name
]
Required
Not advertised by default
With the
peer
default-route-advertise
command executed, the router sends a default route with the
next hop being itself to the specified MBGP peer or peer group, regardless of whether the default route
is available in the routing table.
Configuring Outbound MBGP Route Filtering
If several filtering policies are configured, they are applied in the following sequence:
z
filter-policy export
z
peer filter-policy export
z
peer as-path-acl export
z
peer ip-prefix export
z
peer route-policy export
Only the routes that have passed all the configured policies can be advertised.