/mgmt/config/default/LinkAggregation/name PUT
Use the HTTP PUT method with the
/mgmt/config/default/LinkAggregation/Link_Aggregation_name
resource to amend link aggregation interface settings.
Resource URL
https://host:port/mgmt/config/default/LinkAggregation/Link_Aggregation_name
Where
port is 5554 by default.Ethernet_interface_name
is the name of the link aggregation
interface that you want to amend:
Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
The request is in JSON format. It can contain the following fields, depending on the system
setting that you want to update:
- 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.
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
- The system settings were successfully updated.
- 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. Each object contains the following fields:
- self
- String.
- doc
- String.
- Location
- String.
Examples
The following example updates the user summary for the link aggregation interface named
testLinkAgg
.
The following URL is used with the HTTP PUT
method:
PUT /mgmt/config/default/LinkAggregation/testLinkAgg
The following listing shows the request:
{
"LinkAggregation" :{
"name" : "testLinkAgg",
"mAdminState" : "enabled",
"UserSummary" : "Testing by changing the summary"
}
}
After the Protocol field is updated, the following response is
returned:{
"_links" : {
"self" : {
"href" : "/mgmt/config/default/LinkAggregation/testLinkAgg"
},
"doc" : {
"href" : "/mgmt/docs/config/LinkAggregation"
}
},
"testLinkAgg" : "Configuration was updated."
}