# clear bgp ipv6

#### Syntax

clear bgp ipv6 [ unicast | multicast | vpnv6 | route-target signaling ]
[ ipAddress | ipv6Address | peer-group peerGroupName | * ] [ vrf vrfName ]
[ soft [ in | out ] ]

#### Release Information

Command introduced before 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.

#### Description

Resets the IPv6 BGP session. 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 peer(s). 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

- unicast—Clears the unicast routing table; the default option
- multicast—Clears the multicast routing table
- vpnv6—Clears the VPNv6 unicast routing and forwarding table
- route-target signaling—Clears the route-target membership information
- 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
- soft—Specifies soft reconfiguration
  - in—Triggers inbound soft reconfiguration
  - out—Triggers outbound soft reconfiguration

#### Mode

Privileged Exec