AIX - Determining link speed

I am trying to find a command to return the "link" speed of the networks installed on AIX.

ifconfig - gives me where the link is up and the duplex setting. I need to determine for example if the ethernet connection is 10, 100, 1000 Mbs or what the current speed is based on the network media utilized.

Any help that you can provide would be greatly appreciated.

Thank you!

KG

Two options: 1. entstat -d en? 2. netstat -v
the first option shows extended statistics which include media speed and other stuff. The second looks about the same.

Thank you ddziuk!

Maybe I am not understanding what is returned from my netstat / entstat output.

Here is what I get from netstat -v (it is the same identical output for entstat.

Would you please point out the link speed of this system.

Thank you so much!

KG


ETHERNET STATISTICS (ent0) :
Device Type: IBM PCI Ethernet Adapter (22100020)
Hardware Address: 00:06:29:21:d8:66
Elapsed Time: 149 days 23 hours 58 minutes 32 seconds

Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 1176234 Packets: 2050178
Bytes: 328746201 Bytes: 270761959
Interrupts: 0 Interrupts: 2039695
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 0 Packets Dropped: 0
Bad Packets: 0
Max Packets on S/W Transmit Queue: 31
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 1

Broadcast Packets: 3152 Broadcast Packets: 826912
Multicast Packets: 2 Multicast Packets: 0
No Carrier Sense: 0 CRC Errors: 0
DMA Underrun: 0 DMA Overrun: 0
Lost CTS Errors: 0 Alignment Errors: 0
Max Collision Errors: 0 No Resource Errors: 0
Late Collision Errors: 0 Receive Collision Errors: 0
Deferred: 2177 Packet Too Short Errors: 91
SQE Test: 0 Packet Too Long Errors: 0
Timeout Errors: 0 Packets Discarded by Adapter: 0
Single Collision Count: 5408 Receiver Start Count: 0
Multiple Collision Count: 4528
Current HW Transmit Queue Length: 1

General Statistics:
-------------------
No mbuf Errors: 0
Adapter Reset Count: 1
Driver Flags: Up Broadcast Running
Simplex AlternateAddress 64BitSupport

IBM PCI Ethernet Adapter Specific Statistics:
------------------------------------------------
Chip Version: 16
Packets with Transmit collisions:
1 collisions: 5408 6 collisions: 10 11 collisions: 0
2 collisions: 3282 7 collisions: 4 12 collisions: 0
3 collisions: 1062 8 collisions: 0 13 collisions: 0
4 collisions: 146 9 collisions: 0 14 collisions: 0
5 collisions: 24 10 collisions: 0 15 collisions: 0

lsattr -El <device> -a media_speed

This reads the configuration parameters for this device from the ODM.

bakunin