Closing or resetting a bgp4+ neighbor session, Clearing bgp4+ neighbor traffic counters – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 556

Advertising
background image

528

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Clearing BGP4+ information

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

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
applies the filters and route maps you have configured to the list of routes. If the filters or route
maps result in changes to the list of routes, the sends updates to advertise, change, or even
withdraw routes on the neighbor as needed. This ensures that the neighbor receives only the
routes you want it to contain. Even if the neighbor already contains a route learned from the that
you later decided to filter out, using the soft-outbound option removes that route from the neighbor.
If no change is detected from the previously sent routes, an update is not sent.

For example, to close all neighbor sessions and thus flush all the routes exchanged by the device
and all neighbors, enter the following command at the Privileged EXEC level or any of the Config
levels of the CLI.

Brocade# clear ipv6 bgp neighbor all

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

| soft [in | out]]

The all | ipv6-address | peer-group-name | as-number 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-number parameter specifies all neighbors within the
specified AS. The all keyword specifies all neighbors.

Use the soft-outbound keyword to perform a soft reset of a neighbor session and resend only route
update changes to a neighbor.

Use the soft in parameter to perform a soft reset of a neighbor session and requests a route
update from a neighbor.

Use the soft out parameter to perform a soft reset of a neighbor session and resend all routes to a
neighbor.

Clearing BGP4+ neighbor traffic counters

You can clear the BGP4+ message counter (reset them to 0) for all neighbors, a single neighbor, or
all neighbors within a specific peer group or AS.

For example, to clear the BGP4+ message counter for all neighbors within an AS 1001, enter a
command such as the following at the Privileged EXEC level or any of the Config levels of the CLI.

Brocade# clear ipv6 bgp neighbor 1001 traffic

Advertising