beautypg.com

Closing or resetting a bgp4+ neighbor session – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 539

background image

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

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

device# 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, and as-num parameters specify 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.

device# 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.

device(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.

If you use the soft in prefix-filter keyword, the device sends an updated IPv6 prefix list to the neighbor
as part of its route refresh message to the neighbor.

Closing or resetting a BGP4+ neighbor session

You can close a neighbor session or resend route updates to a neighbor. You can specify all neighbors,
a single neighbor, or all neighbors within a specific peer group or autonomous system.

If you close a neighbor session, the device and the neighbor clear all the routes they learned from each
other. When the and neighbor establish a new BGP4+ session, they exchange route tables again. Use
this method if you want the device to relearn routes from the neighbor and resend its own route table to
the neighbor.

If you use the soft-outbound keyword, the device compiles a list of all the routes it would normally
send to the neighbor at the beginning of a session. However, before sending the updates, the also

Resetting a BGP4+ neighbor session to send and receive ORFs

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

539

53-1003087-04