Manoj Reddy's Reference Guide

clear ip bgp flap-statistics

To clear BGP flap statistics, usetheclear ip bgp flap-statistics EXEC command.

clear ip bgp flap-statistics [{regexp regexp} | {filter-list list} | {addressmask}]

clear ip bgp address flap-statistics

Syntax Description

regexp  regexp 

(Optional) Clears flap statistics for all the paths that match the regular expression.

filter-list  list 

(Optional) Clears flap statistics for all the paths that pass the access list.

address 

(Optional) Clears flap statistics for a single entry at this IP address. If this argument is placed before flap-statistics , the router clears flap statistics for all paths from the neighbor at this address.

mask 

(Optional) Network mask applied to the address.

Defaults

No statistics are cleared.

Command Modes

EXEC

Command History

ReleaseModification
11.0

This command was introduced.

Usage Guidelines

If no arguments or keywords are specified, the router clear flap statistics for all routes.

The flap statistics for a route are also cleared when a BGP peer is reset. Although the reset withdraws the route, there is no penalty applied in this instance even though route flap dampening is enabled.

Examples

The following example clears all of the flap statistics for paths that pass access list 3:

clear ip bgp flap-statistics filter-list 3

Related Commands

CommandDescription
bgp dampening Enables BGP route dampening or change various BGP route dampening factors.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.