The peer route-update-interval command sets the interval at which a device sends routing updates carrying the same prefix to a peer group.
The undo peer route-update-interval command restores the default setting.
By default, the interval at which routing updates are sent to IBGP peers is 15s, and the interval at which routing updates are sent to EBGP peers is 30s.
Parameter | Description | Value |
---|---|---|
group-name |
Specifies the name of a peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
interval |
Specifies the minimum interval at which routing updates are sent. |
The value is an integer ranging from 0 to 600, in seconds. The value 0 indicates that the device immediately sends BGP Update messages to notify its peers of route changes. |
Usage Scenario
When routes change, the device sends routing updates to notify its peers. If a route changes frequently, the peer route-update-interval command can be used to adjust the interval at which Update packets are sent for changes of this route. This frees the device from sending Update packets for every route change.
Implementation Procedure
If the peer route-update-interval command is used but no peer exists, a message is displayed, indicating that the peer does not exist.
Precautions
If a route is withdrawn, added or carries a changed label, the device immediately sends an Update message to its peers, regardless of the peer route-update-interval configuration.
<HUAWEI> system-view [~HUAWEI] bgp 100 instance p1 [~HUAWEI-bgp-instance-p1] group a internal [~HUAWEI-bgp-instance-p1] ipv4-family vpnv4 [~HUAWEI-bgp-instance-p1-af-vpnv4] peer a enable [~HUAWEI-bgp-instance-p1-af-vpnv4] peer a route-update-interval 20