Table of Contents

Class MxFirewallRule

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

Firewall rules of an MX network

[DataContract]
public class MxFirewallRule
Inheritance
MxFirewallRule
Inherited Members

Properties

Comment

Description of the rule (optional)

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "comment")]
public string Comment { get; set; }

Property Value

string

DestinationCidr

Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "destCidr")]
public string DestinationCidr { get; set; }

Property Value

string

DestinationPort

Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "destPort")]
public string DestinationPort { get; set; }

Property Value

string

Policy

Gets or Sets Policy

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "policy")]
public AllowOrDeny Policy { get; set; }

Property Value

AllowOrDeny

Protocol

Gets or Sets Protocol

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "protocol")]
public FirewallProtocol Protocol { get; set; }

Property Value

FirewallProtocol

SourceCidr

Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "srcCidr")]
public string SourceCidr { get; set; }

Property Value

string

SourcePort

Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "srcPort")]
public string SourcePort { get; set; }

Property Value

string

SyslogEnabled

Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "syslogEnabled")]
public bool? SyslogEnabled { get; set; }

Property Value

bool?