HP Auto Port Aggregation Administrator's Guide HP-UX 11i v3 (766140-001, March 2014)

Example 4 nwmgr Output (No Options)
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0xD4C9EF06945E iocxgbe 10GBASE-KR
lan1 UP 0xD4C9EF069462 iocxgbe 10GBASE-KR
lan2 UP 0xD4C9EF069466 iocxgbe 10GBASE-KR
lan3 UP 0xD4C9EF06946A iocxgbe 10GBASE-KR
lan4 UP 0x001B78789378 iether 1000Mb/s
lan5 UP 0x001B78789379 iether 1000Mb/s
lan6 UP 0x001B7878937A iether 1000Mb/s
lan7 UP 0x001B7878937B iether 1000Mb/s
lan8 UP 0x001B78293AA0 iether 1000Mb/s
lan9 UP 0x001B78293AA1 iether 1000Mb/s
lan900 DOWN 0x000000000000 hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
For every nwmgr operation, output is either in human-readable form (the default) or in a form that
scripts can parse (the --sc or -script option). For example, getting the current configuration
infromation for link aggregate lan900 produces the following human-readable output:
# nwmgr -c lan900
Class Parent APA Mode Load Membership
Instance PPA State Balancing
======== ====== ============ =========== ========= ==========
lan900 - Up LAN_MONITOR LB_HS 4,5
In contrast, the following command produces output that scripts can parse:
# nwmgr -c lan900 --sc
apa!lan900#parent_ppa#current# -
apa!lan900#apa_state#current#Up
apa!lan900#mode#current#LAN_MONITOR
apa!lan900#lb#current#LB_HS
apa!lan900#membership#current#4,5
The nwmgr command verbose output option (-v) returns more information than the lanadmin
command, and the information returned depends on the link aggregate mode. The following
example shows verbose output for the failover group lan900:
HP APA tasks and the nwmgr command 43