BGP commands
advertise-rib-active
Use advertise-rib-active to enable BGP to advertise optimal routes in the IP routing table.
Use undo advertise-rib-active to restore the default.
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.
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 instance view/BGP-VPN IPv4 unicast instance 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 ] *
195