Junos OS

last person joined: 19 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  BGP neighbor authentication-key syntax error

    Posted 06-20-2012 01:18

    Hi experts,

     

    I had encountered the syntax error when I configure the bgp neighbor

     

    set protocols bgp group m_ebgp neighbor 22.33.74.xx authentication-key v@fg&umodsl320cA

     

    Is there any reserve key can't be use ? I found the error is due to "&" key word, but I got no issue if I create system login user using same password.

     

    Please advise.

     

    Thanks



  • 2.  RE: BGP neighbor authentication-key syntax error
    Best Answer

     
    Posted 06-20-2012 02:48

    hi,

    enclose the key in quotation marks:


    admin@gw# set protocols bgp group m_ebgp neighbor 22.33.74.1 authentication-key "v@fg&umodsl320cA"

    Documentation says:
    key—Authentication password. It can be up to 126 characters. Characters can include any ASCII strings. If you include spaces, enclose all characters in quotation marks (“ ”).
    jtb