clear bgp evpn l2routes

Clears routes from the BGP EVPN Layer 2 route table.

Syntax

clear bgp evpn l2routes type { arp |igmp-join-sync | igmp-leave-sync | inclusive-multicast | mac | nd}

Parameters

type
Specifies the type of route.
arp
Specifies Address Resolution Protocol routes.
igmp-join-sync
Specifies Join Sync routes.
igmp-leave-sync
Specifies Leave Sync routes.
inclusive-multicast
Specifies inclusive multicast routes.
mac
Specifies MAC routes.
nc
Specifies neighbor discovery routes.

Modes

Privileged EXEC mode

Examples

This example clears all routes from the BGP EVPN route table.

device# clear bgp evpn l2routes

This example clears all Leave Sync routes from the BGP EVPN route table.

device# clear bgp evpn l2 routes type igmp-leave-sync