* GREP DOES JOB...Ethernet interface speed (cli on 4.0f)
@ 2002-12-19 13:35 Harris, Gary L.
0 siblings, 0 replies; only message in thread
From: Harris, Gary L. @ 2002-12-19 13:35 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-19 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 13:35 GREP DOES JOB...Ethernet interface speed (cli on 4.0f) Harris, Gary L.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox