Table of Contents

Class NetworksSwitchPortsProfilePort

Namespace
Meraki.Api.Data
Assembly
Meraki.Api.dll

Port profile attributes

[DataContract]
public class NetworksSwitchPortsProfilePort
Inheritance
NetworksSwitchPortsProfilePort
Inherited Members

Constructors

NetworksSwitchPortsProfilePort()

public NetworksSwitchPortsProfilePort()

Properties

AccessPolicyNumber

The type of the access policy of the port profile. Only applicable to access ports.

[DataMember(Name = "accessPolicyNumber")]
[ApiAccess(ApiAccess.ReadWrite)]
public NetworksSwitchPortsProfilePortAccessPolicyNumber? AccessPolicyNumber { get; set; }

Property Value

NetworksSwitchPortsProfilePortAccessPolicyNumber?

AccessPolicyType

The number of a custom access policy to configure on the port profile. Only applicable when 'accessPolicyType' is 'Custom access policy'.

[DataMember(Name = "accessPolicyType")]
[ApiAccess(ApiAccess.ReadWrite)]
public string? AccessPolicyType { get; set; }

Property Value

string

AdaptivePolicyGroupId

The adaptive policy group ID that will be used to tag traffic through this port profile. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API.

[DataMember(Name = "adaptivePolicyGroupId")]
[ApiAccess(ApiAccess.ReadWrite)]
public string? AdaptivePolicyGroupId { get; set; }

Property Value

string

AllowedVlans

The VLANs allowed on the port profile. Only applicable to trunk ports.

[DataMember(Name = "allowedVlans")]
[ApiAccess(ApiAccess.ReadWrite)]
public string? AllowedVlans { get; set; }

Property Value

string

DaiTrusted

If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.

[DataMember(Name = "daiTrusted")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? DaiTrusted { get; set; }

Property Value

bool?

IsolationEnabled

The isolation status of the port profile.

[DataMember(Name = "isolationEnabled")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? IsolationEnabled { get; set; }

Property Value

bool?

MacAllowList

Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.

[DataMember(Name = "macAllowList")]
[ApiAccess(ApiAccess.ReadWrite)]
public List<string>? MacAllowList { get; set; }

Property Value

List<string>

PeerSgtCapable

If true, Peer SGT is enabled for traffic through this port profile. Applicable to trunk ports only.

[DataMember(Name = "peerSgtCapable")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? PeerSgtCapable { get; set; }

Property Value

bool?

PoeEnabled

The PoE status of the port profile.

[DataMember(Name = "poeEnabled")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? PoeEnabled { get; set; }

Property Value

bool?

RstpEnabled

The rapid spanning tree protocol status.

[DataMember(Name = "rstpEnabled")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? RstpEnabled { get; set; }

Property Value

bool?

StickyMacAllowList

The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.

[DataMember(Name = "stickyMacAllowList")]
[ApiAccess(ApiAccess.ReadWrite)]
public List<string>? StickyMacAllowList { get; set; }

Property Value

List<string>

StickyMacAllowListLimit

The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.

[DataMember(Name = "stickyMacAllowListLimit")]
[ApiAccess(ApiAccess.ReadWrite)]
public int? StickyMacAllowListLimit { get; set; }

Property Value

int?

StormControlEnabled

The storm control status of the port profile.

[DataMember(Name = "stormControlEnabled")]
[ApiAccess(ApiAccess.ReadWrite)]
public bool? StormControlEnabled { get; set; }

Property Value

bool?

StpGuard

The state of the STP guard.

[DataMember(Name = "stpGuard")]
[ApiAccess(ApiAccess.ReadWrite)]
public StpGuard? StpGuard { get; set; }

Property Value

StpGuard?

Type

The type of the port profile.

[DataMember(Name = "type")]
[ApiAccess(ApiAccess.ReadWrite)]
public NetworksSwitchPortsProfilePortType? Type { get; set; }

Property Value

NetworksSwitchPortsProfilePortType?

Udld

The action to take when Unidirectional Link is detected. LinkDefault configuration is Alert only.

[DataMember(Name = "udld")]
[ApiAccess(ApiAccess.ReadWrite)]
public Udld? Udld { get; set; }

Property Value

Udld?

Vlan

The VLAN of the port profile. A null value will clear the value set for trunk ports.

[DataMember(Name = "vlan")]
[ApiAccess(ApiAccess.ReadWrite)]
public int? Vlan { get; set; }

Property Value

int?

VoiceVlan

The voice VLAN of the port profile. Only applicable to access ports.

[DataMember(Name = "voiceVlan")]
[ApiAccess(ApiAccess.ReadWrite)]
public int? VoiceVlan { get; set; }

Property Value

int?