Clearing diagnostic buffers – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 417

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

399

53-1002603-01

Clearing diagnostic buffers

Clearing diagnostic buffers

The Layer 3 switch stores the following BGP4 diagnostic information in buffers:

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

The last NOTIFICATION message either sent or received by the Layer 3 switch

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

“Displaying BGP4 neighbor information”

on page 367.

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 BGP 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, for an individual neighbor, or for all the neighbors within
a specific peer group.

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

Brocade#clear ip bgp neighbor 10.0.0.1 last-packet-with-error

Brocade#clear ip bgp neighbor 10.0.0.1 notification-errors

Syntax: clear ip bgp neighbor all | ip-addr | peer-group-name | as-num

last-packet-with-error | notification-errors

The all | ip-addr | peer-group-name | as-num option 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.

Advertising