clear ip bgp flap-statistics

To clear Border Gateway Protocol (BGP) route flap statistics, use the clear ip bgp flap-statistics command.

clear ip bgp flap-statistics [neighbor | prefix] [vrf vrf-name | all | default | management]

Syntax Description

neighbor

(Optional) Neighbor from the selected address family. The format is A.B.C.D for IPv4.

prefix

(Optional) Prefix from the selected address family. The format is A.B.C.D/length for IPv4.

vrf vrf-name

(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be any case-sensitive, alphanumeric string up to 32 characters.

all

(Optional) Clears the BGP information from all VRF entries.

default

(Optional) Clears the BGP information from the default VRF.

management

(Optional) Clears the BGP information from the management VRF.


Command Default

None

Command Modes

Any command mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

This command requires the LAN Enterprise Services license.

Examples

This example shows how to clear BGP route flap statistics:

switch# clear ip bgp flap-statistics