6-70
Parameters
all
: Soft-resets all BGP connections.
ip-address
: Soft-resets the BGP connection to a peer.
group-name
: Soft-resets connections to a peer group, name of which is a sting of 1 to 47 characters.
external
: EBGP connection.
internal
: IBGP connection.
export
: Outbound soft reset.
import
: Inbound soft reset.
Description
Use the
refresh bgp
command to perform soft reset on specified BGP connections. Using this
function can refresh the BGP routing table without tearing down BGP connections and apply a newly
configured routing policy.
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 the
reset bgp
command to reset specified BGP connections.
Examples
# Reset all the BGP connections.
<Sysname> reset bgp all