reset bgp evpn flap-info(User view)

Function

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

Format

reset bgp evpn flap-info

reset bgp evpn flap-info { mac-route | prefix-route } prefix

reset bgp evpn { ip-address | peerIpv6Addr } flap-info

Parameters

Parameter Description Value
mac-route

Specifies information about MAC advertisement routes.

-

prefix-route

Specifies information about prefix routes.

-

prefix

Specifies the prefix of an EVPN route.

An EVPN route prefix has the following formats:

MAC advertisement route. The value is in the format of E:M:H-H-H:L:X.X.X.X or E:M:H-H-H:L: [X:X::X:X], where:

  • E indicates the ID of the VLAN to which the MAC address belongs.
  • M is fixed at 48, indicating the length of the MAC address.
  • H-H-H indicates the MAC address. The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros.
  • L is fixed at 0, indicating the mask length of the IP address corresponding to the MAC address.
  • X.X.X.X indicates the IP address corresponding to the MAC address. Currently, this part can only be displayed as 0.0.0.0.
  • X:X::X:X indicates the IPv6 address corresponding to the MAC address.

IP Prefix route. The value is in the format of L:X.X.X.X:M or L:[X:X::X:X]:M, where:

  • L is fixed at 0.
  • X.X.X.X indicates the ip address of host routes.
  • M indicates the mask length of host routes.
  • X:X::X:X indicates the ipv6 address of host routes.
ip-address

Specifies the IPv4 address of a peer.

The value is an IPv4 address, in dotted decimal notation.

peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

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 evpn 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 evpn all routing-table flap-info command to view the information about BGP EVPN route flapping.

Configuration Impact

After the reset bgp evpn 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 evpn all routing-table flap-info command again to display the flapping statistics about BGP EVPN routes in order to locate problems.

Example

# Clear the flapping statistics about the BGP EVPN routes.
<HUAWEI> reset bgp evpn flap-info
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >