Solved

AIX:  NIC speed

Posted on 2015-02-02
5
420 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
Comment Utility
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
Comment Utility
I gather this means I have 2 10GB NIC's and 2 1G NIC's

?
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

728 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

9 Experts available now in Live!

Get 1:1 Help Now