Hi everyone,
does this still work? https://documentation.meraki.com/MX/Site-to-site_VPN/Tag-Based_IPsec_VPN_Failover
I'm struggling with the point that I have to use a backup tag that doesn't exist on a network yet. I added two tags to the network with "primary up" and "backup down", but the documentation says I need to add the tag "backup up" to the vpn availability. How do I do that, because I can only add a tag that is already tagged on a network.
Thanks
Fabian
Solved! Go to solution.
The solution is a bit dirty
You have to add the tag <location_backup_up> to a network. Next you use that tag on the availability of the backup VPN.
Now you can remove the tag from the network again. The availability on the VPN will be blank, but if you use the script it will change the tag <primary_up> to down and <backup_down> to up. That will make the tag appear on the VPN and primary_up will disappear.
Added the script with some changes to an AWS Lambda, works great!
If I'm not mistaken the script is renaming the tag from whatever its default state is. So, the backup_up tag for example wouldn't normally exist until the script creates it based on detected loss.
The solution is a bit dirty
You have to add the tag <location_backup_up> to a network. Next you use that tag on the availability of the backup VPN.
Now you can remove the tag from the network again. The availability on the VPN will be blank, but if you use the script it will change the tag <primary_up> to down and <backup_down> to up. That will make the tag appear on the VPN and primary_up will disappear.
Added the script with some changes to an AWS Lambda, works great!
Hi @Fabian1, any chance you could share your AWS Lambda script for Meraki tag based failover? Thanks
Hi @Fabian1 i am going to have warm spare MX with ISP2 public IP. One non meraki vpn tunnel is established to our Csr1000v1 in azure, and from warm spare i want to establish tunnel to CSR1000v2. I have no idea, where do you deploy the scrpt primary_link up and backup_up. Is it at meraki side or will be in Azure. I am new to this API thing. If you can share steps so that i will follow them to implement. Thanks