User Manual
UMN:CLI
V8102
613
12.1.15.1
Session Reset of All Peers
To reset the sessions with all BGP peers, use the following command.
Command
Mode
Description
clear bgp *
Enable
Global
Resets all sessions with BGP peer groups.
clear ip bgp *
clear ipv6 bgp *
When the route parameters restore to the default value by reset command, you can con-
figure the specific parameters for its initialization. If you would like to reset/clear the out-
going advertised routes only, you should use
out
parameter. Otherwise, if you
’d like to re-
set/clear the incoming advertised routes only, you should use
in
parameter.
Meanwhile, if
prefix-filter
is configured with
in
option, ORF (Outbound Route Filtering)
and incoming route can be reset. By using
soft
option, you can configure the switch to
update route information only when the session is still connected.
To reset the sessions of all peers and initialize the details of route configurations, use the
following command.
Command
Mode
Description
clear ip bgp * in
[
prefix-filter
]
Enable
Global
Resets the session of specific group under * condition.
in: clears incoming advertised routes.
prefix-filter: pushes out prefix-list ORF and does in-
bound soft reconfiguration.
*: the conditional option (peer group name or AS num-
ber or IP address)
clear bgp * in
[
prefix-filter
]
clear ipv6 bgp * in
[
prefix-filter
]
clear ip bgp *
{
unicast
|
mul-
ticast
}
in
[
prefix-filter
]
clear bgp out
Resets the session of specific group under * condition.
*: the conditional option (peer group name or AS num-
ber or IP address)
out: clears outgoing advertised routes.
unicast | multicast: address family modifier
clear ip bgp out
clear ipv6 bgp out
clear ip bgp *
{
unicast
|
mul-
ticast
}
out
clear bgp * soft
[
in
|
out
]
Updates the route information only while the session is
possible for specific group under * condition. Apply the
route either incoming or outgoing routes.
*: the conditional option (peer group name or AS num-
ber or IP address)
clear ip bgp * soft
[
in
|
out
]
clear ipv6 bgp * soft
[
in
|
out
]
clear ip bgp *
{
unicast
|
mul-
ticast
}
soft
[
in
|
out
]
clear bgp view WORD * in
Resets the session of specific group under * condition
in a BGP view.
WORD: BGP peer goup name
in: clears incoming advertised routes.
out: clears outgoing advertised routes.
prefix-filter: pushes out prefix-list ORF and does in-
bound soft reconfiguration.
*: the conditional option (peer group name or AS num-
clear bgp view WORD * out
clear bgp view WORD * soft
[
in
|
out
]
clear ip bgp view WORD *