clear ip bgp topology

This command resets BGP neighbor session information for a topology.

Syntax

clear ip bgp [topology {* | topology-name}]

Parameters

topology-name Specifies the topology in which session information will be cleared. If * is used instead of topology-name, the command clears session and peering information for all topologies.

Defaults

None.

Mode

All command modes.

Usage

When the topology option is specified, session information is cleared only in the specified topology. Use the * instead of topology-name to clear session information in all topologies.

Example

The following example specifies to clear topology Router3:

System(rw)->clear ip bgp topology Router3