VLANs
Location in Dashboard: Security and SD-WAN
>> Configure
>> Addressing & VLANs
>> Routing
Diagram
Classes
appliance (meraki.domains.organizations.networks)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vlans | List | [vlans] | No |
vlans (meraki.domains.organizations.networks.appliance)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | min: 1 , max: 127 | No | |
subnet | String | Regex: ^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\/([1-9]|[12][0-9]|3[0-2])$ | No | |
appliance_ip | IP | No | ||
template_vlan_type | Choice | same , unique | No | |
cidr | String | Regex: ^(?i:any|(\d{1,3}\.){3}\d{1,3}(\/\d{1,2})?)(,(any|(\d{1,3}\.){3}\d{1,3}(\/\d{1,2})?))*$ | No | |
mask | Integer | min: 0 , max: 32 | No | |
ipv6 | Class | [ipv6] | No | |
dhcp_handling | Choice | Do not respond to DHCP requests , Relay DHCP to another server , Run a DHCP server | No | |
dhcp_lease_time | Choice | 1 day , 1 hour , 1 week , 12 hours , 30 minutes , 4 hours | No | |
mandatory_dhcp | Boolean | true , false | No | |
dhcp_options | List | [dhcp_options] | No | |
dhcp_boot_options | Boolean | true , false | No | |
group_policy_name | String | min: 1 , max: 127 | No | |
vlan_id | Any | Integer[min: 1 , max: 4094 ] or String[matches: `(?:[1-9] | [1-9][0-9] | [1-9][0-9]2 |
vpn_nat_subnet | String | Regex: ^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\/([1-9]|[12][0-9]|3[0-2])$ | No | |
dhcp_relay_server_ips | List | IP | No | |
dhcp_boot_next_server | IP | No | ||
dhcp_boot_filename | String | min: 1 , max: 127 | No | |
fixed_ip_assignments | Class | [fixed_ip_assignments] | No | |
reserved_ip_ranges | List | [reserved_ip_ranges] | No | |
dns_nameservers | String | Regex: ^(upstream_dns|google_dns|opendns|custom)$ | No |
ipv6 (meraki.domains.organizations.networks.appliance.vlans)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
enabled | Boolean | true , false | No | |
prefix_assignments | List | [prefix_assignments] | No |
dhcp_options (meraki.domains.organizations.networks.appliance.vlans)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
code | String | Regex: ^([2-9]|1[0-9][0-9]?|2[0-9]|2[0-5][0-4]|[3-9][0-9])$ | Yes | |
type | Choice | hex , integer , ip , text | Yes | |
value | String | min: 1 , max: 127 | Yes |
fixed_ip_assignments (meraki.domains.organizations.networks.appliance.vlans)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | No | ||
name | String | min: 1 , max: 127 | No |
reserved_ip_ranges (meraki.domains.organizations.networks.appliance.vlans)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
start | IP | Yes | ||
end | IP | Yes | ||
comment | String | min: 1 , max: 127 | Yes |
prefix_assignments (meraki.domains.organizations.networks.appliance.vlans.ipv6)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
autonomous | Boolean | true , false | No | |
static_prefix | IP | No | ||
static_appliance_ip6 | IP | No | ||
origin | Class | [origin] | No |
origin (meraki.domains.organizations.networks.appliance.vlans.ipv6.prefix_assignments)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
type | Choice | independent , internet | Yes | |
interfaces | List | String[min: 1 , max: 10 ] | No |
Config Sample
meraki: domains: - name: EMEA administrator: name: Foo Bar organizations: - name: Dev networks: - name: Dev-main-cx-provider product_types: - appliance - camera - switch - wireless appliance: # single_lan: # subnet: "192.168.1.0/24" # appliance_ip: "192.168.1.1" # # ipv6: # # enabled: true # # prefix_assignments: # # - autonomous: true # # static_prefix: "2001:db8::/32" # # static_appliance_ip6: "2001:db8::1" # mandatory_dhcp: true vlans: # - vlan_id: 1 # name: "Default" # subnet: "192.168.128.0/24" # appliance_ip: "192.168.128.1" - vlan_id: 10 name: "VLAN10" subnet: "192.168.10.0/24" appliance_ip: "192.168.10.1" dhcp_handling: "Run a DHCP server" dhcp_lease_time: "1 day" dhcp_boot_options: false dhcp_options: - code: "66" type: "text" value: "tftp.example.com" - code: "67" type: "text" value: "bootfile" reserved_ip_ranges: - start: "192.168.10.40" end: "192.168.10.50" comment: "Reserved for printers" dns_nameservers: "8.8.8.8" # vpn_nat_subnet: "192.168.10.0/24" mandatory_dhcp: true # ipv6: # enabled: true # prefix_assignments: # - autonomous: true # static_prefix: "2001:db8::/32" # static_appliance_ip6: "2001:db8::1" # origin: # type: "independent" # interfaces: # - "6" - vlan_id: 20 name: "VLAN20" subnet: "192.168.20.0/24" appliance_ip: "192.168.20.1" dhcp_handling: "Run a DHCP server" dhcp_lease_time: "1 day" dhcp_boot_options: false dhcp_options: - code: "66" type: "text" value: "tftp.example.com" - code: "67" type: "text" value: "bootfile" reserved_ip_ranges: - start: "192.168.20.40" end: "192.168.20.50" comment: "Reserved for printers" dns_nameservers: "8.8.8.8" # vpn_nat_subnet: "192.168.20.0/24" mandatory_dhcp: true # - vlan_id: 1234 # name: "My VLAN" # subnet: "192.168.1.0/24" # appliance_ip: "192.168.1.1" # dhcp_handling: "Run a DHCP server" # dhcp_lease_time: "1 day" # dhcp_boot_options: false # dhcp_options: # - code: "66" # type: "text" # value: "tftp.example.com" # - code: "67" # type: "text" # value: "bootfile" # reserved_ip_ranges: # - start: "192.168.1.40" # end: "192.168.1.50" # comment: "Reserved for printers" # dns_nameservers: "8.8.8.8" # # vpn_nat_subnet: "192.168.20.0/24" # mandatory_dhcp: true