logging lsn port-unavailable¶
Set LSN system log policy when port unavailable occur
port-unavailable Specification¶
Parameter Value Type Configuration Resource Element Name port-unavailable Element URI /axapi/v3/logging/lsn/port-unavailable Element Attributes port-unavailable_attributes Partition Visibility shared Schema port-unavailable schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/logging/lsn/port-unavailable | ||
POST /axapi/v3/logging/lsn/port-unavailable
Payload:
{
"port-unavailable": {
"ip-based": 1
}
}
| ||||
Get Object | GET | /axapi/v3/logging/lsn/port-unavailable | ||
GET /axapi/v3/logging/lsn/port-unavailable
Reponse:
{
"port-unavailable": {
"ip-based": 1,
"uuid": "db23bb24-6612-11d9-9a27-692335d4f00d",
"a10-url": "/axapi/v3/logging/lsn/port-unavailable"
}
}
| ||||
Modify Object | POST | /axapi/v3/logging/lsn/port-unavailable | ||
Replace Object | PUT | /axapi/v3/logging/lsn/port-unavailable | ||
PUT /axapi/v3/logging/lsn/port-unavailable
Payload:
{
"port-unavailable": {
"ip-based": 1
}
}
| ||||
Delete Object | DELETE | /axapi/v3/logging/lsn/port-unavailable | ||
DELETE /axapi/v3/logging/lsn/port-unavailable
Reponse:
{
"response": {
"http-status": 200,
"status": "OK",
"msg": "Success"
}
}
|
port-unavailable attributes¶
ip-based
Description Log LSN port unavailable based on NAT IP (Default: disabled)
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