clear bgp evpn neighbor

Requests a dynamic refresh of BGP EVPN connections or routes from a neighbor, with a variety of options.

Syntax

clear bgp evpn neighbor { all | ipv4-addr | ipv6-addr } [ soft [ in | out ] ]
clear bgp evpn neighbor { all | ipv4-addr | ipv6-addr } [ soft-outbound ]

Parameters

all
Resets and clears all BGP EVPN connections to all neighbors.
ipv4-addr
Specifies an IPv4 address.
ipv6-addr
Specifies an IPv6 address.
soft
Refreshes routes received from or sent to the neighbor.
in
Refreshes received routes.
out
Refreshes sent routes.
soft-outbound
Refreshes all outbound routes by applying new or changed filters, but sends only the existing routes affected by the new or changed filters to the neighbor.
Note

Note

Use soft-outbound only if the outbound policy is changed. This operand updates all outbound routes by applying the new or changed filters. However, the device sends to the neighbor only the existing routes that are affected by the new or changed filters. The soft out operand updates all outbound routes and then sends the entire route table on the device to the neighbor after the device changes or excludes the routes affected by the filters.
dynamic all
Clears all dynamic neighbors in the EVPN address family.

Modes

Privileged EXEC mode

Examples

This example refreshes all BGP EVPN neighbor connections.

device# clear bgp evpn neighbor all

This example clears BGP EVPN connections with a specified IPv6 address.

device# clear bgp evpn neighbor 2001::1

This example refreshes routes received from a neighbor with the IP address 10.0.0.1.

device# clear bgp evpn neighbor 10.0.0.1 soft in