Set Options

To manage link aggregates and add ports to a link aggregate, use the following syntax and options with the -X(uppercase) option:

lanadmin [-X -a portPPA [portPPA]] [-X -c linkAggregatePPA]

[-X-dportPPA [portPPA]... linkAggregatePPA]

[-X-gportPPA group_capability anyLinkAggregatePPA] [-X[–h–H]anyLinkAggregatePPA]

[-X-kportPPA admin_key anyLinkAggregatePPA] [-X-lload_balance_algorithm linkAggregatePPA ] [-X-olinkAggregatePPA]

[-X-pportPPA config_mode anyLinkAggregatePPA] [-X-sportPPA system_priority anyLinkAggregatePPA] [-X-tportPPA port_priority anyLinkAggregatePPA] [-X-yonoff linkAggregatePPA]

Where:

-a-X-aportPPA [portPPA]... linkAggregatePPA

Adds a port or ports with the specified portPPA to the link aggregate with the specified linkAggregatePPA number.

CAUTION: Be careful when using the -asuboption. This might lead to an invalid link aggregate. This command gives you full control over forming any link aggregate that you want.

-c-X-clinkAggregatePPA

Clears (removes all) ports from a link aggregate with the specified linkAggregatePPA number. This option fully deconfigures the link aggregate. After removal from a link aggregate, the port's mode is set to MANUAL. The Administrative Key (LACP) or group_capability (FEC_AUTO and MANUAL) is not changed.

-d-X-dportPPA [portPPA]... linkAggregatePPA

Deletes ports with the specified PPAs from the link aggregate with the specified linkAggregatePPA number.

CAUTION: Failure to fully deconfigure a link aggregate (using the the -csuboption) can result in some properties being retained in the link aggregate. Subsequently, when new ports are added onto the link aggregate, they might not aggregate properly.

-g-X-gportPPA group_capability anyLinkAggregatePPA

Sets the group capability for a port with the specified portPPA. Ports going to different link aggregates must have different group capabilities. The valid values for group_capability are integer numbers starting at 0. This is applicable to MANUAL and FEC_AUTO ports.

-h-X-hanyLinkAggregatePPA

Displays the -Xand -xoptions help screen.

-H-X-HanyLinkAggregatePPA

Displays the extended -Xand -xoptions help screen, which includes a detailed description and syntax of the -Xand -xoptions.

52 Using the lanadmin Command

Page 52
Image 52
HP UX Auto Port Aggregation (APA) Software manual Set Options, Where, Displays the -Xand -xoptions help screen