- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- speed and mode of NIC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:43 AM
08-23-2005 08:43 AM
hi,
As I obtain, by means of script, the speed and mode whereupon this configured a NIC?
Thanks in advance
Jorge Prado
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:46 AM
08-23-2005 08:46 AM
Re: speed and mode of NIC
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:51 AM
08-23-2005 08:51 AM
Re: speed and mode of NIC
where # sign denotes the lan instance as in
1 for lan1
3 for lan3
etc.
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:51 AM
08-23-2005 08:51 AM
Re: speed and mode of NIC
# lanadmin -x 0
Current Config = 100 Full-Duplex MANUAL
The above means that the NIC is hard set to 100FD and not augo-negotiate.
The argument to the '-x' option is the value from the "CRD IN#" column of the lanscan output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 08:56 AM
08-23-2005 08:56 AM
Re: speed and mode of NIC
I need periodically to register the state of the server´s NIC (speed and mode - full or half duplex)
Thank you
Jorge Prado
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 09:03 AM
08-23-2005 09:03 AM
Re: speed and mode of NIC
Speed of NIC:
--------------
1. First check the PPA number of your Network Card.
# lanscan [ note the PPA no. suppose its 0]
2. # lanadmin -s 0
3. lanadmin -a 0 [ Will give MAC address ]
4. # ifconfig lan0 will show statistics with IP.
5. To get more details.
Give
# lanadmin --> lan --> display ( Interactive)
You will get like this :
LAN INTERFACE STATUS DISPLAY
Tue , Aug 23,2005 17:02:31
PPA Number = 0
Description = HP PCI 10/100Base-TX Core [100BASE-TX,FD,MANUAL,TT=1500]
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0xd9daecd5f
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 4152
Inbound Octets = 3352162488
Inbound Unicast Packets = 559020314
Inbound Non-Unicast Packets = 14665435
Inbound Discards = 42690
Inbound Errors = 0
Inbound Unknown Protocols = 0
Outbound Octets = 1433199574
Outbound Unicast Packets = 239661079
Outbound Non-Unicast Packets = 42690
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
------------------------------------------
Hope this help.
Cheers ,
Raj.
----
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 09:10 AM
08-23-2005 09:10 AM
Re: speed and mode of NIC
you can set a cron job as follows
00 * * * * /var/adm/check_lan_speed.sh
then create the script /var/adm/check_lan_speed.sh as follows:
date >> /var/adm/lan_speed_log.out
for index in 0 2 5 # you need to decide which interfaces here this checks lan0 lan2 and lan5
echo "lan${index}" >> /var/adm/lan_speed_log.out
landamin -x ${index} >> /var/adm/lan_speed_log.out
done
echo "======== END of RUN ========" >> /var/adm/lan_speed_log.out
this will log the status of lan0 lan2 and lan5 into the /var/adm/lan_speed_log.out file every hour.
Hope this helps
UNIX because I majored in cryptology...