1012
C
72: BGP C
HAPTER
synchronization (BGP view)
Syntax
View
Parameters
Description
Examples
timer (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] summary automatic
synchronization
undo synchronization
BGP view
None
Use the
synchronization
BGP and IGP routes.
Use the
undo 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.
# Enable the synchronization between BGP and IGP routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] synchronization
timer keepalive keepalive hold holdtime
undo timer
BGP view/BGP-VPN instance view
keepalive: Keepalive interval in seconds, ranging from 1 to 21845.
holdtime: Holdtime interval in seconds, ranging from 3 to 65535.
Use the
timer
command to configure BGP keepalive interval and holdtime
interval.
command to enable the synchronization between the
command to disable the synchronization.