refresh bgp link-state unicast

Function

The refresh bgp link-state unicast command softly resets a BGP-LS address family connection. BGP-LS address family soft reset can be used to refresh the BGP-LS address family routing table and apply new routing policies, without closing any BGP-LS address family connection.

Format

refresh bgp link-state unicast { all | ipv4-address | ipv6-address | external | internal | group group-name } { export | import }

Parameters

Parameter Description Value
all

All BGP connections.

-

ipv4-address

Specifies the IPv4 address of a BGP peer.

It is in dotted decimal notation.

ipv6-address

Specifies the IPv6 address of a BGP peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

external

Softly resets BGP connections.

-

internal

Softly resets IBGP connections.

-

group group-name

Specifies the name of a BGP 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.

export

Triggers outbound soft resetting.

-

import

Triggers inbound soft resetting.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

Usage Guidelines

Usage Scenario

If a device's peer supports route-refresh, the refresh bgp command can be used on the device to softly reset the BGP connection with the peer. BGP soft resetting can be used to refresh the BGP routing table and apply new routing policies, without closing any BGP connection.

Prerequisites

Configuring BGP soft resetting requires that the peers support the route-refresh capability.

Precautions

Assume that a device supports route-refresh and is configured with the peer keep-all-routes command. After the refresh bgp command is run on the device, the device does not refresh its routing table.

Example

# Perform a soft reset on IPv4 of link-state unicast BGP connections in the inbound direction to make new configurations take effect.
<HUAWEI> refresh bgp link-state unicast 10.1.1.1 export
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >