/mgmt/config/default/LinkAggregation GET
Use the HTTP GET method with the /mgmt/config/default/LinkAggregation
resource to request a list of current link aggregation configurations.
Resource URL
https://host:port/mgmt/config/default/LinkAggregationWhere
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
- 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 comprises a JSON structure that contains definitions
for each link aggregation configuration on the appliance. Each definition contains the following fields:
- mAdminState
- String.
- UserSummary
- String.
- IPConfigMode
- Identifies the configuration mode for the link aggregation interface. Contains the following fields:
- IPAddress
- String.
- StaticRoutes
- Defines the static routes in the routing table for the link aggregations interface. Contains the
following fields:
Destination- Specifies the IP address and netmask. The netmask is in CIDR format and is the integer that
assigns the prefix length.
- For version 4, the prefix length can be in the range of 0 through 32.
- For version 6, the prefix length can be in the range of 0 through 128.
Gateway- Specifies the IP address of the next-hop router.
Metric- Optionally specifies the preference for the route. The lesser the value, the more preferred the
route. For each IP family, the supported range differs.
- For IPv4, enter a value in the range 0 - 255. The default value is 0.
- For IPv6, enter a value in the range 0 - 65536. The default value is 512.
- DADTransmits
- Integer.
- DADRetransmitTimer
- Integer.
- Type
- String.
- Links
- String.
- MTU
- Integer.
- LACPAggregatorSelectionPolicy
- String.
- TransmitHashingAlgorithm
- String.
- LACPRate
- String.
- HardwareOffload
- String.
Examples
The following example shows an extract from the result of requesting the link aggregation interface settings on the appliance:
The following URL is used with the HTTP GET
method:
GET /mgmt/config/default/LinkAggregationThe following listing shows the received response:
{
"_links": {
"self": {
"href": "/mgmt/config/default/LinkAggregation
"doc": {
"href": "/mgmt/docs/config/LinkAggregation"
}
},
"LinkAggregation": {
"name": "testLinkAgg",
"_links": {
"self": {
"href": "/mgmt/config/default/LinkAggregation/testLinkAgg"
},
"doc": {
"href": "/mgmt/docs/config/LinkAggregation"
}
},
"mAdminState" : "enabled",
"UserSummary" : "A simple example link aggregation",
"IPConfigMode" : {
"static" : "on",
"dhcp" : "off",
"slaac" : "off"},
"IPAddress" : "10.40.107.110/16",
"StaticRoutes" : {
"Destination" : "10.40.0.0/16",
"Gateway" : "10.40.0.1",
"Metric" : 0},
"DADTransmits" : 1,
"DADRetransmitTimer" : 1000,
"Type" : "active-backup",
"Links" : {
"value": "eth40",
"href" : "/mgmt/config/default/EthernetInterface/eth40"},
"MTU" : 1500,
"LACPAggregatorSelectionPolicy" : "stable",
"TransmitHashingAlgorithm" : "mac-ip",
"LACPRate" : "fast",
"HardwareOffload" : "on"}}