clear ip bgp routes

Clears BGP4 routes from the IP route table and resets the routes.
Syntax
clear ip bgp routes [ ip-addr [ / mask ] ]
Parameters
ip-addr
Specifies the IPv4 address of a specified route in dotted-decimal notation.
mask
Specifies the IPv4 mask of a specified route in CIDR notation.
Modes

Privileged EXEC mode

Examples

The following example clears all BGP4 routes.

device# clear ip bgp routes 10.0.0.0/16