Syntax
advertise-rib-active
undo advertise-rib-active
Default
BGP advertises optimal routes in the BGP routing table, regardless of whether they are optimal in the IP
routing table.
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
The advertise-rib-active command does not apply to the following routes:
Routes redistributed by the import-route command
•
Routes advertised by the network command
•
Default routes redistributed by the default-route imported command
•
•
VPNv4 routes
VPNv6 routes
•
This command takes effect for only the routes generated after you execute this command. To make this
command take effect for the routes generated before you execute this command, use the reset bgp
command to reset BGP sessions.
Examples
# Enable BGP to advertise optimal routes in the IP routing table.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] advertise-rib-active
aggregate
Use aggregate to create a summary route in the BGP routing table.
Use undo aggregate to remove a summary route.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view:
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 ] *
undo aggregate ip-address { mask | mask-length }
In BGP IPv6 unicast address family view:
aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed |
origin-policy route-policy-name | suppress-policy route-policy-name ] *
undo aggregate ipv6-address prefix-length
264