clear ipv6 bgp routes

Clears BGP4+ routes from the IP route table and resets the routes.

Syntax

clear ipv6 bgp routes [ ipv6-addr [ / mask ] ] [ vrf vrfname ]

Parameters

ipv6-addr
IPv6 address of a specified route in dotted-decimal notation.
mask
(Optional) IPv6 mask of a specified route in CIDR notation.
vrf vrf-name
Specifies the name of a VRF instance.

Modes

Privileged EXEC mode

Examples

This example clears specific BGP4+ routes.

device# clear ipv6 bgp routes 2000::/64

This example clears specific BGP4+ routes for VRF "red".

device# clear ipv6 bgp routes 2000::/64 vrf red