Table of Contents

Class RoutingInterface

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

Routing interface

[DataContract]
public class RoutingInterface : NamedItem
Inheritance
RoutingInterface
Inherited Members

Constructors

RoutingInterface()

public RoutingInterface()

Properties

CandidateUplinkV4

Undocumented

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

Property Value

bool?

DefaultGateway

The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface.

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

Property Value

string

InterfaceId

Interface Id

[ApiKey]
[DataMember(Name = "interfaceId")]
public string InterfaceId { get; set; }

Property Value

string

InterfaceIp

The IP address this switch will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP.

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

Property Value

string

Ipv6

The IPv6 settings of the interface

[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "ipv6")]
public RoutingInterfaceIpv6? Ipv6 { get; set; }

Property Value

RoutingInterfaceIpv6

Loopback

The loopback settings of the interface. Documentation incomplete 2025-09-29

[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "loopback")]
public object? Loopback { get; set; }

Property Value

object

Mode

The mode enum = ["loopback", "routed", "vlan"]

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

Property Value

string

Mtu

The maximum transmission unit for the interface

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

Property Value

int?

MulticastRouting

Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'.

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

Property Value

MulticastRouting?

OspfSettings

The OSPF routing settings of the interface.

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

Property Value

OspfSettings

OspfV3

The OSPFv3 routing settings of the interface.

[Obsolete("Removed in API v1.46")]
[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "ospfV3")]
public OspfSettings? OspfV3 { get; set; }

Property Value

OspfSettings

Serial

Device Serial

[ApiKey]
[DataMember(Name = "serial")]
public string Serial { get; set; }

Property Value

string

StaticV4Dns1

Static IPv4 primary DNS server - Undocumented added 2025-10-21

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

Property Value

string

StaticV4Dns2

Static IPv4 secondary DNS server - Undocumented added 2025-10-21

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

Property Value

string

Subnet

The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24).

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

Property Value

string

SwitchFabricId

Switch fabric ID - Undocumented added 2025-10-21

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

Property Value

string

SwitchPortId

Switch Port ID when in Routed mode (CS 17.18 or higher required).

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

Property Value

string

UplinkV4

Whether this is the switch's IPv4 uplink

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

Property Value

bool?

UplinkV6

Whether this is the switch's IPv6 uplink

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

Property Value

bool?

VlanId

The VLAN this routed interface is on. VLAN must be between 1 and 4094.

[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "vlanId")]
public int VlanId { get; set; }

Property Value

int

Vrf

VRF settings. Included on networks with IOS XE 17.18 or higher

[ApiAccess(ApiAccess.ReadWrite)]
[DataMember(Name = "vrf")]
public RoutingInterfaceVrf? Vrf { get; set; }

Property Value

RoutingInterfaceVrf

Vrrp

VRRP settings. Undocumented added 2026-03-31

[ApiAccess(ApiAccess.Read)]
[DataMember(Name = "vrrp")]
public RoutingInterfaceVrrp? Vrrp { get; set; }

Property Value

RoutingInterfaceVrrp