4 Using the lanadmin Command

You can use the lanadmin command to administer HP APA. The command enables you to do the following tasks from the command line:

Display HP APA settings (-xoption (lowercase x) with options)

Change the HP APA configuration temporarily (-Xoption (uppercase X) with options) You can also use lanadmin interactively.

CAUTION: The lanadmin command does not preserve changes across reboots. Use SAM or edit the configuration files to permanently save the changes.

NOTE: HP APA also requires that you configure your switches' trunking mode (AUTO or

MANUAL) to match the mode being used on the server: Cisco's Fast EtherChannel (FEC), IEEE 802.3ad Link Aggregation Control Protocol (LACP), or MANUAL mode.

Table 4-1summarizes the lanadmin options and their use.

Table 4-1 Summary of lanadmin -x and -X Options

Option

Link/Port

-X(Set Options)

-x(Display Options)

 

Specific

 

 

-a

Link

Add ports to a link aggregate.

N/A

-c

Link

Clear a link aggregate (remove all ports).

N/A

-d

Both

Delete ports from link aggregate.

N/A

-g

Port

Set the group capability.

Display the group capability.

-h

N/A

Display help.

Display help.

-H

N/A

Display extended help.

Display extended help.

-i

Port

N/A

Display link aggregate port status.

-k

Port

Set the LACP_AUTO Administrative Key.

Display the LACP_AUTO Administrative

 

 

 

Key.

-l

Link

Set the load distribution algorithm.

Display the load distribution algorithm.

-m

Link

N/A

Display link aggregate status.

-n

Port

N/A

Display status of all APA capable ports.

-o

Link

Clear data flows for link aggregates.

N/A

-p

Port

Set the port mode.

Display the port status.

-q

Port

N/A

Display the extended port status.

-s

Port

Set the LACP_AUTO port system priority.

Display the LACP_AUTO port system

 

 

 

priority.

-t

Port

Set the port priority.

Display the port priority.

-v

Link

N/A

Display status for a specific link aggregate.

-y

Link

Turn Hot Standby on or off

Display Hot Standby status.

vmtu

Link

N/A

Display the TSO status of link aggregate or

 

 

 

failover group.

This chapter describes the lanadmin command set options and display options, and provides command-line and interactive examples.

51

Page 51
Image 51
HP UX Auto Port Aggregation (APA) Software manual Using the lanadmin Command, Summary of lanadmin -x and -X Options