Clearing bgp4+ neighbor diagnostic buffers – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 555

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

527

53-1003033-02

Clearing BGP4+ information

Clearing BGP4+ neighbor diagnostic buffers

You can clear the following BGP4+ neighbor 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 neighbor.

To display these buffers, use the last-packet-with-error keyword with the show ipv6 bgp neighbors
command. For more information about this command, refer to

“Displaying last error packet from a

BGP4+ neighbor”

on page 557.

You can clear the buffers for all neighbors, for an individual neighbor, or for all the neighbors within
a specific peer group or AS.

To clear these buffers for neighbor 2001:db8:37::1, enter the following commands at the Privileged
EXEC level or any of the Config levels of the CLI.

Brocade# clear ipv6 bgp neighbor 2001:db8:37::1 last-packet-with-error

Brocade# clear ipv6 bgp neighbor 2001:db8:37::1 notification-errors

Syntax: clear ipv6 bgp neighbor all | ipv6-address | peer-group-name | as-number

last-packet-with-error | notification-errors

The all | ipv6-address | peer-group-name | as-num specifies the neighbor. The ipv6-address
parameter specifies a neighbor by its IPv6 address. You must specify this address in hexadecimal
using 16-bit values between colons as documented in RFC 2373. 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 keyword specifies all neighbors.

The last-packet-with-error keyword clears the buffer containing the first 400 bytes of the last packet
that contained errors.

The notification-errors keyword clears the notification error code for the last NOTIFICATION
message sent or received.

Resetting a BGP4+ neighbor session to send and receive ORFs

You can perform a hard or soft reset of a BGP4+ neighbor session to send or receive ORFs.

To perform a hard reset of a neighbor session and send ORFs to the neighbor, enter a command
such as the following.

Brocade# clear ipv6 bgp neighbor 2001:db8:38::1

This command resets the BGP4+ session with neighbor 2001:db8:38::1 and sends the ORFs to the
neighbor when the neighbor comes up again. If the neighbor sends ORFs to the device, the accepts
them if the send capability is enabled.

To perform a soft reset of a neighbor session and send ORFs to the neighbor, enter a command
such as the following.

Brocade(config)# clear ipv6 bgp neighbor peer_group1 soft in prefix-list

Syntax: clear ipv6 bgp neighbor ipv6-address | peer-group-name [soft in prefix-filter]

The ipv6-address parameter specifies a neighbor by its IPv6 address. You must specify this address
in hexadecimal using 16-bit values between colons as documented in RFC 2373.

The peer-group-name specifies all neighbors in a specific peer group.

Advertising