The link aggregate software keeps a counter for each statistic
defined in RFC 1213 MIB II for 32-bit statistics or RFC 2863 for 64-bit
statistics. Each counter is set to the negative of the sum of all
the physical ports in the link aggregate when it is created. When
reporting the value of a statistic, the sum of all the physical ports
corresponding statistic counter is added to the link aggregates counter.
For a detailed description of the statistics fields,
see RFC 1213 for 32-bit statistics and RFC 2863 for 64-bit statistics.
When a physical port is removed from a link aggregate,
each of its statistics is added to the corresponding link aggregate
statistic. When a physical port is added to a link aggregate, its
current statistics are subtracted from the link aggregates statistics.
 |
 |  |
 |
 | NOTE: Cisco's Fast EtherChannel (FEC) packets are
not counted in the link aggregate statistics. This is required because
the FEC packets never traverse the link aggregate, they only traverse
the port. |
 |
 |  |
 |
Link aggregates support 64-bit
statistics based on the following rules:
Aggregates support the 64-bit
MIB (Management Information Base) if all the member links are capable
of 64-bit statistics when the aggregate is created.
The 64-bit statistics capability
will be downgraded to 32 bits if the aggregate membership changes
to include one or more links that are not 64-bit MIB capable. After
the aggregate's 64-bit MIB capability is downgraded, it will
never be upgraded again for the life of the aggregate.
To display statistics,
use the nwmgr --st -I instance -S apa command. Example 4-1 shows 32-bit MIB statistics returned from this
command.
Example 4-1 Sample Link Aggregate 32-Bit Statistics
# nwmgr --st -I 900 -S apa
*** lan900 MIB statistics:
PPA Number = 900
Description = lan900 Hewlett-Packard LinkAggregate Interface
MTU Size = 1500
Speed = 100 Mbps
Station Address = 0x00306E5FF047
Administration Status = UP
Operation Status = UP
Last Change = Thu Sep 28 18:35:11 2006
Inbound Octets = 1353732
Inbound Unicast Packets = 0
Inbound Non-Unicast Packets = 22064
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 22064
Outbound Octets = 0
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 0
Outbound Discards = 0
Outbound Errors = 0
Specific = 0 |
Example 4-2 shows
64-bit MIB statistics.
Example 4-2 Sample Link Aggregate 64-Bit Statistics
# nwmgr --st -I 901 -S apa
*** lan901 64 bit MIB statistics:
Interface Name = lan901
PPA Number = 901
Description = lan901 Hewlett-Packard LinkAggregate Interface
MTU Size = 1500
Speed = 3 Gbps
Station Address = 0x0012794371B4
Administration Status = UP
Operation Status = UP
Last Change = Thu Sep 28 18:35:11 2006
Inbound Octets = 1353732
Inbound Unicast Packets = 0
Inbound Multicast Packets = 0
Inbound Broadcast Packets = 0
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 22064
Outbound Octets = 0
Outbound Unicast Packets = 0
Outbound Multicast Packets = 0
Outbound Broadcast Packets = 0
Outbound Discards = 0
Outbound Errors = 0
Counter Discontinuity Time = Thu Sep 28 18:35:10 2006
Physical Promiscuous Mode = FALSE
Physical Connector Present = FALSE
Interface Alias =
Link Up/Down Trap Enable = Enabled |
Monitoring HP APA Statistics |
 |
For the December 2007 release (B.11.31.10), the nwmgr command --stats monitor option enables
you to view APA traffic continuously, including statistics of every
member port of an APA link aggregate. You can specify the following
parameters:
- -q counter=type
The counter parameter can
have the following values:
- o
Displays octet counters. You cannot specify this value
with p or t.
- p
Displays packet counters. You cannot specify this
value with o or t.
- t
Displays throughput counters in Mb/s. You cannot specify
this value with o or p.
- y
Displays physical errors.
If you do not specify this parameter, packet counters
are displayed.
- -q value=value
The value parameter can
have the following values:
- c
Displays current counters. You cannot specify this
value with d or r.
- d
Displays the difference between the previous counter
value and the current value. You cannot specify this value with c or r.
- r
Uses the counter values in the first iteration as
a base (0) and displays the counters incremented from the base. You
cannot specify this value with c or d.
If you do not specify this parameter, current counter
values are displayed.
- --interval seconds
By default, the counters are displayed every second.
Minimum value is 1 second.
- --iteration count
By default, the monitor action continues until you
enter Ctrl+c. Minimum value is 1.
For more information, see nwmgr_apa(1M).
Example 4-3 shows the 32-bit
statistics monitoring.
Example 4-3 Sample Link Aggregate 32-Bit Statistics Monitoring
# nwmgr --stats monitor -q counter=p -q value=d -I 900 -S apa
========================= SEP 28,2007 10:57:33 ================================
32-bit MIB Statistics for Linkagg 900
-------------------------------------
PPA OutPackets OutErr OutDis InPackets InErr InDis
900 0 0 0 0 0 0
5 0 0 0 0 0 0
4 0 0 0 0 0 0
========================= SEP 28,2007 10:57:34 ================================
32-bit MIB Statistics for Linkagg 901
-------------------------------------
PPA OutPackets OutErr OutDis InPackets InErr InDis
900 2 0 0 2 0 0
5 1 0 0 1 0 0
4 1 0 0 1 0 0
========================= SEP 28,2007 10:57:35 ================================
32-bit MIB Statistics for Linkagg 901
-------------------------------------
PPA OutPackets OutErr OutDis InPackets InErr InDis
900 0 0 0 0 0 0
5 0 0 0 0 0 0
4 0 0 0 0 0 0
Ctrl+c |