[Contents] [Prev] [Next] [Index] [Report an Error]

# 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

- ipAddress—IP address of identified BGP neighbor to clear
- ipv6Address—IPv6 address of identified BGP neighbor to clear
- peerGroupName—Name of a BGP peer group to clear
- *—Clears all connections
- vrfName—Name of a virtual routing and forwarding instance to clear
- ipv4 unicast—Clears the IPv4 unicast routing table; the default option
- ipv4 multicast—Clears the IPv4 multicast routing table
- vpnv4 unicast—Clears the VPNv4 unicast routing and forwarding table
- l2vpn all—Clears the L2VPN reachability information for all VPLS and VPWS instances in the L2VPN address family
- l2vpn vpls vplsName—Clears the L2VPN reachability information for the VPLS instance with the name vplsName
- l2vpn vpws vpwsName—Clears the L2VPN reachability information for the VPWS instance with the name vpwsName
- route-target signaling—Clears the route-target membership information
- soft—Specifies soft reconfiguration
  - in—Triggers inbound soft reconfiguration
  - prefix-filter—Pushes out prefix list and Cisco-proprietary prefix list outbound route filters and triggers inbound soft reconfiguration
  - out—Triggers outbound soft reconfiguration

#### Mode

Privileged Exec

#### Related Topics

- Clearing BGP Attributes for L2VPNs Clearing BGP Attributes for VPLS in the JUNOSe BGP and MPLS Configuration Guide

[Contents] [Prev] [Next] [Index] [Report an Error]