HP Auto Port Aggregation Administrator's Guide for HP-UX 11i v1 and 11i v2 September 2008

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 (-x option (lowercase x) with options)
Change the HP APA configuration temporarily (-X option (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-1 summarizes the lanadmin options and their use.
Table 4-1 Summary of lanadmin -x and -X Options
-x (Display Options)-X (Set Options)Link/Port
Specific
Option
N/AAdd ports to a link aggregate.Link
-a
N/AClear a link aggregate (remove all ports).Link
-c
N/ADelete ports from link aggregate.Both
-d
Display the group capability.Set the group capability.Port
-g
Display help.Display help.N/A
-h
Display extended help.Display extended help.N/A
-H
Display link aggregate port status.N/APort
-i
Display the LACP_AUTO Administrative
Key.
Set the LACP_AUTO Administrative Key.Port
-k
Display the load distribution algorithm.Set the load distribution algorithm.Link
-l
Display link aggregate status.N/ALink
-m
Display status of all APA capable ports.N/APort
-n
N/AClear data flows for link aggregates.Link
-o
Display the port status.Set the port mode.Port
-p
Display the extended port status.N/APort
-q
Display the LACP_AUTO port system
priority.
Set the LACP_AUTO port system priority.Port
-s
Display the port priority.Set the port priority.Port
-t
Display status for a specific link aggregate.N/ALink
-v
Display Hot Standby status.Turn Hot Standby on or offLink
-y
Display the TSO status of link aggregate or
failover group.
N/ALink
vmtu
This chapter describes the lanadmin command set options and display options, and provides
command-line and interactive examples.
51