Junos OS

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

BGP Shutdown

  • 1.  BGP Shutdown

    Posted 09-19-2021 23:07
    New to Juniper - using MX204.

    What is the command to shutdown a BGP neighbor (for maintenance / etc)? There is no shutdown command listed under:

    edit protocols bgp group <name> neighbor <address>

    Same applies to graceful-shutdown. Documentation states MX204 supports but command is not present.

    Thanks,

    ------------------------------
    Dan Graham
    ------------------------------


  • 2.  RE: BGP Shutdown

    Posted 09-20-2021 05:30
    Hi,

    deactivate bgp neighbor.


    Thanks


  • 3.  RE: BGP Shutdown

     
    Posted 09-20-2021 05:30
    shutdown (Protocols BGP) | BGP User Guide | Juniper Networks TechLibrary
    graceful-shutdown (Protocols BGP) | BGP User Guide | Juniper Networks TechLibrary


  • 4.  RE: BGP Shutdown

    Posted 09-20-2021 05:30
    Use the deactivate keyword. Example, to deactivate peer 2.2.2.2, root@vMX1# deactivate protocols bgp group IBGP neighbor 2.2.2.2

    HTH,

    Elvin


  • 5.  RE: BGP Shutdown

    Posted 09-20-2021 12:51
    I had reviewed both of those.

    Neither of the commands are present on my system.

    MX204 Junos: 18.2R3-S5.3

    ------------------------------
    Dan Graham
    ------------------------------



  • 6.  RE: BGP Shutdown

    Posted 09-20-2021 12:51
    Thank you, that worked.

    ------------------------------
    Dan Graham
    ------------------------------



  • 7.  RE: BGP Shutdown

     
    Posted 09-20-2021 14:29
    Ack, both shutdown commands have been introduced in 19.1 like the documentation says.


  • 8.  RE: BGP Shutdown

    Posted 09-20-2021 15:55
    Glad it helped.

    Elvin


  • 9.  RE: BGP Shutdown

    Posted 17 days ago
    Completely overlooked that, thanks for pointing it out.

    ------------------------------
    Dan Graham
    ------------------------------