Skip to content

Appliance Ports

Dashboard Location: Security and SD-WAN > Configure > Addressing & VLANs > Port Configuration

Appliance port configuration in Meraki provides comprehensive LAN port management for network segmentation, VLAN assignment, and access control. This functionality enables organizations to create secure network boundaries, implement network isolation policies, and support diverse connectivity requirements across different network segments. Port configuration supports both trunk and access modes, enabling flexible network architecture designs while maintaining security through granular access policies and VLAN-based network segmentation.

Diagram

appliance (meraki.domains.organizations.networks)

Section titled “appliance (meraki.domains.organizations.networks)”
NameTypeConstraintMandatoryDefault Value
portsList[ports]No

ports (meraki.domains.organizations.networks.appliance)

Section titled “ports (meraki.domains.organizations.networks.appliance)”
NameTypeConstraintMandatoryDefault Value
port_id_rangesList[port_id_ranges]Yes
enabledBooleantrue, falseNo
drop_untagged_trafficBooleantrue, falseNo
typeChoiceaccess, trunkNo
vlanAnyInteger[min: 1, max: 4094] or String[matches: `(?:[1-9][1-9][0-9][1-9][0-9]2
allowed_vlansAnyInteger[min: 1, max: 4094] or String[matches: `(?:[1-9][1-9][0-9][1-9][0-9]2
access_policyChoiceopen, 8021x-radius, mac-radius, hybris-radiusNo

port_id_ranges (meraki.domains.organizations.networks.appliance.ports)

Section titled “port_id_ranges (meraki.domains.organizations.networks.appliance.ports)”
NameTypeConstraintMandatoryDefault Value
fromAnyInteger[min: 1, max: 24] or String[matches: ^\d{1,3}$]Yes
toAnyInteger[min: 1, max: 24] or String[matches: ^\d{1,3}$]Yes

Example-1: The example below demonstrates appliance port configuration.

This configuration manages MX appliance port settings for WAN connectivity and LAN access, including port-specific configurations for trunking, VLAN assignment, and access policies. It allows flexible network segmentation and supports both multi-VLAN trunk connections and dedicated access ports. Port 5: Configured as an access port on VLAN 10, enabled for active operation. Port 6: Configured as a trunk port allowing VLAN 10, enabled for multi-VLAN traffic toward switches or uplinks. Ports 7-8 and 10: Configured as access ports on VLAN 20, with access_policy: open, allowing unrestricted connectivity for connected devices. Port 9: Configured as a trunk port allowing VLANs 10, 20, 30, enabled for uplinks requiring multiple VLANs. Ports 11-13: Configured as access ports on VLAN 20, enabled for active operation. Port 14: Configured as a trunk port allowing VLAN 20, enabled for multi-VLAN connectivity. All ports are enabled: true, ensuring active operation. Trunk ports support VLAN tagging for switch uplinks, while access ports provide dedicated VLAN connectivity for end devices. This configuration enables flexible and secure network segmentation tailored to different connectivity requirements.

meraki:
domains:
- name: !env domain
administrator:
name: !env org_admin
organizations:
- name: !env org
networks:
- name: !env network_name
product_types:
- appliance
- switch
- wireless
- camera
- sensor
- cellularGateway
appliance:
ports:
- port_id_ranges:
- from: 5
to: 5
enabled: true
type: access
vlan: 10
- port_id_ranges:
- from: 6
to: 6
enabled: true
type: trunk
allowed_vlans: 10
- port_id_ranges:
- from: 7
to: 8
- from: 10
to: 10
enabled: true
type: access
vlan: 20
access_policy: open
- port_id_ranges:
- from: 9
to: 9
enabled: true
type: trunk
allowed_vlans: 10,20,30
- port_id_ranges:
- from: 11
to: 13
enabled: true
type: access
vlan: 20
- port_id_ranges:
- from: 14
to: 14
enabled: true
type: trunk
allowed_vlans: 20