Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

## Related Documentation

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

# 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 Documentation

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

#### Published: 2011-04-07

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out