To perform BGP soft reset, all routers in the network must support route-refresh. If a router not
supporting route-refresh exists in the network, you need to configure the
peer keep-all-routes
command to save all routing updates before performing soft reset.
Examples
# Perform inbound BGP soft reset.
<Sysname> refresh bgp all import
reset bgp
Syntax
reset bgp
{
as-number
|
ip-address
[
flap-info
] |
all
|
external
|
group group-name
|
internal
}
View
User view
Default level
1: Monitor level
Parameters
as-number
: Resets BGP connections to peers in the AS.
ip-address
: Specifies the IP address of a peer with which to reset the connection.
flap-info
: Clears route flap information.
all
: Resets all BGP connections.
external
: Resets all the EBGP connections.
group group-name
: Resets connections with the specified BGP peer group.
internal
: Resets all the IBGP connections.
Description
Use
reset bgp
to reset specified BGP connections.
Examples
# Reset all the BGP connections.
<Sysname> reset bgp all
reset bgp dampening
Syntax
reset bgp dampening
[
ip-address
[
mask
|
mask-length
] ]
View
User view
Default level
1: Monitor level
Parameters
ip-address
: Destination IP address of a route.
mask
: Mask, in dotted decimal notation.
mask-length
: Mask length, in the range of 0 to 32.
257