clear ip bgp
If the soft option is not used, brings down the underlying TCP connection and then brings it back up again, causing both peers to resend their complete BGP routing table. If the soft out option is used, the BGP speaker reapplies outbound policy and resends all routes to the specified peers. If the soft in option is used, the BGP speaker reapplies inbound policy to the routes received from the specified peers. This is possible only if soft reconfiguration inbound has been enabled for the peer or the peer supports the route-refresh capability. There is no no version.
clear ip bgp [ ipAddress | ipv6Address | peer-group peerGroupName | * ] [ vrf vrfName ]
[ ipv4 unicast | ipv4 multicast | vpnv4 unicast | l2vpn | route-target signaling ]
[ soft [ in [ prefix-filter ] | out ] ]
- ipAddressIP address of identified BGP neighbor to clear
- ipv6AddressIPv6 address of identified BGP neighbor to clear
- peerGroupNameName of a BGP peer group to clear
- *Clears all connections
- vrfNameName of a virtual routing and forwarding instance to clear
- ipv4 unicastClears the IPv4 unicast routing table; the default option
- ipv4 multicastClears the IPv4 multicast routing table
- vpnv4 unicastClears the VPNv4 unicast routing and forwarding table
- l2vpnClears the L2VPN reachability information
- route-target signalingClears the route-target membership information
- softSpecifies soft reconfiguration
- inTriggers inbound soft reconfiguration
- prefix-filterPushes out prefix list and Cisco-proprietary prefix list outbound route filters and triggers inbound soft reconfiguration
- outTriggers outbound soft reconfiguration
Privileged Exec
Release Information Command introduced before JUNOSe Release 7.1.0.
l2vpn keyword added in JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.
route-target signaling keywords added in JUNOSe Release 8.2.0.