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