clear ip bgp
Syntax
clear ip bgp {* | <NEIGHBOR-IP-ADDRESS>} [soft in] [vrf <VRF-NAME>]
Description
Resets BGP peering sessions. Sends a route refresh request when you have specified
soft in
. Optionally, you can specify reset for a specific VRF.
Command context
Operator (>
) or Manager (#
)
Parameters
* | <NEIGHBOR-IP-ADDRESS>
Specifies a neighbor IP address for which peering sessions are to be reset. Or enter * to clear all peering sessions.
soft in
Specifies send route refresh request.
vrf <VRF-NAME>
Optional. Specifies reset for a VRF (if no <VRF-NAME> is specified, the default VRF is implied).
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Examples
switch# clear ip bgp * switch# clear ip bgp 192.168.12.1 soft in