Cisco Prime Infrastructure API
Prime Infrastructure 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/v3/op/macFilter/macFilterTemplate

Unmodified

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

Request Payload Parameters

Attribute Description

description String

The description of the MAC filter template.

deviceType MacFilterDeviceTypeEnum

The device type.

Allowed values:

  • CUWN
  • CUWN_IOS_AND_UA

interfaceName String

The name of the WLAN interface.

macAddress MacAddress

The MAC address.

path String

Full name of folder where the template is stored.

profileName String

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 following API for getting a list of profiles:

/data/WlanProfiles?.full=true

templateName String

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://localhost/webacs/api/v3/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://localhost/webacs/api/v3/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"
  }
}