cfglnagg Command

Purpose

Add or remove adapters from a Link Aggregation or change a Link Aggregation attributes.

Syntax

cfglnagg { -add [ -backup ] | -rm } LinkAggregation Adapter

cfglnagg [ -f ] -attr Attribute=NewValue LinkAggregation ...

Description

This command adds adapters to a Link Aggregation or removes adapters from a Link Aggregation. This command can also be used to modify Link Aggregation attributes. It is not necessary to detach the Link Aggregation's interface to add or remove adapters or modify most Link Aggregation attributes.

Changing the use_jumbo_frame attribute requires the Link Aggregation to be detached. If this attribute is specified, the cfglnagg command detaches the Link Aggregation before modifying the use_jumbo_frame attributes, then brings the Link Aggregation back up. The user is prompted to continue unless the -f flags is specified.

Use the lsdev command with the -attr flag to view all attributes associated with a Link Aggregation device, including adapters.

Note:
To create a Link Aggregation see the mkvdev command.

Flags

-add Adds the specified Adapter to the specified Link Aggregation. If the adapter must be added as a backup adapter, the -backup flag must be specified.
-attr Specifies an attribute of the specified Link Aggregation.
-backup Specifies that the Adapter is being added as a backup adapter.
-f Instructs the cgflnagg command to not prompt the user.
-rm Deletes the specified Adapter from the specified Link Aggregation. The specified adapter can be either a primary or backup adapter.

Parameters

Adapter Specifies the adapter to add or delete.
LinkAggregation Specifies the Link Aggregation.

Exit Status

See Virtual I/O Server command exit status.

Examples

  1. To add adapter ent8 to Link Aggregation ent3, type:
    cfglnagg –add ent3 ent8

Related Information

The mktcpip command, the mkvdev command, the hostname command, the startnetsvc command, the stopnetsvc command, the netstat command, the entstat command, the cfgnamesrv command, the hostmap command, the traceroute command, the ping command, the optimizenet command.


Send feedback |  Rate this page