clear bgp flap-statistics

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

clear bgp {ipv4 {multicast | unicast} | all} flap-statistics [neighbor | prefix] [vrf vrf-name | all | default | management]

Syntax Description

ipv4

Clears BGP information for the IPv4 address family.

unicast

Clears BGP information for the unicast address family.

multicast

Clears BGP information for the multicast address family.

all

Clears BGP information for all address families.

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 BGP information from all VRFs.

default

(Optional) Clears BGP information from the default VRF.

management

(Optional) Clears 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 bgp ipv4 multicast flap-statistics