4.2.1.2 Delete a LinkAggregation (dladm delete-aggr)
This section explains the dladm delete-aggr command for inactivating LinkAggregation.
- Synopsis
- Solaris 10 8/07 or later
/usr/sbin/dladm delete-aggr key
key: Specify the key number to identify the LinkAggregation Group
Specify a number ranging from 1 to 999.
- Solaris 11
/usr/sbin/dladm delete-aggr aggr-link
aggr-link: The name of the representative interface.
- Description
Deletes a LinkAggregation Group.
- Exit Code
0: normal end.
>0: abnormal end.
- Example
Processes to inactivate a LinkAggregation Group are shown below.
1. Inactivate the LinkAggregation Group
- Solaris 10 8/07 or later
The following example shows how to inactivate the "key=1" LinkAggregation Group and stop the LinkAggregation (*1).
(IP address of the representative interface "aggr1" is deleted.):
# ifconfig aggr1 unplumb
*1: If LinkAggregation Group has been setup to be activated after rebooting the system, please delete the descriptions in
the /etc/hostname.aggr
*
(
*
: instance number) and /etc/inet/hosts files defined in the activation of LinkAggregation Group
section.
- Solaris 11
The following example shows how to inactivate the "aggr-link=aggr1" LinkAggregation Group and stop the LinkAggregation
(*2).
(IP address of the representative interface "aggr1" is deleted.):
# ifconfig aggr1 unplumb
*2: If LinkAggregation Group has been setup to be activated after rebooting the system, please execute the following
ipadm(1M) command and delete the descriptions in the /etc/inet/hosts files defined in the activation of LinkAggregation
Group section.
# ipadm delete-ip aggr1
- 47 -