How To
Summary
To find out the speed at which a network interface is actually running in AIX.
Objective
Environment
In AIX you may want to know the speeds at which a NIC can operate and at what speed it is currently communicating with the network.
Steps
The lsattr and entstat commands are what you need:
lsattr lets you see the card's capabilities:
# lsattr -l ent0 -a media_speed -R
10_Full_Duplex
100_Full_Duplex
1000_Full_Duplex
10000_Full_Duplex
Auto_Negotiation
and entstat will tell you how fast it is running:
# entstat -d ent0 | grep -i speed
Media Speed Selected: Autonegotiate
Media Speed Running: 1000 Mbps / 1 Gbps, Full Duplex
External-Network-Switch (ENS) Port Speed: 1000 Mbps / 1 Gbps, Full Duplex
So ent0 is 10Gbit capable, but running at 1Gbps
In the case of a VIOS with the IP stack running on an SEA, you can run oem_setup_env then use lsattr on the physical device and entstat on the SEA.
Additional Information
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF050","label":"BMC"},{"code":"PF041","label":"HMC"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
03 May 2021
UID
ibm11118097