You can clear all dynamic neighbor
connections for the following situations: on a device, in a specified VRF, in an EVPN
address family, all dynamic BGP EVPN.
Procedure
-
To clear all dynamic neighbor
connections on a device, run the following command.
device# clear ip bgp neighbor dynamic all
-
To clear all dynamic neighbor
connections in a specific VRF, run the following command.
device# clear ip bgp neighbor dynamic all vrf-red
This example clears the neighbor connections in the VRF named vrf-red.
-
To clear all dynamic BGP flowspec neighbor connections, run the following
command.
device# clear ip bgp ip flowspec neighbor dynamic
-
To clear all dynamic neighbors in a VPNv4 address family, run the following
command.
device# clear ip bgp vpnv4 neighbor dynamic all
-
To clear all dynamic neighbors in a VPNv6 address family, run the following
command.
device# clear ip bgp vpnv6 neighbor dynamic all