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
:
Example 5-2 nwmgr Command Verbose Output (Failover Group)
# nwmgr -S apa -I 900 -v
lan900 current values:
Speed = 1 Gbps Full Duplex
MTU = 1500
Virtual Maximum Transmission Unit = 0
MAC Address = 0x00306EF2BADE
Network Management ID = 26
Features = Linkagg Interface
1
IPV4 Recv CKO
IPV4 Send CKO
VLAN Support
VLAN Tag Offload
64Bit MIB Support
Load Distribution Algorithm = LB_HS
Mode = LAN_MONITOR
Parent PPA = -
2
APA State = Up
3
Membership = 9,21,22,14,13*
4
Active Port(s) = 9
5
Ready Port(s) = 21,22,14
6
Not Ready Port(s) = 13
7
Connected Port(s) = 21,22
8
Polling Interval = 10000000
Dead Count = 3
Rapid ARP = on
Rapid ARP Interval = 1.0 second(s)
Rapid ARP Count = 10
Failover Policy = PRIORITY_BASED
9
1
Supported features. For example,
VLAN Support
means the specified instance supports
Virtual LAN and
64Bit MIB Support
means the specified instance supports 64-bit MIB
statistics.
2
The instance value of the parent link aggregate. The hyphen character (
–
) indicates there is
no parent link aggregate for the specified instance.
3
One of the following states for the specified instance:
Up
The specified instance is up and running.
Down
The specified instance is in a down state.
Active
The specified instance is up, and is the active port in its parent link aggregate.
HP APA tasks and the nwmgr command
51