![Huawei S6700 Series Configuration Manual Download Page 462](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517462.webp)
7.19.2 Clearing BGP Information
This section describes how to clear the statistics of BGP accounting, flapped routes, and
suppressed routes.
Context
CAUTION
BGP statistics cannot be restored after being cleared. Exercise caution when running this
command.
Procedure
l
Run the
reset bgp flap-info
[
regexp
as-path-regexp
|
as-path-filter
|
ipv4-address
[
mask
|
mask-length
] ] command in the user view to clear the statistics of flapped routes.
l
Run the
reset bgp dampening
[
ipv4-address
[
mask
|
mask-length
] ] command in the user
view to clear the dampened routes and advertise the suppressed routes.
l
Run the
reset bgp
ipv4-address
flap-info
command in the user view to clear the statistics
of route flapping.
----End
7.20 Configuration Examples
This section provides several configuration examples of BGP.
7.20.1 Example for Configuring Basic BGP Functions
Networking Requirements
, all Switches run BGP. An EBGP peer relationship is set up between
SwitchA and SwitchB. IBGP peer relationships are set up between SwitchB, SwitchC, and
SwitchD.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
7 BGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
443