Administrator Guide

Version Description
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 ap-statistics
Clear BGP ap statistics, which includes number of aps and the time of the last ap.
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 ap
statistics corresponding to that VRF.
NOTE: You can use this attribute on a specic VRF to remove history routes
corresponding to that VRF. You can also use this attribute to return the
suppressed routes corresponding to a specic 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 prex mask in slash
format (/x) to reset only that prex.
ipv6–address mask (OPTIONAL) Enter the IPv6 address followed by the network mask to reset only that
prex.
lter-list as-path-
name
(OPTIONAL) Enter the keywords filter-list then the name of a congured 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.
370 Border Gateway Protocol