Manoj Reddy's Reference Guide

clear ip bgp

To reset a BGP connection using BGP soft reconfiguration, use the clear ip bgp EXEC command at the system prompt.

clear ip bgp {*  | address | peer-groupname} [soft [in  | out ]]

Syntax Description

*

Resets all current BGP sessions.

address 

Resets only the identified BGP neighbor.

peer-group-name 

Resets the specified BGP peer group.

soft

(Optional) Soft reconfiguration.

in  | out

(Optional) Triggers inbound or outbound soft reconfiguration. If the in or out option is not specified, both inbound and outbound soft reconfiguration are triggered.

Defaults

No reset is initiated.

Command Modes

EXEC

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

If you specify BGP soft reconfiguration, by including the soft keyword, the sessions are not reset and the router sends all routing updates again. To generate new inbound updates without resetting the BGP session, the local BGP speaker should store all received updates without modification regardless of whether it is accepted by the inbound policy, using the neighbor soft-reconfiguration command. This process is memory intensive and should be avoided if possible. Outbound BGP soft configuration does not have any memory overhead. You can trigger an outbound reconfiguration on the other side of the BGP session to make the new inbound policy take effect.

Use this command whenever any of the following changes occur:

Examples

The following example resets all current BGP sessions:

clear ip bgp *

Related Commands

CommandDescription
clear ip bgp Resets a BGP connection using BGP soft reconfiguration.
neighbor soft-reconfiguration Configures the Cisco IOS software to start storing updates.
show ip bgp Display entries in the BGP routing table.
timers bgp Adjusts BGP network timers.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.