
C613-50186-01 Rev B
Command Reference for AR2050V
1110
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
AUTO
-
SUMMARY
(BGP
ONLY
)
auto-summary (BGP only)
Overview
Use this command to enable sending summarized routes by a BGP speaker to its
peers in the Router Configuration mode or in the Address-Family Configuration
mode. BGP uses auto-summary to advertise summarized routes.
Use the
no
variant of this command to disable BGP auto-summary.
Syntax
auto-summary
no auto-summary
Default
The auto-summary function is disabled by default.
Mode
Router Configuration and Address Family IPv4 mode
Usage
If certain routes have already been advertised, enabling auto-summary results in
non- summarized routes being withdrawn and only summarized routes are
advertised. Summarized routes are advertised before non-summarized routes are
withdrawn from all connected peers.
If certain routes have already been advertised, disabling auto-summary results in
summarized routes being withdrawn and only non-summarized routes are
advertised. Non-summarized routes are advertised before summarized routes are
withdrawn from all connected peers.
Examples
The following example enables auto-summary in Router Configuration mode:
awplus#
configure
awplus(config)#
router bgp 100
awplus(config-router)#
auto-summary
The following example disables auto-summary in Router Configuration mode:
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
no auto-summary
The following example enables auto-summary in Address Family IPv4 mode:
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
address-family ipv4
awplus(config-router-af)#
auto-summary
The following example disables auto-summary in Address Family IPv4 mode:
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
address-family ipv4
awplus(config-router-af)#
no auto-summary