clear ip bgp neighbor
Requests a dynamic refresh of BGP4 connections or routes from a neighbor, with a variety
of options.
Syntax
clear ip bgp
neighbor {
all | as-num | peer-group-name | ip-addr } [ last-packet-with-error ] [ notification-errors ] [ soft [
in | out
] ] [ soft-outbound ]
[ traffic ]Parameters
- as-num
- Clears all BGP4 connections within this autonomous system. Range is from 1 through 4294967295.
- peer-group-name
- Clears all BGP4 connections in this peer group. Range is from 1 through 63 characters.
- last-packet-with-error
- Clears all BGP4 connections identified as having the last packet received with an error.
- soft-outbound
- Refreshes all outbound routes by applying new or changed filters, but sends only the
existing routes affected by the new or changed filters to the neighbor.
Note: Use soft-outbound only if the outbound policy is changed. This operand updates all outbound routes by applying the new or changed filters. However, the device sends to the neighbor only the existing routes that are affected by the new or changed filters. The soft out operand updates all outbound routes and then sends the entire BGP4 route table on the device to the neighbor after the device changes or excludes the routes affected by the filters.
Modes
Privileged EXEC mode