Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

clear bgp all

clear bgp all—Reset BGP peering sessions with all neighbors in a specific VPN (on vEdge routers only).

Command Syntax

clear bgp all vpn vpn-id

Options

None

Output Fields

After you clear a BGP neighbor connection, the UPTIME field shows no time value until the BGP session re-initializes itself. The STATE field shows "idle" until the session resumes.

Example Output

vEdge# show bgp neighbor vpn 1
                      MSG   MSG   OUT                                        
VPN  PEER ADDR    AS  RCVD  SENT  Q    UPTIME      STATE        AFI          
------------------------------------------------------------------------------
1    10.20.25.16  1   4884  4892  0    0:00:18:31  established  ipv4-unicast 

vEdge# clear bgp all vpn 1
vEdge# show bgp neighbor vpn 1
                      MSG   MSG   OUT                              
VPN  PEER ADDR    AS  RCVD  SENT  Q    UPTIME  STATE  AFI          
--------------------------------------------------------------------
1    10.20.25.16  1   4895  4904  0    -       idle   ipv4-unicast

Release Information

Command introduced in Viptela Software Release 14.1.

Additional Information

clear bgp neighbor
show bgp neighbor

  • Was this article helpful?