How to Configure SD-WAN on VPN Numbered Tunnels from Cli
03/26/2020 31 People found this article helpful 481,460 Views
Description
This Article details how to configure SD-WAN on VPN Numbered Tunnels from Cli
Resolution
1. Add VPN Policy 'VPN1'
admin@C0EAE4B1F5B2> config
config(C0EAE4B1F5B2)# vpn policy tunnel-interface VPN1
(add-tunnel-interface[VPN1])# gateway primary 10.1.1.1
(add-tunnel-interface[VPN1])# auth-method shared-secret
(add-tunnel-interface[VPN1])# bound-to interface X1
(add-tunnel-interface[VPN1])# proposal ike authentication sha-256
(add-tunnel-interface[VPN1])# proposal ike dh-group 2
(add-tunnel-interface[VPN1])# proposal ike encryption aes-128
(add-tunnel-interface[VPN1])# proposal ike exchange ikev2
(add-tunnel-interface[VPN1])# proposal ike lifetime 28800
(add-tunnel-interface[VPN1])# proposal ipsec authentication sha-256
(add-tunnel-interface[VPN1])# proposal ipsec encryption aes-128
(add-tunnel-interface[VPN1])# proposal ipsec lifetime 28800
(add-tunnel-interface[VPN1])# proposal ipsec protocol esp
(auth-method-shared-secret[VPN1])# shared-secret S()nicw@ll
(auth-method-shared-secret[VPN1])# exit
(add-tunnel-interface[VPN1])# commit
(edit-tunnel-interface[VPN1])# exit
config(C0EAE4B1F5B2)#
2. Add VPN Policy 'VPN2'
config(C0EAE4B1F5B2)# vpn policy tunnel-interface VPN2
(add-tunnel-interface[VPN2])# gateway primary 20.1.1.1
(add-tunnel-interface[VPN2])# auth-method shared-secret
(add-tunnel-interface[VPN2])# bound-to interface X2
(add-tunnel-interface[VPN2])# proposal ike authentication sha-256
(add-tunnel-interface[VPN2])# proposal ike dh-group 2
(add-tunnel-interface[VPN2])# proposal ike encryption aes-128
(add-tunnel-interface[VPN2])# proposal ike exchange ikev2
(add-tunnel-interface[VPN2])# proposal ike lifetime 28800
(add-tunnel-interface[VPN2])# proposal ipsec authentication sha-256
(add-tunnel-interface[VPN2])# proposal ipsec encryption aes-128
(add-tunnel-interface[VPN2])# proposal ipsec lifetime 28800
(add-tunnel-interface[VPN2])# proposal ipsec protocol esp
(auth-method-shared-secret[VPN2])# shared-secret S()nicw@ll
(auth-method-shared-secret[VPN2])# exit
(add-tunnel-interface[VPN2])# commit
(edit-tunnel-interface[VPN2])# exit
config(C0EAE4B1F5B2)#
3. Add Numbered Tunnel Interface 'TI_1'
config(C0EAE4B1F5B2)# tunnel-interface vpn TI_1
(add-interface[TI_1])# policy VPN1
(add-interface[TI_1])# ip-assignment VPN static
(add-VPN-static)# ip 1.1.1.1 netmask 255.255.255.252
(add-VPN-static)# commit
(edit-VPN-static)# exit
(edit-interface[TI_1])# exit
config(C0EAE4B1F5B2)#
4. Add Numbered Tunnel Interface 'TI_2'
config(C0EAE4B1F5B2)# tunnel-interface vpn TI_2
(add-interface[TI_2])# policy VPN2
(add-interface[TI_2])# ip-assignment VPN static
(add-VPN-static)# ip 2.2.2.1 netmask 255.255.255.252
(add-VPN-static)# commit
(edit-VPN-static)# exit
(edit-interface[TI_2])# exit
config(C0EAE4B1F5B2)#
5. Configure SD-WAN Group 'Tunnel_Interface_Grp' and add Tunnel Interface 'TI_1', 'TI_2'.
config(C0EAE4B1F5B2)# sdwan
(config-sdwan)# group Tunnel_Interface_Grp
(add-group[Tunnel_Interface_Grp])# interface
(add-group[Tunnel_Interface_Grp])# interface TI_1
(add-group-member[TI_1])# priority 1
(add-group-member[TI_1])# exit
(add-group[Tunnel_Interface_Grp])# interface TI_2
(add-group-member[TI_2])# priority 2
(add-group-member[TI_2])# exit
(add-group[Tunnel_Interface_Grp])# commit
(edit-group[Tunnel_Interface_Grp])# exit
(config-sdwan)#
6. Add Performance Class Object 'Latency_Jitter 10ms'
(config-sdwan)# performance-class-object Latency_Jitter 10ms
(add-sdwan-performance-class-object[Latency_Jitter 10ms])# jitter 10
(add-sdwan-performance-class-object[Latency_Jitter 10ms])# latency 10
(add-sdwan-performance-class-object[Latency_Jitter 10ms])# packet-loss 0
(add-sdwan-performance-class-object[Latency_Jitter 10ms])# commit
(edit-sdwan-performance-class-object[Latency_Jitter 10ms])# exit
(config-sdwan)#
7. Add Path Selection Profile 'PSP_Citrix'
(config-sdwan)# path-selection-profile PSP_Citrix
(add-sdwan-path-selection-profile[PSP_Citrix])# performance-class Latency_Jitter 10ms
(add-sdwan-path-selection-profile[PSP_Citrix])# performance-probe VPN\ Probe\ -\ Tunnel_Interface_Grp
(add-sdwan-path-selection-profile[PSP_Citrix])# sdwan-group Tunnel_Interface_Grp
(add-sdwan-path-selection-profile[PSP_Citrix])# commit
(edit-sdwan-path-selection-profile[PSP_Citrix])# exit
(config-sdwan)# exit
8. Add SD-WAN Route
config(C0EAE4B1F5B2)# route-policy interface Tunnel_Interface_Grp metric 1 source ANY destination ANY service group Citrix path-selection-profile PSP_Citrix
(add-route-policy)# commit
(edit-route-policy)# exit
Related Articles
Categories
Was This Article Helpful?
YESNO