Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 280

Advertising
background image

266

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Filtering

8

Syntax: show ip bgp flap-statistics [regular-expression regular-expression | address mask

[longer-prefixes] | neighbor ip-addr]

The regular-expression regular-expression parameter is a regular expression. Regular expressions
are the same ones supported for BGP4 AS-path filters. Refer to

“Using regular expressions”

on

page 247.

The address mask parameters specify a particular route. If you also use the optional
longer-prefixes parameter, all statistics for routes that match the specified route or have a longer
prefix than the specified route are displayed. For example, if you specify 10.157.0.0 longer, all
routes with the prefix 10.157. or longer (such as 10.157.22.) are displayed.

The neighbor ip-addr parameter displays route flap dampening statistics only for routes learned
from the specified neighbor. You also can display route flap statistics for routes learned from a
neighbor by entering the following command: show ip bgp neighbor ip-addr flap-statistics.

This display shows the following information.

You also can display all dampened routes by entering the show ip bgp dampened-paths command.

Clearing route flap dampening statistics
Clearing the dampening statistics for a route does not change the dampening status of the route.
To clear all the route dampening statistics, enter the following command at any level of the CLI.

Virtual ADX# clear ip bgp flap-statistics

Syntax: clear ip bgp flap-statistics [regular-expression regular-expression | address mask |

neighbor ip-addr]

The parameters are the same as those for the show ip bgp flap-statistics command (except the
longer-prefixes option is not supported). Refer to

“Configuring route flap dampening”

on page 220.

TABLE 38

Route flap dampening statistics

This field...

Displays...

Total number of flapping routes

The total number of routes in the BGP4 route table that have changed
state and have been marked as flapping routes.

Status code

Indicates the dampening status of the route, which can be one of the
following:

> – This is the best route among those in the BGP4 route table to
the route destination.

d – This route is currently dampened, and unusable.

h – The route has a history of flapping and is unreachable now.

* – The route has a history of flapping but is currently usable.

Network

The destination network of the route.

From

The neighbor that sent the route to the device.

Flaps

The number of flaps the route has experienced.

Since

The amount of time since the first flap of this route.

Reuse

The amount of time remaining until this route will be un-suppressed and
can be used again.

Path

Shows the AS-path information for the route.

Advertising