Administrator Guide

Version Description
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
7.8.1.0 Introduced on the S-Series.
7.7.1.0 Introduced on the C-Series.
Usage Information After you enter this command, the software deletes the history routes and returns the suppressed routes to the
Active state.
The clear ip bgp dampening command does not clear the history paths.
clear ip bgp flap-statistics
Clear BGP flap statistics, which includes number of flaps and the time of the last flap.
Syntax
clear ip bgp [vrf vrf-name] [ipv4 [multicast | unicast] | ipv6 unicast] [flap-
statistics [ipv4-address mask | ipv6–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.
ipv4 multicast (OPTIONAL) Enter the keyword ipv4 followed by the keyword multicast to clear
information related only to ipv4 multicast routes.
ipv4 unicast (OPTIONAL) Enter the keyword ipv4 followed by the keyword unicast to clear
information related only to ipv4 unicast routes.
ipv6 unicast (OPTIONAL) Enter the keyword ipv6 followed by the keyword unicast to clear
information related only to ipv6 unicast routes.
ipv4-address mask
(OPTIONAL) Enter an IPv4 address in dotted decimal format and the prefix mask in slash
format (/x) to reset only that prefix.
ipv6–address
mask
(OPTIONAL) Enter the IPv6 address followed by the network mask 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.
Border Gateway Protocol 363