auto-inactivate specific VPN Gateway by zyxel shell script

We would like to auto-inactivate 1 specific VPN Gateway in Zywall 1100 by zyxel shell script. Can anyone share this experience ?

I tried the below command , but got the system prompt "% Insufficient privilege".
crypto isakmp policy TestVPN deactivate
crypto map TestVPN-DATA deactivate

All Replies

  • Zyxel_Kevin
    Zyxel_Kevin Posts: 875  Zyxel Employee
    Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 500 Comments

    Hi @JackHeung ,

    Please kindly perform the following CLI to enter config mode at first.

    Router# configure terminal
    Router(config)# no isakmp policy TestVPN
    Router(config)# no crypto map TestVPN-DATA

    Thank you

Security Highlight