Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 632
  • Last Modified:

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
0
Anthony Lucia
Asked:
Anthony Lucia
  • 3
  • 2
1 Solution
 
woolmilkporcCommented:
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).
0
 
Anthony LuciaAuthor Commented:
I gather this means I have 2 10GB NIC's and 2 1G NIC's

?
0
 
woolmilkporcCommented:
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.
0
 
Anthony LuciaAuthor Commented:
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

0
 
woolmilkporcCommented:
OK, you're right with two 10 Gb and two 1 Gb adapters.

"lsdev -type adapter" is the format to be used on VIOS in the IOSCLI environment.

If you read my comment again you'll see that I told you to log in as padmin to the VIOS to run the given commands.

It is strange anyway that entstat doesn't give a media speed for ent0 and ent1 - theyre "real" adapters so entstat should work.
What is the full output of "entstat -d ent0" (on the LPAR, not on VIOS!) ?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now