Clears all dynamic neighbor connections on a device, in a specified VRF, or in a VPNv4 or VPNv5 address family.
Privileged EXEC mode
This example removes all dynamic BGP4 neighbors.
device# configure terminal device(config)# clear ip bgp neighbor dynamic all
This example removes all dynamic BGP4 neighbors from the VRF named vrf-red.
device# configure terminal device(config)# clear ip bgp neighbor dynamic vrf vrf-red