VPN Cli Command

Options
Fred_77
Fred_77 Posts: 115  Ally Member
First Anniversary 10 Comments Friend Collector First Answer

Hi all,

my question is: is there a cli command to reconnect a dropped vpn (ipsec site-to-site)?

my issue: atp 100 is in a customer HQ; usg 60 is in branch office.

Since a brand new ftth line has been installed in branch, vpn drops often and even if "nailed up" option in enabled, sometimes vpn fails reconnect and a manual action is required.

But it means : customer call (not so happy), remote connection to atp and manual click on "Connect".

If a i could provide a script to the customare, he could reconnect vpn itself.

Thanks in advance

Fred

Accepted Solution

  • Zyxel_Emily
    Zyxel_Emily Posts: 1,315  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    edited August 2023 Answer ✓
    Options

    Hi @Fred_77,

    Here is the command.

    Router> configure terminal
    Router(config)# crypto map dial <VPN connection name>

All Replies

  • Zyxel_Emily
    Zyxel_Emily Posts: 1,315  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    edited August 2023 Answer ✓
    Options

    Hi @Fred_77,

    Here is the command.

    Router> configure terminal
    Router(config)# crypto map dial <VPN connection name>

  • Fred_77
    Fred_77 Posts: 115  Ally Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options

    Hi @Zyxel_Emily

    thanks for your reply,

    i forgot to mention a second question: is there a command to login on to ATP?

    The goal should be create an "icon" where the user click on to "easy" reconnect dropped vpn without any other request or input.

    Thanks

    Fred

  • Fred_77
    Fred_77 Posts: 115  Ally Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options

    😴 Ooops… next time "Think Before Talk"…

    Obvioulsy is sufficient to insert the parameters in the connection string. 😫

    Sorry…

    Fred

Security Highlight