Skip to main content

Zone List

Zones defines the VPN List or Interface List that can be used in Security Policies.

Diagram

Classes

policy_objects (sdwan)

NameTypeConstraintMandatoryDefault Value
zonesList[zones]No

zones (sdwan.policy_objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[A-Za-z0-9\-_]{1,32}$Yes
vpn_idsListInteger[min: 0, max: 65530]No
interfacesListString[Regex: ^(Ethernet|FastEthernet|FiveGigabitEthernet|FortyGigabitEthernet|GigabitEthernet|HundredGigE|Loopback|TenGigabitEthernet|Tunnel|TwentyFiveGigabitEthernet|TwentyFiveGigE|TwoGigabitEthernet|VirtualPortGroup|Vlan)(([1-9]\d|\d)\/){0,2}(0|[1-9]\d*)([:|.][1-9]\d*)?]No

Examples

Example-1: This example shows the zone list configuration including a single VPN, in this case only VPN 1.

sdwan:
policy_objects:
zones:
- name: Zone_VPN1
vpn_ids:
- 1

Example-2: This example shows the zone list configuration including two VPNs, in this case includes VPN 1 and VPN 2

sdwan:
policy_objects:
zones:
- name: Zone_VPN1_2
vpn_ids:
- 1
- 2

Example-3: This example shows the zone list configuration including one interface, in this case includes interface GigabitEthernet0.

sdwan:
policy_objects:
zones:
- name: Zone_INT_Gi0
interfaces:
- GigabitEthernet0

Example-4: This example shows the zone list configuration including two interfaces, in this case includes interfaces GigabitEthernet0 and GigabitEthernet1.

sdwan:
policy_objects:
zones:
- name: Zone_INT_Gi0_Gi1
interfaces:
- GigabitEthernet0
- GigabitEthernet1

Example-5: This example shows two zone lists configuration including several VPNs and few interfaces, in this case includes interfaces GigabitEthernet0 and GigabitEthernet1.

sdwan:
policy_objects:
zones:
- name: zone_1_vpn
vpn_ids:
- 0
- 10
- 500
- 65530
- name: zone_2_interface
interfaces:
- Ethernet0/1
- GigabitEthernet1/10