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 11i v1, 11i v2 > Chapter 4 Using the lanadmin Command

Using lanadmin Interactively

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

When you enter the lanadmin command either by itself or with the -t option, the command becomes interactive. The following example illustrates the interactive use of lanadmin:

# lanadmin
 LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
                       Tue , Oct 1,2007  14:05:56

               Copyright 1994 Hewlett Packard Company.
                       All rights are reserved.

Test Selection mode.

        lan      = LAN Interface Administration
        menu     = Display this menu
        quit     = Terminate the Administration
        terse    = Do not display command menu
        verbose  = Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface PPA Number = 1

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: ppa
Enter PPA Number.  Currently 1: 901

LAN Interface test mode. LAN Interface PPA Number = 901

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: display

                      LAN INTERFACE STATUS DISPLAY
                       Tue , Oct 1,2002  14:07:10

PPA Number                      = 901
Description                     = lan901 Hewlett-Packard LinkAggregate Interface
Type (value)                    = ethernet-csmacd(6)
MTU Size                        = 1500
Speed                           = 300000000
Station Address                 = 0x108318b927
Administration Status (value)   = up(1)
Operation Status (value)        = up(1)
Last Change                     = 102502046

For link-aggregate MIB statistics, press <Return> to continue 

Inbound Octets                  = 46821
Inbound Unicast Packets         = 0
Inbound Non-Unicast Packets     = 424
Inbound Discards                = 1
Inbound Errors                  = 0
Inbound Unknown Protocols       = 72
Outbound Octets                 = 41446
Outbound Unicast Packets        = 346
Outbound Non-Unicast Packets    = 346
Outbound Discards               = 0
Outbound Errors                 = 0
Outbound Queue Length           = 0
Specific                        = 0

LAN Interface test mode. LAN Interface PPA Number = 901

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: specific

Link Aggregation specific test mode.  Valid LAN Interface PPAs: 2 1 3 

        linkagg   = Link Aggregate status
        port      = Port's APA status
        end       = End Driver Specific Test Mode, return to Lan Interface
                    test mode.
        menu      = Display this menu
        quit      = Terminate the Administration, return to shell

Enter command: linkagg

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)

Link Aggregation specific test mode.  Valid LAN Interface PPAs: 2 1 3 

        linkagg   = Link Aggregate status
        port      = Port's APA status
        end       = End Driver Specific Test Mode, return to Lan Interface
                    test mode.
        menu      = Display this menu
        quit      = Terminate the Administration, return to shell

Enter command: port
Enter Port PPA number: 1

**** PORT NUMBER: 1 *******
pagpEnabled               : ENABLED
ppMyData.deviceId         : 00108318b907
ppMyData.distReq          : LEARNCAP_AGPORT
ppMyData.portPriority     : 0
ppMyData.sentPortIfIndex  : 1
ppMyData.groupCapability  : 901
ppMyData.groupIfIndex     : 1
ppNoPagpTimerI            : 0
ppNoTransTimerQ           : 0
ppTHToTATimerS            : 0
ppSlowHelloTimerA         : 7
ppPartnerCount            : 1
        ++++++++ PARTNER DATA ++++++++
                                        PARTNER 0           
        ppPartnerData.deviceId        : 000883756600        
        ppPartnerData.distReq         : LEARNCAP_AGPORT     
        ppPartnerData.portPriority    : 190                 
        ppPartnerData.sentPortIfIndex : 190                 
        ppPartnerData.groupCapability : 3                   
        ppPartnerData.groupIfIndex    : 211                 
        ppTimerP                      : 85                  
        ppSlowHelloRequestP           : 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
Link Aggregation specific test mode.  Valid LAN Interface PPAs: 2 1 3 

        linkagg   = Link Aggregate status
        port      = Port's APA status
        end       = End Driver Specific Test Mode, return to Lan Interface
                    test mode.
        menu      = Display this menu
        quit      = Terminate the Administration, return to shell

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