API ReferenceNew CentralGuidesMRT APIConfiguration API
GithubAirheads Developer Community
API Reference

Create a new Port-Security policy.

List of port security policies.

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

Name of the port security policy.

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

policybody object

int32
0 to 65535
Defaults to 1

Maximum number of port-security clients that can be onboarded on the
interface.

boolean
Defaults to true

Enable eavesdrop prevention.

boolean
Defaults to false

Enable Port security on the port.

string
enum

Port security learn mode.

Show Details
CONFIGUREDStatic MAC address configured mode.
CONTINUOUSContinuous MAC address learn mode.
LIMITED_CONTINUOUSLimited continuous MAC address learn mode.
MIXEDMixed learn mode.
PORT_ACCESSLearn port-access authorized MAC address only.
STATICStatic MAC address learn mode.
Allowed:
boolean
Defaults to false

Enable sticky learning on the port.

boolean
Defaults to false

Enable transmission of flood traffic (broadcast, multicast and
unknown unicast) out authentication enabled interfaces with no
authenticated client.

security-violation
object

Security violation configuration.

string
length between 1 and 256

Port security policy description.

string
length between 1 and 128

Name of the port security policy.

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