Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

POST macFilter/macFilterTemplate

Create new MAC filter template.

Since Product Version: 3.2

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

POST

Resource URL

/webacs/api/v2/op/macFilter/macFilterTemplate

Unmodified

This resource has not been modified since the previous API version.

Request Payload Parameters

Attribute Description

description String

Required

The description of the MAC filter template.

deviceType MacFilterDeviceTypeEnum

Required

The device type.

  • CUWN
  • CUWN_IOS_AND_UA

interfaceName String

The name of the WLAN interface.

macAddress MacAddress

Required

The MAC address.

path String

Full name of folder where the template is stored. If this attribute is not specified template will be put to default "My Templates" folder.

profileName String

Required

The WLAN Profile Name association for MAC Filtering is not supported for NGWC Devices. If the Template is created for NGWC Device, then Profile Name should be 'Any Profile'.

You can use the WlanProfiles API for getting a list of profiles.

templateName String

Required

The name of the MAC filter template.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Request Payload

https://10.64.88.203/webacs/api/v2/op/macFilter/macFilterTemplate

<?xml version="1.0" ?>
<createMacFilterTemplateDTO>
  <description>String value</description>
  <interfaceName>String value</interfaceName>
  <profileName>String value</profileName>
  <templateName>String value</templateName>
  <deviceType>CUWN</deviceType>
  <macAddress>
    <octets>000a959d6816</octets>
  </macAddress>
  <path>String value</path>
</createMacFilterTemplateDTO>

Sample JSON Request Payload

https://10.64.88.203/webacs/api/v2/op/macFilter/macFilterTemplate.json

{
  "createMacFilterTemplateDTO" : {
    "description" : "String value",
    "deviceType" : "CUWN",
    "interfaceName" : "String value",
    "macAddress" : {
      "octets" : "000a959d6816"
    },
    "path" : "String value",
    "profileName" : "String value",
    "templateName" : "String value"
  }
}