From: "Harris, Gary L." <HarrisGa@umsystem.edu>
Subject: GREP DOES JOB...Ethernet interface speed (cli on 4.0f)
Date: Thu, 19 Dec 2002 07:35:39 -0600 [thread overview]
Message-ID: <85306A82FC614C4A9B1080CF305C691C5B8012@um-mailnode1.um.umsystem.edu> (raw)
Thanks to Phil. grep did the job.
-----Original Message-----
From: Brown, Phillip
Sent: Wednesday, December 18, 2002 2:44 PM
To: Harris, Gary L.
Subject: RE: Ethernet interface speed (cli on 4.0f) - Wrapup
You could try (though I didn't test for all the interfaces):
# grep -E your_interface_expression /var/adm/messages | grep selecting | tail -some_number
For instance:
# grep -E 'tu[0-1]|ee[0-1]' /var/adm/messages | grep selecting | tail -4
Now you just have to decode the speed types. Here are examples of
what you might see:
selecting 10Base2 (BNC) port == 10Base2 is BNC (Thin)
selecting 10Base5 (AUI) port == 10Base5 is AUI (Thick)
selecting 10BaseT (UTP) port: half duplex == 10BaseT is Twisted-Pair
From the console:
P00>>>set ewa0_mode
bad value - valid selections:
Twisted-Pair
Full Duplex, Twisted-Pair <== 10BaseT/Twisted-pair
AUI <== Thick
BNC <== Thin
Fast
FastFD (Full Duplex)
Auto-Negotiate
Regards,
Phil
-----Original Message-----
From: Harris, Gary L.
Sent: Wednesday, December 18, 2002 1:11 PM
To: Tru64-Unix-Managers (E-mail)
Subject: Ethernet interface speed (cli on 4.0f)
Greetings,
A very basic question here: how can you get the current speed and metrics
for an Ethernet interface by command line on True64 4.0f ? Ifconfig does not display. I saw a reply for 5.1a (below), but I need to do this on 4.0f.
Thanks.
To: tru64-unix-managers@xxxxxxxx
Subject: SUMMARY: Ethernet interface speed ?
From: Pascal Robert <probert@xxxxxxxxxx>
Date: Wed, 27 Feb 2002 09:10:18 -0500
God, that was fast :-)
The command as noted by 5 persons is:
# hwmgr -get attr -cat network -a name -a media_speed -a full_duplex
reply other threads:[~2002-12-19 13:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox