/mgmt/status/default/LinkStatus GET
Use the HTTP GET method with the /mgmt/status/default/LinkStatus
resource to request status for the interfaces on the appliance.
Resource URL
https://host:port/mgmt/status/default/LinkStatus
Where
port is 5554 by default.Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
None.
Security requirements
The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.
Response status codes
- 200
- Status information retrieved successfully.
- 400
- Invalid data provided.
- 401
- Not authenticated.
- 403
- Not authorized.
Response headers
- Content-Type
- This header is returned with a value of
application/json
.
Response body format
The response is in JSON format. The response includes information about interfaces on the
appliance. Each object contains the following fields:
- Name
- String.
- Index
- Integer.
- Status
- String.
- Mode
- String.
- Type
- String.
- MTU
- Integer.
- Aggregate
- String.
- LinkAddress
- String.
Examples
The following example requests information about interfaces on the appliance.
The following URL is used with the HTTP GET
method:
https://localhost:5554/mgmt/status/default/LinkStatus
The following listing shows an example received
response:
{
"_links": {
"self": {
"href": "/mgmt/status/default/LinkStatus"
},
"doc": {
"href": "/mgmt/docs/status/LinkStatus"
}
},
"LinkStatus": [
{
"Name": "lo",
"Index": 1,
"Status": "ok",
"Mode": "none",
"Type": "Other",
"MTU": 65536,
"Aggregate": "",
"LinkAddress": "00:00:00:00:00:00"
},
{
"Name": "mgt0",
"Index": 4,
"Status": "ok",
"Mode": "1000BASE-T-FD",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:8a:56:ee"
},
{
"Name": "mgt1",
"Index": 7,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:8a:56:ef"
},
{
"Name": "sit0",
"Index": 2,
"Status": "no-link",
"Mode": "none",
"Type": "Other",
"MTU": 1480,
"Aggregate": "",
"LinkAddress": "00:00:00:00:00:00"
},
{
"Name": "eth10",
"Index": 5,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:84:23:59"
},
{
"Name": "eth11",
"Index": 8,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:84:23:5a"
},
{
"Name": "eth12",
"Index": 9,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:84:23:5b"
},
{
"Name": "eth13",
"Index": 11,
"Status": "ok",
"Mode": "1000BASE-T-FD",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:84:23:5c"
},
{
"Name": "eth14",
"Index": 12,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:83:ec:cb"
},
{
"Name": "eth15",
"Index": 13,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:83:ec:cc"
},
{
"Name": "eth16",
"Index": 14,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:83:ec:cd"
},
{
"Name": "eth17",
"Index": 15,
"Status": "no-link",
"Mode": "none",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:83:ec:ce"
},
{
"Name": "eth20",
"Index": 6,
"Status": "ok",
"Mode": "10GBASE-CR",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:f0:7c:ba"
},
{
"Name": "eth21",
"Index": 10,
"Status": "ok",
"Mode": "10GBASE-SR",
"Type": "Ethernet",
"MTU": 1500,
"Aggregate": "",
"LinkAddress": "00:0b:ab:f0:7c:bb"
},
{
"Name": "ip6tnl0",
"Index": 3,
"Status": "no-link",
"Mode": "none",
"Type": "Other",
"MTU": 1452,
"Aggregate": "",
"LinkAddress": "00:00:00:00:00:00"
}
]
}