The protect lsp-tunnel for-all-instance peer-ip command configures a protection tunnel template for both the public network and VPNs. After the command is run, a public protection tunnel is automatically created, and a VPN protection tunnel is created upon user login. This command does not require you to configure a protection tunnel for each VPN, simplifying tunnel configuration.
To configure a specific public protection tunnel, run the protect tnl-policy policy-name peer-ip ip-address [ interface interface-type interface-number ] command. To configure a specific VPN protection tunnel, run the protect ip-vpn-instance vpn-instance-name peer-ip ip-address [ interface interface-type interface-number ] command. Manual tunnel configuration takes effect only for IPv4. IPv6 still uses simplified tunnels for forwarding.
To configure a specific public protection tunnel, run the protect tnl-policy policy-name peer-ip ip-address [ interface interface-type interface-number ] command. To configure a specific VPN protection tunnel, run the protect ip-vpn-instance vpn-instance-name peer-ip ip-address [ interface interface-type interface-number ] command. If the two commands and the protect lsp-tunnel for-all-instance peer-ip command are all run, the protect lsp-tunnel for-all-instance peer-ip command takes precedence. Manual tunnel configuration takes effect only for IPv4. IPv6 still uses simplified tunnels for forwarding.