clear ipv6 bgp neighbor dynamic

Clears all dynamic neighbor connections on a device or all dynamic neighbor connections in a specified VRF.

Syntax

clear ipv6 bgp neighbor dynamic [ all | vrf vrf-name ]

Parameters

all | vrf
Specifies whether to clear all dynamic neighbors or only the neighbors in the specified VRF.
vrf-name
Specifies the name of the VRF from which to clear neighbors.

Modes

Privileged EXEC mode

Examples

This example removes all dynamic BGP4+ neighbors.

device# configure terminal
device(config)# clear ipv6 bgp neighbor dynamic all

This example removes all dynamic BGP4+ neighbors from the VRF named vrf-red.

device# configure terminal
device(config)# clear ipv6 bgp neighbor dynamic vrf vrf-red