Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear bgp table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear bgp table table-name
<logical-system (all | logical-system-name)>

Syntax (EX Series Switch and QFX Series)

content_copy zoom_out_map
clear bgp table table-name

Description

Request that BGP refresh routes in a specified routing table.

Options

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

table-name

Request that BGP refresh routes in the specified table.

Additional Information

In some cases, a prefix limit is associated with a routing table for a VPN instance. When this limit is exceeded (for example, because of a network misconfiguration), some routes might not be inserted in the table. Such routes need to be added to the table after the network issue is resolved. Use the clear bgp table command to request that BGP refresh routes in a VPN instance table.

Required Privilege Level

clear

Output Fields

This command produces no output.

Sample Output

clear bgp table private.inet.0

content_copy zoom_out_map
user@host> clear bgp table private.inet.0

clear bgp table inet.6 logical-system all

content_copy zoom_out_map
user@host> clear bgp table inet.6 logical-system all 

clear bgp table private.inet.6 logical-system ls1

content_copy zoom_out_map
user@host> clear bgp table private.inet.6 logical-system ls1 

clear bgp table logical-system all inet.0

content_copy zoom_out_map
user@host> clear bgp table logical-system all inet.0

clear bgp table logical-system ls2 private.inet.0

content_copy zoom_out_map
user@host> clear bgp table logical-system ls2 private.inet.0 

Release Information

Command introduced in Junos OS Release 9.0.

footer-navigation