SROS Command Line Interface Reference Guide
Enable Mode Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
37
clear ip bgp [* |
<as-number>
|
<ip address>
] [in | out | soft]
Use the
clear ip bgp
command to clear BGP neighbors as specified.
Syntax Description
*
Clears all BGP neighbors.
<as-number>
Clears all BGP neighbors with the specified AS number (Range: 1 to 65,535).
<ip address>
Clears the BGP neighbor with the specified IP address.
in
Causes a “soft” reset inbound with a neighbor, reprocessing routes advertised by
that neighbor.
out
Causes a “soft” reset outbound with a neighbor, re-sending advertised routes to
that neighbor.
soft
Causes a “soft” reset both inbound and outbound.
Default Values
No default value necessary for this command.
Functional Notes
The
clear ip bgp
command must be issued to re-initialize the BGP process between the peers matching
the given arguments. Most neighbor changes, including changes to prefix-list filters, do not take effect until
the
clear
command is issued. A hard reset clears the TCP connection with the specified peers, which
results in clearing the table. This method of clearing is disruptive and causes peer routers to record a route
flap for each route.
The
out
version of this command provides a soft reset out to occur by causing all routes to be re-sent to
the specified peer(s). TCP connections are not torn down, so this method is less disruptive. Output
filters/policies are re-applied before sending the update.
The
in
version of this command provides a soft reset in to occur by allowing the router to receive an
updated table from a peer without tearing down the TCP connection. This method is less disruptive and
does not count as a route flap. Currently, all of the peer's routes are stored permanently, even if they are
filtered by a prefix list. The command causes the peer's routes to be reprocessed with any new
parameters.
Usage Examples
The following example clears the information for all peers with an AS number of 101:
ProCurve>
enable
ProCurve#
clear ip bgp 101
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......