Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    clear bgp table

    Syntax

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

    Syntax (EX Series Switch and QFX Series)

    clear bgp table table-name

    Release Information

    Command introduced in Junos OS Release 9.0.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Command introduced in Junos OS Release 11.3 for the QFX Series.

    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

    List of Sample Output

    clear bgp table private.inet.0
    clear bgp table inet.6 logical-system all
    clear bgp table private.inet.6 logical-system ls1
    clear bgp table logical-system all inet.0
    clear bgp table logical-system ls2 private.inet.0

    Output Fields

    This command produces no output.

    Sample Output

    clear bgp table private.inet.0

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

    clear bgp table inet.6 logical-system all

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

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

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

    clear bgp table logical-system all inet.0

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

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

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

    Published: 2013-08-15