< Home

Resetting BGP Connections

After completing the BGP configuration, you can warm reset or reset BGP connection so that the new configuration takes effect. Resetting a BGP connection interrupts the VPN service. Exercise caution when performing this operation.

Soft reset means that after a BGP configuration policy is changed, the system can automatically refresh the BGP routing table without interrupting a BGP connection.
  • If a BGP peer supports route-refresh, run the refresh bgp command to manually warm reset a BGP connection to refresh the BGP routing table.
  • If a BGP peer does not support route-refresh, run the peer keep-all-routes command for the peer to refresh the BGP routing table.

To reset a BGP connection, run the reset command, which interrupts the VPN service.

Run the commands listed in Table 1 in the user view to warm reset or reset BGP connections so that the new configurations take effect.

Table 1 Resetting BGP connections

Operation

Command

Soft reset the BGP connections of incoming VPN instances.

refresh bgp vpn-instance vpn-instance-name ipv4-family { all | peer-address | group group-name | internal | external } import

Soft reset the BGP connections of outgoing VPN instances.

refresh bgp vpn-instance vpn-instance-name ipv4-family { all | peer-address | group group-name | internal | external } export

Soft reset the incoming IPv4 BGP VPN connections.

refresh bgp vpnv4 { all | peer-address | group group-name | internal | external } import

Soft reset the outgoing IPv4 BGP VPN connections.

refresh bgp vpnv4 { all | peer-address | group group-name | internal | external } export

Reset the BGP connection of a specified VPN instance.

refresh bgp vpn-instance vpn-instance-name ipv4-family { peer-address | group group-name | all | internal | external }

Reset BGP IPv4 VPN connections.

refresh bgp vpnv4 { peer-address | group group-name | all | internal | external }

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic