Closing or resetting a bgp4+ neighbor session – Brocade BigIron RX Series Configuration Guide User Manual

Page 1309

Advertising
background image

BigIron RX Series Configuration Guide

1231

53-1002484-04

Clearing BGP4+ information

46

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

BigIron RX# clear ipv6 bgp neighbor 2000:e0ff:38::1

This command resets the BGP4+ session with neighbor 2000:e0ff:38::1 and sends the ORFs to
the neighbor when the neighbor comes up again. If the neighbor sends ORFs to the switch, the
switch 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.

BigIron RX(config)# clear ipv6 bgp nei peer_group1 soft in prefix-filter

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 switch 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 switch and the neighbor clear all the routes they learned from
each other. When the switch and neighbor establish a new BGP4+ session, they exchange route
tables again. Use this method if you want the switch to relearn routes from the neighbor and
resend its own route table to the neighbor.

If you use the soft-outbound keyword, the switch 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
switch 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 switch 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
switch 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 switch
and all neighbors, enter the following command at the Privileged EXEC level or any of the Config
levels of the CLI.

BigIron RX# 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.

Advertising