clear ip bgp

Syntax

clear ip bgp [ ipAddress | ipv6Address | peer-group peerGroupName
| * ] [ vrf vrfName ]
[ ipv4 unicast | ipv4 multicast | vpnv4 unicast | l2vpn all | l2vpn vpls vplsName |
l2vpn vpws vpwsName | route-target signaling ] soft [ in [ prefix-filter ] | out ] ]

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.
all, vpls, and vpws keywords and vplsName and vpwsName variables added in JunosE Release 9.3.0.

Description

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.

Options

Mode

Privileged Exec

Related Documentation