reset bgp sr-policy

Function

The reset bgp sr-policy command resets specified BGP connections.

Format

reset bgp sr-policy { all | as-number | ipv4-address | external | internal }

Parameters

Parameter Description Value
all

Resets all BGP connections.

-

as-number

Resets BGP connections with peers in ASs expressed in dotted notation.

For an integral AS number, the value is an integer ranging from 1 to 4294967295.

For an AS number in dotted notation, the value is in the format of x.y, where x and y are integers ranging from 1 to 65535 and from 0 to 65535, respectively.

ipv4-address

Resets the BGP connection with a specified peer.

It is in dotted decimal notation.

external

Resets all EBGP connections.

-

internal

Resets all IBGP connections.

-

sr-policy

Resets BGP connections related to SR-Policy.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

Usage Guidelines

Usage Scenario

The reset bgp command is used to make new BGP configurations take effect.

If a BGP routing policy is configured on the device that does not support Route-Refresh, the reset bgp command can be used to make the new routing policy to take effect.

Configuration Impact

This command resets all TCP connections established between BGP peers and therefore results in the re-establishment of the BGP peer relationships. Exercise caution when running this command.

Example

# Reset all BGP SR-Policy connections.
<HUAWEI> reset bgp sr-policy all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >