Adds adapters to an EtherChannel or removes adapters from an EtherChannel.
ethchan_config { -a [ -b ] | -d } [ -p ParentName ] EtherChannel Adapter
ethchan_config -c [ -p ParentName ] EtherChannel Attribute NewValue
ethchan_config -f [ -p ParentName ] EtherChannel
This command adds adapters to an EtherChannel or removes adapters from an EtherChannel. This command can also be used to modify EtherChannel attributes. These additions, deletions, or modifications can take place even if the EtherChannel's interface is configured; that is, it is not necessary to detach the interface of EtherChannel to add or remove adapters or modify most EtherChannel attributes.
Item | Description |
---|---|
-a | Adds the specified Adapter to the specified EtherChannel. If the adapter must be added as a backup adapter, the -b flag must be specified. |
-b | Specifies that the Adapter is being added as a backup adapter. This flag is only valid when used with the -a flag. |
-c | Changes the specified Attribute of the specified EtherChannel attribute to the specified NewValue. |
-d | Deletes the specified Adapter from the specified EtherChannel. The -b flag must not be used with the -d flag. |
-f | Forces a failover of the specified EtherChannel. The failover occurs only if the adapter in the idle channel is up. If the adapter in the idle channel is down, the EtherChannel keeps operating on the active one and no failover takes place. |
-p | Specifies the parent adapter of an EtherChannel. If a Shared Ethernet Adapter (SEA) is configured over an EtherChannel, this flag must be used along with the other flags to change any attribute of the EtherChannel (for example, adding or deleting adapters). |
Item | Description |
---|---|
Adapter | Specifies the adapter to add or delete. |
Attribute | Specifies an attribute of the specified EtherChannel. |
EtherChannel | Specifies the EtherChannel. |
NewValue | Specifies the new value for the specified attribute of the specified EtherChannel. |
ParentName | Specifies the parent adapter of an EtherChannel. |
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
/usr/lib/methods/ethchan_config -a -b ent7 ent0
/usr/lib/methods/ethchan_config -c ent7 netaddr 10.10.10.10
/usr/lib/methods/ethchan_config -f ent7
/usr/lib/methods/ethchan_config -d -p ent32 ent18 ent13
The use of the use_jumbo_frame attribute cannot be modified by this command. If you attempt to modify this attribute, this command prints an error message.
/usr/lib/methods