beautypg.com

Clearing bgp4+ neighbor traffic counters – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 540

background image

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.

device# 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, and as-number 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-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 autonomous system.

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

device# clear ipv6 bgp neighbor 1001 traffic

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

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

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

Clearing BGP4+ neighbor route flap dampening statistics

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

Clearing BGP4+ neighbor traffic counters

540

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04