VPN Interface SVI Feature Template
The below example configures a global vpn 10 SVI template.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”edge_feature_templates (sdwan)
Section titled “edge_feature_templates (sdwan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| svi_interface_templates | List | [svi_interface_templates] | No |
svi_interface_templates (sdwan.edge_feature_templates)
Section titled “svi_interface_templates (sdwan.edge_feature_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[^<>!&" ]{1,128}$ | Yes | |
| description | String | Yes | ||
| device_types | List | Choice[C1111-4PLTEEA, C1161-8P, C1117-4PLTEEAW, C8200-1N-4T, C1121X-8P, ISR-4331, C1127X-8PMLTEP, C1117-4PMLTEEAWE, ISR-4451-X, C8200L-1N-4T, C1113-8PLTEEA, IR-1821, ISR-4321, C1116-4PLTEEAWE, C1109-4PLTE2P, C1121-8P, C1111-8PLTEEAW, C1112-8PWE, C1101-4PLTEP, ISR1100-4GLTENA-XE, C1111-8PLTELA, IR-1835, C1121X-8PLTEP, IR-1833, C8300-1N1S-4T2X, C1121-4P, ISR-4351, C1117-4PLTELA, C1116-4PWE, C1113-8PM, IR-1831, C1127-8PLTEP, C1121-8PLTEPW, C1113-8PW, C1128-8PLTEP, C1113-8PLTEEAW, C1117-4PW, C1116-4P, C1113-8PMLTEEA, C1112-8P, ISR-4461, C1116-4PLTEEA, ISR-4221, C1117-4PM, C1113-8PLTELAWZ, C1117-4PMWE, C1131-8PLTEPW, C1109-2PLTEVZ, C1113-8P, C1117-4P, C8300-2N2S-6T, C1127-8PMLTEP, ISR-4221X, ISR1100-4GLTEGB-XE, C1109-2PLTEGB, C1113-8PLTEW, C1121X-8PLTEPW, ISR1100-6G-XE, C1121-4PLTEP, C1111-8PLTEEA, C1117-4PLTEEA, C1127X-8PLTEP, C1109-2PLTEUS, C1112-8PLTEEAWE, C1161X-8P, C1111-8PW, C1161X-8PLTEP, C1101-4PLTEPW, ISR1100X-4G-XE, IR-1101, C1111-4P, C1111-4PW, C1111-8P, C1117-4PMLTEEA, C1113-8PLTELA, C1131X-8PW, C1111-8PLTELAW, C1131-8PW, C1161-8PLTEP, ISR1100X-6G-XE, ISR-4431, C1101-4P, C1109-4PLTE2PW, C1113-8PMWE, C1118-8P, C8300-1N1S-6T, C1126-8PLTEP, C1121-8PLTEP, C8300-2N2S-4T2X, C1131X-8PLTEPW, C1112-8PLTEEA, C1111-4PLTELA, C1111X-8P, C1126X-8PLTEP, C8000V, ISR1100-4G-XE, C1117-4PLTELAWZ] | No | |
| arp_timeout | Integer | min: 0, max: 2147483 | No | |
| arp_timeout_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| interface_description | String | No | ||
| interface_description_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| interface_name | String | starts_with: Vlan | No | |
| interface_name_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ip_directed_broadcast | Boolean | true, false | No | |
| ip_directed_broadcast_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ip_mtu | Integer | min: 576, max: 9216 | No | |
| ip_mtu_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv4_address | IP | No | ||
| ipv4_address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv4_dhcp_helpers | List | IP | No | |
| ipv4_dhcp_helpers_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv4_egress_access_list | String | No | ||
| ipv4_egress_access_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv4_ingress_access_list | String | No | ||
| ipv4_ingress_access_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv4_secondary_addresses | List | [ipv4_secondary_addresses] | No | |
| ipv4_vrrp_groups | List | [ipv4_vrrp_groups] | No | |
| ipv6_address | IP | No | ||
| ipv6_address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv6_dhcp_helpers | List | [ipv6_dhcp_helpers] | No | |
| ipv6_egress_access_list | String | No | ||
| ipv6_egress_access_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv6_ingress_access_list | String | No | ||
| ipv6_ingress_access_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| ipv6_secondary_addresses | List | [ipv6_secondary_addresses] | No | |
| ipv6_vrrp_groups | List | [ipv6_vrrp_groups] | No | |
| mtu | Integer | min: 1500, max: 9216 | No | |
| mtu_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| shutdown | Boolean | true, false | No | |
| shutdown_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| static_arps | List | [static_arps] | No | |
| tcp_mss | Integer | min: 500, max: 1460 | No | |
| tcp_mss_variable | String | Regex: ^[^"~$&+,]255$` | No |
ipv4_secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “ipv4_secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No |
ipv4_vrrp_groups (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “ipv4_vrrp_groups (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| id | Integer | min: 1, max: 255 | No | |
| id_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| optional | Boolean | true, false | No | |
| priority | Integer | min: 1, max: 254 | No | |
| priority_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| secondary_addresses | List | [secondary_addresses] | No | |
| timer | Integer | min: 100, max: 40950 | No | |
| timer_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| tloc_preference_change | Boolean | true, false | No | |
| tloc_preference_change_value | Integer | min: 1, max: 4294967295 | No | |
| tloc_preference_change_value_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| track_prefix_list | String | No | ||
| track_prefix_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| track_omp | Boolean | true, false | No | |
| track_omp_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| tracking_objects | List | [tracking_objects] | No |
ipv6_dhcp_helpers (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “ipv6_dhcp_helpers (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| vpn_id | Integer | min: 1, max: 65536 | No | |
| vpn_id_variable | String | Regex: ^[^"~$&+,]255$` | No |
ipv6_secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “ipv6_secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No |
ipv6_vrrp_groups (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “ipv6_vrrp_groups (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 255 | No | |
| id_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| global_prefix | IP | No | ||
| global_prefix_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| link_local_address | IP | No | ||
| link_local_address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| optional | Boolean | true, false | No | |
| priority | Integer | min: 1, max: 254 | No | |
| priority_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| secondary_addresses | List | [secondary_addresses] | No | |
| timer | Integer | min: 100, max: 40950 | No | |
| timer_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| track_prefix_list | String | No | ||
| track_prefix_list_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| track_omp | Boolean | true, false | No | |
| track_omp_variable | String | Regex: ^[^"~$&+,]255$` | No |
static_arps (sdwan.edge_feature_templates.svi_interface_templates)
Section titled “static_arps (sdwan.edge_feature_templates.svi_interface_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ip_address | IP | No | ||
| ip_address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| mac_address | String | Regex: ^(([a-fA-F\d]{2}:){5}[a-fA-F\d]{2})$ | No | |
| mac_address_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| optional | Boolean | true, false | No |
secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates.ipv4_vrrp_groups)
Section titled “secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates.ipv4_vrrp_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No |
tracking_objects (sdwan.edge_feature_templates.svi_interface_templates.ipv4_vrrp_groups)
Section titled “tracking_objects (sdwan.edge_feature_templates.svi_interface_templates.ipv4_vrrp_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| action | Choice | decrement, shutdown | No | |
| action_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| decrement_value | Integer | min: 1, max: 255 | No | |
| decrement_value_variable | String | Regex: ^[^"~$&+,]255$` | No | |
| id | Integer | min: 1, max: 1000 | No | |
| id_variable | String | Regex: ^[^"~$&+,]255$` | No |
secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates.ipv6_vrrp_groups)
Section titled “secondary_addresses (sdwan.edge_feature_templates.svi_interface_templates.ipv6_vrrp_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| address | IP | No | ||
| address_variable | String | Regex: ^[^"~$&+,]255$` | No |
Examples
Section titled “Examples”Example-1 : In the following example , VPN10 SVI interface will be configured , which would define interface name , description and ipv4 address. There is also a reference to already defined ACL in the inbound direction and global dhcp helpers. Lastly , VRRP has been configured to complete the configuration of SVI interface.
sdwan: edge_feature_templates: svi_interface_templates: - name: GLOBAL-SVI1-VPN10-INTF description: "VPN10-SVI-INTF" interface_description_variable: vpn10_svi1_if_description interface_name_variable: vpn10_svi1_if_name ipv4_address_variable: vpn10_svi1_ipv4_address ipv4_ingress_access_list: QOS_ACL_IN shutdown: false ipv4_dhcp_helpers: - 10.10.10.4 - 10.10.10.5 ipv4_vrrp_groups: - address_variable: vpn10_svi1_ipv4_vrrp_ip id: 1 optional: false priority_variable: vpn10_svi1_ipv4_vrrp_priority secondary_addresses: - address_variable: abcd timer: 1000 track_prefix_list: abcd track_omp: false tracking_objects: - action: decrement decrement_value: 3 id: 1