HP ProCurve 7102dl Reference Manual page 39

Secure router sros command line interface
Table of Contents

Advertisement

SROS Command Line Interface Reference Guide
clear ip bgp [* | <as-number> | <ip address>] [in | out | soft]
Use the clear ip bgp command to clear BGP neighbors as specified.
Syntax Description
*
<as-number>
<ip address>
in
out
soft
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
5991-2114
Clears all BGP neighbors.
Clears all BGP neighbors with the specified AS number (Range: 1 to 65,535).
Clears the BGP neighbor with the specified IP address.
Causes a "soft" reset inbound with a neighbor, reprocessing routes advertised by
that neighbor.
Causes a "soft" reset outbound with a neighbor, re-sending advertised routes to
that neighbor.
Causes a "soft" reset both inbound and outbound.
© Copyright 2007 Hewlett-Packard Development Company, L.P.
Enable Mode Command Set
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7203dl j8753a j8753a

Table of Contents