network mac-address static¶
Static MAC commands
static Specification¶
Type Collection Object Key(s) mac, vlan Collection Name static-list Collection URI /axapi/v3/network/mac-address/static Element Name static Element URI /axapi/v3/network/mac-address/static/{mac}+{vlan} Element Attributes static_attributes Schema static schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/network/mac-address/static | ||
Create List | POST | /axapi/v3/network/mac-address/static | ||
Get Object | GET | /axapi/v3/network/mac-address/static/{mac}+{vlan} | ||
Get List | GET | /axapi/v3/network/mac-address/static | ||
Modify Object | POST | /axapi/v3/network/mac-address/static/{mac}+{vlan} | ||
Replace Object | PUT | /axapi/v3/network/mac-address/static/{mac}+{vlan} | ||
Replace List | PUT | /axapi/v3/network/mac-address/static | ||
Delete Object | DELETE | /axapi/v3/network/mac-address/static/{mac}+{vlan} |
static-list¶
static-list is JSON List of static attributes
static-list : [
]
static attributes¶
dest
Description Trap MAC with this DA to CPU
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
mac
Description Configure a Static MAC address
Type: string
Format: mac-address
port
Description Ethernet Port on which the Address is applicable (Port Value)
Type: number
Format: interface
redirect-dummy-mac
Description Dummy for redirect use
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
vlan