< Home

peer route-update-interval (BGP)

Function

The peer route-update-interval command configures the interval for sending update routes with the same prefix to a peer or peer group.

The undo peer route-update-interval command restores the default value.

By default, the update interval is 15 seconds for the IBGP peers and the update interval is 30 seconds for the EBGP peers.

Format

peer { group-name | ipv4-address | ipv6-address } route-update-interval interval

undo peer { group-name | ipv4-address | ipv6-address } route-update-interval

Parameters

Parameter Description Value
group-name Specifies the name of the peer group. The name is a string of 1 to 47 characters without any space. It is case-sensitive.
ipv4-address Specifies the IPv4 address of the peer. It is in dotted decimal notation.
ipv6-address Specifies the IPv6 address of the peer. The address is a 32-digit hexadecimal number in the X:X:X:X:X:X:X:X format.
interval Specifies the minimum interval for sending BGP update packets. The value is an integer ranging from 0 to 600 seconds.
  • group-name is valid only in the BGP view, BGP-IPv4 unicast address family view, BGP-VPN instance IPv4 address family view, and BGP-VPN instance IPv6 address family view.

  • ipv4-address is valid only in the BGP view, BGP-IPv4 unicast address family view, and BGP-VPN instance IPv4 address family view.

  • ipv6-address is valid only in the BGP-IPv6 unicast address family view and BGP-VPN instance IPv6 address family view.

Views

BGP view, BGP-IPv4 unicast address family view, BGP-IPv6 unicast address family view, BGP-VPN instance IPv4 address family view, BGP-VPN instance IPv6 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When routes change, the router 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 router from sending Update packets for every route change.

If the interval is 0, the FW sends an Update packet to the peer immediately after a route changes.

If no route changes, the FW does not periodically send Update packets.

Prerequisites

The peer as-number command has been used to create a peer or peer group.

Precautions

If a route is removed, the router sends an Update (Withdraw) packet to its peers immediately, without waiting the interval set using the peer route-update-interval command to expire.

Example

# Specify the interval for sending routing updates to a peer or peer group.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] peer 1.1.1.2 as-number 200
[sysname-bgp] peer 1.1.1.2 route-update-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >