reset bgp { as-number | ipv4-address | external | internal | group group-name }
reset bgp all
reset bgp { ipv4 | vpnv4 } all
reset bgp vpnv4 { as-number | ipv4-address | ipv6-address | external | internal | group group-name }
reset bgp vpn-instance vpn-instance-name ipv4-family { all | as-number | ipv4-address | external | internal | group group-name }
reset bgp flow { as-number | ipv4-address | external | internal }
reset bgp flow all
reset bgp labeled { all | as-number | ipv4-address | external | internal | group group-name }
reset bgp rpd { all | as-number | ipv4-address | external | internal }
reset bgp vpn-instance vpn-instance-name labeled { all | as-number | ipv4-address | external | internal | group group-name }
Parameter | Description | Value |
---|---|---|
as-number |
Resets BGP connections with peers in ASs expressed in dotted notation. |
The value is in the format of x.y, where x and y are integers that range 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. |
- |
group group-name |
Resets the BGP connection with a specified 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. |
all |
Resets all BGP connections. |
- |
ipv4 |
Resets BGP IPv4 connections. |
- |
vpnv4 |
Resets BGP connections associated with VPNv4. |
- |
ipv6-address |
Resets the TCP connection with a specified BGP4+ peer (all the routes learned by using the connection are deleted). |
The address is in the format of X:X:X:X:X:X:X:X. |
vpn-instance vpn-instance-name |
Resets the connection of a specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv4-family |
IPv4 address family. |
- |
flow |
Resets BGP IPv4 connections in the BGP-Flow address family view. |
- |
labeled |
Resets BGP IPv4 connections in the labeled-unicast address family view. |
- |
rpd |
Resets BGP RPD connections. |
- |
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. The reset bgp ipv4 all command resets all public-network BGP IPv4 connections.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.