Quick Reference Guide

852 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Clearing traffic counters
25
Clearing traffic counters
You can clear the counters (reset them to 0) for BGP4 messages. To do so, use one of the following
methods.
To clear the BGP4 message counter for all neighbors, enter the following command.
PowerConnect# clear ip bgp traffic
Syntax: clear ip bgp traffic
To clear the BGP4 message counter for a specific neighbor, enter a command such as the
following.
PowerConnect# clear ip bgp neighbor 10.0.0.1 traffic
To clear the BGP4 message counter for all neighbors within a peer group, enter a command such
as the following.
PowerConnect# clear ip bgp neighbor PeerGroup1 traffic
Syntax: clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> traffic
The all | <ip-addr> | <peer-group-name> | <as-num> specifies the neighbor. The <ip-addr>
parameter specifies a neighbor by its IP interface with the Layer 3 Switch. The <peer-group-name>
specifies all neighbors in a specific peer group. The <as-num> parameter specifies all neighbors
within the specified AS. The all parameter specifies all neighbors.
Clearing route flap dampening statistics
To clear route flap dampening statistics, use the following CLI method.
NOTE
Clearing the dampening statistics for a route does not change the dampening status of the route.
To clear all the route dampening statistics, enter the following command at any level of the CLI.
PowerConnect# clear ip bgp flap-statistics
Syntax: clear ip bgp flap-statistics [regular-expression <regular-expression> | <address> <mask>
| neighbor <ip-addr>]
The parameters are the same as those for the show ip bgp flap-statistics command (except the
longer-prefixes option is not supported). Refer to “Displaying route flap dampening statistics” on
page 814.
NOTE
The clear ip bgp damping command not only clears statistics but also un-suppresses the routes.
Refer to “Displaying route flap dampening statistics” on page 814.
Removing route flap dampening
You can un-suppress routes by removing route flap dampening from the routes. The Layer 3 Switch
allows you to un-suppress all routes at once or un-suppress individual routes.