Table of Contents

Class Wan

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

WAN 1 settings

[DataContract]
public class Wan
Inheritance
Wan
Inherited Members

Properties

StaticDns

Up to two DNS IPs.

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "staticDns")]
public List<string> StaticDns { get; set; }

Property Value

List<string>

Up to two DNS IPs.

StaticGatewayIp

The IP of the gateway on the WAN.

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "staticGatewayIp")]
public string? StaticGatewayIp { get; set; }

Property Value

string

The IP of the gateway on the WAN.

StaticIp

The IP the device should use on the WAN.

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "staticIp")]
public string? StaticIp { get; set; }

Property Value

string

The IP the device should use on the WAN.

StaticSubnetMask

The subnet mask for the WAN.

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "staticSubnetMask")]
public string? StaticSubnetMask { get; set; }

Property Value

string

The subnet mask for the WAN.

UsingStaticIp

Configure the interface to have static IP settings or use DHCP.

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "usingStaticIp")]
public bool UsingStaticIp { get; set; }

Property Value

bool

Configure the interface to have static IP settings or use DHCP.

Vlan

The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.

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

Property Value

int?

The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.

WanEnabledStatus

Gets or Sets WanEnabled - Only for MX devices

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "wanEnabled")]
public WanEnabledStatus? WanEnabledStatus { get; set; }

Property Value

WanEnabledStatus?