6-73
Only when the interface with the selected Router ID or the manual Router ID is deleted will the system
select another ID for the router.
Examples
# Specifies the Router ID as 10.18.4.221.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] router-id 10.18.4.221
summary automatic
Syntax
summary automatic
undo summary automatic
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
None
Description
Use the
summary automatic
command to enable automatic summarization for redistributed subnets.
Use the
undo summary automatic
command to disable automatic summarization.
By default, automatic summarization is disabled.
Note that:
z
Neither the default route nor the routes imported using the
network
command can be
summarized automatically.
z
The
summary automatic
command helps BGP limit the number of routes redistributed from IGP
to reduce the size of the routing table.
Examples
# In BGP view, enable automatic route summarization.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] summary automatic
# In BGP-VPN instance view, enable automatic summarization (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] summary automatic
synchronization (BGP view)
Syntax
synchronization