6-74
undo synchronization
View
BGP view
Default Level
2: System level
Parameters
None
Description
Use the
synchronization
command to enable the synchronization between the BGP and IGP routes.
Use the
undo synchronization
command to disable the synchronization.
The feature is disabled by default.
With this feature enabled and when a non-BGP router is responsible for forwarding packets in an AS,
BGP speakers in the AS cannot advertise routing information to other ASs unless all routers in the AS
know the latest routing information.
When a BGP router receives an IBGP route, it checks only whether the next hop is reachable by
default. If the synchronization is enabled, the IBGP route is synchronized and advertised to EBGP
peers only when the route is also advertised by IGP. Otherwise, the IBGP route cannot be advertised
to EBGP peers.
Examples
# Enable the synchronization between BGP and IGP routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] synchronization
timer (BGP/BGP-VPN instance view)
Syntax
timer
keepalive keepalive hold holdtime
undo timer
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
keepalive
: Keepalive interval in seconds, ranging from 0 to 21845.
holdtime
: Holdtime interval in seconds, whose value is 0 or in the range of 3 to 65535.
Description
Use the
timer
command to configure BGP keepalive interval and holdtime interval.
Use the
undo timer
command to restore the default.
By default, BGP keepalive and holdtime intervals are 60s and 180s.