207
Step Command Remarks
4. Create a summary route in
the IPv6 BGP routing table.
aggregate
ipv6-address
prefix-length [
as-set
|
attribute-policy
route-policy-name |
detail-suppressed
|
origin-policy
route-policy-name |
suppress-policy
route-policy-name ] *
By default, no summary route is
configured.
Advertising optimal routes in the IP routing table
By default, BGP advertises optimal routes in the BGP routing table, which may not be optimal in the
IP routing table. This task allows you to advertise BGP routes that are optimal in the IP routing table
to all BGP peers.
To enable BGP to advertise optimal routes in the IP routing table:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp
as-number
N/A
3. Enable BGP to advertise
optimal routes in the IP
routing table.
advertise-rib-active
By default, BGP advertises
optimal routes in the BGP routing
table.
Advertising a default route to a peer or peer group
Perform this task to advertise a default BGP route with the next hop being the advertising router to a
peer or peer group.
To advertise a default route to a peer or peer group (IPv4):
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. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
4. Advertise a default route to a
peer or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
default-route-advertise
[
route-policy
route-policy-name ]
By default, no default route is
advertised.
To advertise a default route to a peer or peer group (IPv6):