netmgr_apa.1m (2010 09)

n
nwmgr_apa(1M) nwmgr_apa(1M)
To create a LACP link aggregate
lan901 (key=901) with the load balancing algorithm being LB_PORT
using ports 3 and 4:
nwmgr -s -A key=901,lb=LB_PORT -I 901 -S apa
nwmgr -s -A key=901,mode=LACP_AUTO -I 3 -S apa
nwmgr -s -A key=901,mode=LACP_AUTO -I 4 -S apa
To clear a link aggregate 908
:
nwmgr -d -A links=all -I 908 -S apa
To delete Port 1 from link aggregate
907:
nwmgr -d -A links=1 -I 907 -S apa
To update the max_linkaggs value to
40 and lacp_sysid value to FIRST_LACP_PORT
to the APA
configuration file. The new values to take effect after reboot.
nwmgr -s -A max_linkaggs=40,lacp_sysid=FIRST_LACP_PORT
--sa -S apa
To update the gc (Group Capability) value of port
lan10 to 100 and key value of port lan10 to 200 (in
scriptable output):
nwmgr -s -A gc=100,key=200 -I 10 -S apa --sc
To update the port_cost attribute to 3, and port_pri attribute to 10 of link aggregate lan907
. The
link aggregate is currently inside a failover group
lan900:
nwmgr -s -A port_cost=3,port_pri=10 -c lan907 -S apa
To list all LAN interfaces in the system.
nwmgr -C lan
To list all APA interfaces in the system.
nwmgr -S apa
To display the speed and MTU of the APA interface lan900.
nwmgr -A speed,mtu -I 900 -S apa
To display all attributes of the APA interface lan900.
nwmgr -A all -I 900 -S apa
To display the MIB statistics of link aggregate lan900 in monitor mode with default options:
nwmgr -g -S apa --st monitor -I 900
To display the MIB statistics of a link aggregate lan900 in monitor mode for throughput:
nwmgr -g -S apa --st monitor -q counter=throughput -I 900
To reset the MIB Statistics of failover group lan900:
nwmgr -r --stats -c lan900 -S apa
To rebalance the load of ports in link aggregate lan901:
nwmgr -r -q data_flow -c lan901 -S apa
To check the connectivity of link aggregate lan901 to a lan interface having the MAC address of
0x001279436B3D using the test packet of size 512. Do the test 50 times, sending a test packet every 2
seconds:
nwmgr --diag -A dest=0x001279436B3D -A pktsize=512
--it 50 --int 2 -I 901 -S apa
To display Critical Resource Analysis of the APA interface lan900.
nwmgr --cra -c lan900
To display Critical Resource Analysis of the APA interface lan900 with output in scriptable format.
nwmgr --cra -c lan900 --sc
To display help for all APA operations in terse mode.
12 Hewlett-Packard Company 12 HP-UX 11i Version 3: September 2010