Solved

AIX:  NIC speed

Posted on 2015-02-02
5
456 Views
Last Modified: 2015-02-03
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
Comment
Question by:Anthony Lucia
  • 3
  • 2
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40584948
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
 

Author Comment

by:Anthony Lucia
ID: 40585038
I gather this means I have 2 10GB NIC's and 2 1G NIC's

?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40585066
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
 

Author Comment

by:Anthony Lucia
ID: 40585105
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
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40585115
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now