Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 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 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
    ------------------------------



  • 5.  RE: BGP Shutdown

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


  • 6.  RE: BGP Shutdown

    Posted 10-06-2021 14:47
    Completely overlooked that, thanks for pointing it out.

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



  • 7.  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


  • 8.  RE: BGP Shutdown

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

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



  • 9.  RE: BGP Shutdown

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

    Elvin