Command Line Reference Guide
clear ip bgp flap-statistics
Clear BGP flap statistics, which includes number of flaps and the time of the last flap.
S6000
Syntax
clear ip bgp [vrf vrf-name] flap-statistics [ip-address mask |
filter-list as-path-name | regexp regular-expression]
Parameters
vrf vrf-name (OPTIONAL) Enter the keyword vrf and then the name of
the VRF to clear BGP flap statistics corresponding to that
VRF.
NOTE: You can use this attribute on a specific VRF to
remove history routes corresponding to that VRF. You
can also use this attribute to return the suppressed
routes corresponding to a specific VRF to an active state.
ip-address
mask
(OPTIONAL) Enter an IP address in dotted decimal format
and the prefix mask in slash format (/x) to reset only that
prefix.
filter-list as-
path-name
(OPTIONAL) Enter the keywords filter-list then the
name of a configured AS-PATH list.
regexp regular-
expression
(OPTIONAL) Enter the keyword regexp then regular
expressions. Use one or a combination of the following:
• . = (period) any single character (including a white
space).
• * = (asterisk) the sequences in a pattern (0 or more
sequences).
• + = (plus) the sequences in a pattern (1 or more
sequences).
• ? = (question mark) sequences in a pattern (either 0 or 1
sequences).
NOTE: Enter an escape sequence (CTRL+v) prior to
entering the ? regular expression.
• [ ] = (brackets) a range of single-character patterns.
• ( ) = (parenthesis) groups a series of pattern elements
to a single element.
• { } = (braces) minimum and the maximum match count.
• ^ = (caret) the beginning of the input string. If you use
the caret at the beginning of a sequence or range, it
matches on everything BUT the characters specified.
• $ = (dollar sign) the end of the output string.
Command
Modes
EXEC Privilege
350
Border Gateway Protocol