Avatar of Anthony Lucia
Anthony Lucia
 asked on

AIX: NIC speed

I am trying to find my adapter and see the speed.  I do the following:

# entstat -d entX | grep -i media

entstat: 0909-003 Unable to connect to device entX, errno = 19
#
#
# entstat -d ent1 | grep -i media
#
# entstat -d ent2 | grep -i media
#
#

Open in new window


What should I do now
Unix OS

Avatar of undefined
Last Comment
woolmilkporc

8/22/2022 - Mon
woolmilkporc

Check with

lsdev -l "ent*"

which adapters you have, then run the command against the ones which show "Available".

Please note that you can't run the command against the base adapters of a link aggregation. Run it against the aggreagte adapter.

If "ent1" and "ent2" are "Available" adapters but don't show a media speed (as it seems) then these are probably intrapartition logical lan adapters (l-lan) instead of physical adapters.
The speed of these adapters depends on the speed of the shared ethernet adapter (SEA) in your VIO server which speed in turn depends on the speed of its underlying hardware (the speed of the physical adapters connected to the SEA).
Anthony Lucia

ASKER
I gather this means I have 2 10GB NIC's and 2 1G NIC's

?
woolmilkporc

Why do you think so?

What are the results of "entstat" against your adapters?
If they're "l-lan" (check with lsdev -l "ent*") you must log in to your VIOS as "padmin" and check there:

Run "lsdev -type adapter" and look for "Shared Ethernet Adapter".

Then run

oem_setup_env
entstat -d entX | grep -i media

where entX is (one of) your SEA adapter(s).

Issue "exit" when finished to return to IOSCLI.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Anthony Lucia

ASKER
I am sorry, I forgot to post the results I saw:

# lsdev -l "ent*"
ent0 Available 01-00 PCIe2 4-Port Adapter (10GbE SFP+) (e4148a1614109304)
ent1 Available 01-01 PCIe2 4-Port Adapter (10GbE SFP+) (e4148a1614109304)
ent2 Available 01-02 PCIe2 4-Port Adapter (1GbE RJ45) (e4148a1614109404)
ent3 Available 01-03 PCIe2 4-Port Adapter (1GbE RJ45) (e4148a1614109404)

Open in new window


I also get

# entstat ent0 | grep -i media
#
# entstat ent1 | grep -i media

Open in new window


I am not sure about the following command

# lsdev -type adapter
lsdev: 0514-500 Usage error - adapter

Usage:
lsdev [-C] [-c Class][-s Subclass][-t Type][-S State][-l Name]
        [-p ParentName][-r ColumnName| -F Format][-H][-f File ][-x]
lsdev -P [-c Class][-s Subclass][-t Type][-r ColumnName| -F Format]
        [-H][-f File ]
lsdev  -h

# lsdev -type ent0
lsdev: 0514-500 Usage error - ent0

Usage:
lsdev [-C] [-c Class][-s Subclass][-t Type][-S State][-l Name]
        [-p ParentName][-r ColumnName| -F Format][-H][-f File ][-x]
lsdev -P [-c Class][-s Subclass][-t Type][-r ColumnName| -F Format]
        [-H][-f File ]
lsdev  -h

Open in new window

ASKER CERTIFIED SOLUTION
woolmilkporc

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.