reset bgp multicast flap-info

Function

The reset bgp multicast flap-info command clears route flapping statistics.

Format

reset bgp multicast flap-info ipv4-address [ mask | mask-length ]

reset bgp multicast ip-address flap-info

reset bgp multicast flap-info

reset bgp multicast flap-info as-path-filter { as-path-filter-num | as-path-filter-name }

reset bgp multicast flap-info regexp regexp

Parameters

Parameter Description Value
ipv4-address

Specifies a network address.

The value is in dotted decimal notation.

mask

Specifies the mask of a network address.

It is in dotted decimal notation.

mask-length

Specifies the mask length of a network address.

The value is an integer ranging from 0 to 32.

ip-address

Specifies the IP address of an MBGP peer.

The address is in dotted decimal notation.

flap-info

Clear the flap-info of all the routes.

-

as-path-filter

Clear the flap-info based on AS path filter list.

-

as-path-filter-num

Clear the flap-info matching this AS path filter list number.

The value is an integer ranging from 1 to 256.

as-path-filter-name

Specifies the AS path filter name.

The value is a string of 1 to 51 case-sensitive characters and spaces not supported, which cannot contain only numbers.

regexp regexp

Clears flapping statistics about the routes that match the AS_Path regular expression.

The value is a string of 1 to 80 characters.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

Usage Guidelines

Usage Scenario

The process of adding a route to and then deleting the route from a routing table is called route flapping.

When route flapping occurs, the routing protocol sends Update packets to neighbors. The neighbors that receive the Update packets need to recalculate routes and modify its routing table. Therefore, frequent route flapping consumes great bandwidth and CPU resources and even seriously affects network operations.

The reset bgp multicast flap-info command is used to clear the flapping information about routes. This allows the device to re-collect statistics about flapping routes and helps to monitor route changes and locate network problems.

Prerequisites

You can use display bgp multicast routing-table flap-info command to view the information about BGP route flapping.

If there are a large number of flapping routes, define an AS_Path filter or an AS_Path regular expression to be referenced in the reset bgp multicast flap-info command. The flapping statistics of the routes matching the AS_Path filter or the AS_Path regular expression are then cleared.

Configuration Impact

After the reset bgp multicast flap-info command is run, the flapping statistics of routes are reset and cannot be displayed.

Follow-up Procedure

After the flapping statistics of routes are cleared, run the display bgp multicast routing-table flap-info command again to display the flapping statistics about MBGP routes in order to locate problems.

Example

# Clear the flapping statistics about the routes that match AS_Path filter 10.
<HUAWEI> reset bgp multicast flap-info as-path-filter 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >