CLI Guide

Layer 3 Routing Commands 1272
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#bgp router-id 10.27.21.142
clear ip bgp
Use the clear ip bgp command to reset peering sessions with all of a subnet of
BGP peers. The command arguments specify which peering sessions are reset
and the type of reset performed.
Syntax
clear ip bgp [vrf vrf-name]{* | as-number | ipv4-address | ipv6-address [
interface interface-id ] {listen range network/length}} [soft [in | out]]
vrf-name—This optional parameter identifies the VRF for which to reset
peering sessions. If not given, the default sessions are reset.
*— Reset adjacency with every BGP peer.
as-number— Only reset adjacencies with BGP peers in the given
autonomous system. The router’s autonomous system number in asplain
format. Dell EMC Networking BGP supports four byte AS numbers, in the
range of 0-429496729.
ipv4-address—Only reset the adjacency with a single specified peer with a
given IPv4 peer address.
ipv6-address [ interface interface-id ]—Only reset the adjacency with a
single specified peer with a given IPv6 peer address. If the interface-id is
given, only reset the adjacency on the specified interface. The interface id
must be a routing interface (a routed VLAN identifier). An adjacency that
is formed with the auto-detect feature cannot be reset with the command.
listen range – Reset all adjacencies that are included in the listen subnet
range.
soft—BGP resends all updates to the neighbors and reprocesses updates
from the neighbors.