Removing route flap dampening, Clearing diagnostic buffers – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 288

Advertising
background image

274

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Filtering

8

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 303.

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 303.

Removing route flap dampening

You can un-suppress routes by removing route flap dampening from the routes. The device allows
you to un-suppress all routes at once or un-suppress individual routes.

To un-suppress all the suppressed routes, enter the following command at the Privileged EXEC level
of the CLI.

Virtual ADX# clear ip bgp dampening

Syntax: clear ip bgp dampening [ip-addr ip-mask]

The ip-addr parameter specifies a particular network.

The ip-mask parameter specifies the network’s mask.

To un-suppress a specific route, enter a command such as the following:

Virtual ADX# clear ip bgp dampening 10.157.22.0 255.255.255.0

This command un-suppresses only the routes for network 10.157.22.0/24.

Clearing diagnostic buffers

The device stores the following BGP4 diagnostic information in buffers:

The first 400 bytes of the last packet received that contained an error

The last NOTIFICATION message either sent or received by the device

To display these buffers, use options with the show ip bgp neighbors command. Refer to

“Displaying BGP4 neighbor information”

on page 284.

This information can be useful if you are working with Brocade Technical Support to resolve a
problem. The buffers do not identify the system time when the data was written to the buffer. If you
want to ensure that diagnostic data in a buffer is recent, you can clear the buffers. You can clear
the buffers for a specific neighbor or for all neighbors.

If you clear the buffer containing the first 400 bytes of the last packet that contained errors, all the
bytes are changed to zeros. The Last Connection Reset Reason field of the BGP4 neighbor table
also is cleared.

If you clear the buffer containing the last NOTIFICATION message sent or received, the buffer
contains no data.

You can clear the buffers for all neighbors or for an individual neighbor.

To clear these buffers for neighbor 10.0.0.1, enter the following commands.

Virtual ADX# clear ip bgp neighbor 10.0.0.1 last-packet-with-error

Virtual ADX# clear ip bgp neighbor 10.0.0.1 notification-errors

Advertising