peer route-update-interval (BGP view) (group)

Function

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.

Format

peer group-name route-update-interval interval

undo peer group-name route-update-interval

Parameters

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.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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, the device immediately sends a Withdraw message to its peers, regardless of the interval configured using the peer route-update-interval command.

For route addition, if the interval between the current route addition and the last route addition is greater than the interval configured using the peer route-update-interval command, the device immediately sends an Update message to notify the peer. If the interval between two route additions is shorter than the interval configured using the peer route-update-interval command, the device sends an Update message to notify the peer only after the configured interval expires.

Example

# Set the interval at which routing updates are sent to a peer group to 10s.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test
[*HUAWEI-bgp] peer test route-update-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >