Context
NOTICE
The BGP peer relationship is interrupted after you reset BGP connections with the
reset bgp
command. Exercise cautions when running this command.
To reset a BGP session in GR mode, run the
reset bgp
command with the
graceful
parameter
specified and run the
graceful-restart peer-reset
command. If the
graceful
parameter is not
specified in the
reset bgp
command or if the
graceful-restart peer-reset
command is not run,
the GR reset mode does not take effect, so that routing entries will be deleted for existing sessions,
interrupting services. The services will be restored after the BGP peer relationship is
reestablished.
When the BGP routing policy on the router that does not support Route-refresh changes, you
need to reset BGP connections to validate the configuration. To reset BGP connections, run the
following
reset
commands in the user view.
Procedure
l
To validate the new configurations, run the
reset bgp
all
[
graceful
] command in the user
view to reset all BGP connections.
l
To validate the new configurations, run the
reset bgp
{
as-number-plain
|
as-number-
dot
} [
graceful
] command in the user view to reset the BGP connection between the
specified AS.
l
To validate the new configurations, run the
reset bgp
ipv4-address
[
graceful
] command
in the user view to reset the BGP connection between a specified peer.
l
To validate the new configurations, run the
reset bgp
external
[
graceful
] command in
the user view to reset all the EBGP connections.
l
To validate the new configurations, run the
reset bgp
group
group-name
[
graceful
]
command in the user view to reset the BGP connection with the specified peer-groups.
l
To validate the new configurations, run the
reset bgp
internal
[
graceful
] command in
the user view to reset all IBGP connections.
----End
8.26.3 Clearing BGP Information
This section describes how to clear the statistics of BGP accounting, flapped routes, and
suppressed routes.
Context
NOTICE
BGP statistics cannot be restored after being cleared. Exercise caution when running this
command.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
885