Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Auto Port Aggregation Administrator's Guide: HP-UX 11.0, 11i v1, 11i v2 > Chapter 4 Using the lanadmin Command

Display Options

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To display HP APA information, use the following syntax and options with the -x (lowercase) option:

lanadmin [-x -g portPPA anyLinkAggregatePPA]

[-x [ –h –H ] anyLinkAggregatePPA]

[-x -i linkAggregatePPA]

[-x -k portPPA anyLinkAggregatePPA]

[-x -l linkAggregatePPA]

[-x -m anyLinkAggregatePPA ]

[-x -n anyLinkAggregatePPA ]

[-x -p portPPA anyLinkAggregatePPA]

[-x -q portPPA anyLinkAggregatePPA]

[-x -s portPPA anyLinkAggregatePPA]

[-x -t portPPA anyLinkAggregatePPA]

[-x -v linkAggregatePPA]

[-x -y linkAggregatePPA]

[-x vmtu linkAggregatePPA]

Where:

-g

-x -g portPPA anyLinkAggregatePPA

Displays the current group capability number of the specified port or link aggregate. This applies to MANUAL and FEC_AUTO ports.

-h

-x -h anyLinkAggregatePPA

Displays the help screen.

-H

-x -H anyLinkAggregatePPA

Displays the extended help screen, which includes a list of the -x and -X options and the syntax.

-i

-x -i linkAggregatePPA

Displays the port status associated with the link aggregation or failover group. Following is the information displayed for this option.

  • Link aggregation or failover group PPA number.

  • Link aggregation mode.

  • Load-balancing mode used by the link aggregation.

  • The port or ports of the link aggregation or failover group actively involved in sending and receiving data traffic.

  • For failover groups (), the ports that are in state ready to takeover data traffic in case the current active port fails.

  • The ports that are not ready to be used in a link aggregation or failover group. A port can be in this list due to:

    • The link state of the NIC is down.

    • The NIC is experiencing a hardware problem, which is causing unexpected failures.

    • The NIC has been configured to run an APA auto protocol and it has not reached a stable state.

  • For failover groups (), a list of the ports in the "ready" list that have connectivity to the current active port. A port in the ready list might not be displayed in this field because connectivity might have been lost after forming the failover group.

NOTE: This field might not be accurate after a link state change until POLL_INTERVAL * DEAD_COUNT seconds have expired.

Following is sample output for link aggregation:

Link Aggregate PPA #             : 900
Link Aggregation Mode            : MANUAL
Load Balance Mode                : IP Address based (LB_IP)
Active Ports PPA #               : 3 4
Port(s) not ready                : 5 6

Following is sample output for a failover group (LAN Monitor):

In this example, 3, 4, 5 are in same subnet and 6, 7 are in different subnet, and port 5 is down.

Link Aggregate PPA #             : 901
Link Aggregation Mode            : LAN_MONITOR
Load Balance Mode                : Hot Standby (LB_HOT_STANDBY)
Active Ports PPA #               : 3
Port(s) ready                    : 4 6 7
Port(s) not ready                : 5
Port(s) connected to active port : 4
-k

-x -k portPPA lnyLinkAggregatePPA

Displays the Administrative and Operational Key for an LACP_AUTO port or link aggregate. Applies to LACP_AUTO only.

-l

-x -l linkAggregatePPA

Displays the current load-balancing algorithm for the link aggregate with the specified linkAggregatePPA number.

-m

-x -m anyLinkAggregatePPA

Displays the status for all link aggregates using any link aggregate in the command. Sample results:

Number of elements=50
[0] ppa       : 900
[0] index     : 0
[0] num_ports : 1
[0] ports     : 4 
-----------------------
[1] ppa       : 901
[1] index     : 1
[1] num_ports : 3
[1] ports     : 1 2 3 
-----------------------
[2] ppa       : 902
[2] index     : 2
[2] num_ports : 0
[2] ports     :  -----------------------
.
.
.

-n

-x -n anyLinkAggregatePPA

Displays the status for all APA capable ports using any link aggregate in the command. For example:

Number of elements=5
[0] ppa             : 1
[0] reserved2 value : -1
[0] state             : 1
-p

-x -p portPPA anyLinkAggregatePPA

Displays the present status of a port with the specified portPPA number. For example:

**** PORT NUMBER: 3 *******
Port FEC Mode             : FEC_AUTO
Port State                : UP
Port Group Capability     : 901
Port Priority               : 0
-q

-x -q portPPA anyLinkAggregatePPA

Displays the present status of a port with the specified portPPA in the extended format. For example:

**** PORT NUMBER: 3 *******
pagpEnabled               : ENABLED
ppMyData.deviceId         : 00108318b907
ppMyData.distReq          : LEARNCAP_AGPORT
ppMyData.portPriority     : 0
ppMyData.sentPortIfIndex  : 3
ppMyData.groupCapability  : 901
ppMyData.groupIfIndex     : 8
ppNoPagpTimerI            : 0
ppNoTransTimerQ           : 0
ppTHToTATimerS            : 0
ppSlowHelloTimerA         : 1
ppPartnerCount            : 1
++++++++ PARTNER DATA ++++++++
PARTNER 0 
ppPartnerData.deviceId        : 000883756600 
ppPartnerData.distReq         : LEARNCAP_AGPORT
ppPartnerData.portPriority    : 188 
ppPartnerData.sentPortIfIndex : 188 
ppPartnerData.groupCapability : 3 
ppPartnerData.groupIfIndex    : 211 
ppTimerP                      : 902 
Port LACP Mode                : 1 
++++++++ PARTNER DATA ++++++++
ppAutoMode.myAutoMode  : 0
ppAutoMode.yourRequest : 0
ppMySlowHello          : 1
portState            : PAGP_STATE_UPPAGP
portNextState        : PAGP_STATE_UPPAGP
portNextEvent        : PAGP_EVENT_NULL
portXmitState        : PAGP_XMIT_STATE_SLOW_U6
portXmitNextState    : PAGP_XMIT_STATE_SLOW_U6
portXmitNextEvent      : PAGP_XMIT_EVENT_NULL
-s

-x -s portPPA anyLinkAggregatePPA

Displays the system priority for an LACP_AUTO port. This has no affect on a MANUAL or FEC_AUTO port.

-t

-x -t portPPA anyLinkAggregatePPA

Displays the current port priority for the port with the specified portPPA number. For LACP_AUTO, this shows the priority value for the port. For HOT_STANDBY, this shows which port is used for traffic and which for standby. This option is not applicable to PAgP (FEC_AUTO).

-v

-x -v linkAggregatePPA

Displays the status for a given link aggregate with the specified linkAggregatePPA number. For example:

Link Aggregate PPA #      : 901
Number of Ports           : 3
Ports PPA                 : 2 1 3 
Link Aggregation State    : LINKAGG AUTO
Group Capability          : 901
Load Balance Mode           : MAC Address based (LB_MAC)
-y

-x -y linkaggregatePPA

Displays the Hot Standby status for the link aggregate with the specified linkAggregatePPA number.

vmtu

[-x vmtu linkaggregatePPA]

Displays the TSO status for a given link aggregate with the specified linkAggregatePPA number. For example:

# lanadmin -x vmtu 903
Driver/Hardware does not support TCP Segmentation Offload
#
# lanadmin -x vmtu 905
Driver/Hardware supports TCP Segmentation Offload, Current VMTU = 32160
#

The following option is supported, but with a different meaning:

-a

Displays the current station address of link aggregate with the specified linkAggregatePPA number.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.