API ReferenceNew CentralGuidesMRT APIConfiguration API
GithubAirheads Developer Community
API Reference

Create CoPP profile, which describes all CoPP policies configured on the switch

profile

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 9999

The name of the profile describing configured CoPP policies. (AOS-CX) Also the name of the CoPP policy as configured on the device.

Query Params
string

LOCAL - To create local objects. SHARED - To create shared objects. Default - Defaults to SHARED if not provided

string

Scope at which local object needs to be created. Mandatory if object-type = LOCAL. Should not be provided for object-type = SHARED.

string

Device function for which the local object needs to be created. Mandatory if object_type = LOCAL. Should not be provided for object_type = SHARED.

Body Params

profilebody object

copp-policy
object

A CoPP policy

string
length between 1 and 256

Profile describing a CoPP policy.

boolean
Defaults to true

Enable CoPP logging.

string
length between 1 and 64

The name of the profile describing configured CoPP policies. (AOS-CX) Also the name of the CoPP policy as configured on the device.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json