Clearing bgp4+ neighbor traffic counters – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 333

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

319

53-1003246-01

Clearing BGP4+ information

9

that the neighbor receives only the routes you want it to contain. Even if the neighbor already
contains a route learned from the Virtual ADX 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 Virtual
ADX device and all neighbors, enter the following command at the Privileged EXEC level or any of
the Config levels of the CLI.

Virtual ADX# clear ipv6 bgp neighbor all

Syntax: clear ipv6 bgp neighbor all | ipv6-address | as-number [soft-outbound | soft [in | out]]

The all | ipv6-address | 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 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 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.

Virtual ADX# clear ipv6 bgp neighbor 1001 traffic

Syntax: clear ipv6 bgp neighbor all | ipv6-address | as-number traffic

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

Specify the traffic keyword to clear the BGP4+ message counter.

Clearing BGP4+ neighbor route flap dampening statistics

The Virtual ADX device allows you to clear all route flap dampening statistics for a specified BGP4+
neighbor.

NOTE

Clearing the dampening statistics for a neighbor does not change the dampening status of a route.

To clear all of the route flap dampening statistics for a neighbor, enter a command such as the
following at the Privileged EXEC level or any of the Config levels of the CLI.

Virtual ADX# clear ipv6 bgp neighbor 2001:db8:e0ff:47::1 flap-statistics

Syntax: clear ipv6 bgp neighbor ipv6-address flap-statistics

Advertising