The refresh bgp sr-policy command softly resets a BGP connection. BGP soft reset can be used to refresh the BGP routing table and apply new routing policies, without closing any BGP connection.
Parameter | Description | Value |
---|---|---|
all |
Softly resets all the BGP IPv4 connections. |
- |
ipv4-address |
Specifies the IPv4 address of a BGP peer. |
It is in dotted decimal notation. |
external |
Softly resets BGP connections. |
- |
internal |
Softly resets IBGP connections. |
- |
export |
Triggers outbound soft resetting. |
- |
import |
Triggers inbound soft resetting. |
- |
sr-policy |
Softly resets the BGP connections related to SR-Policy. |
- |
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.