- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIC speed set
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
Discussions
Discussions
Forums
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
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
тАО06-01-2009 02:00 AM
тАО06-01-2009 02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 02:30 AM
тАО06-01-2009 02:30 AM
Re: NIC speed set
use lanadmin
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 02:31 AM
тАО06-01-2009 02:31 AM
Solution+++++++++++++++++++++++++++++++++++++++++
To set the negotiation and speed options as static values, edit
the appropriate LAN config file in /etc/rc.config.d. The file
name depends on which LAN cards you have. Use the comand:
# ls /etc/rc.config.d/hp*conf
to see the config files. They correspond to the driver used for
the LAN card:
btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf
btlan4 hpgsc100conf
btlan5 hppci100conf
btlan6 hpsppci100conf
igelan hpigelanconf
iether hpietherconf
?????? hpetherconf
?????? hpgelanconf
To set 100 Mbits and full-duplex, use 100FD on the line with SPEED=
Note that each LAN card that uses the same driver will need an entry
and these are actually script arrays so the first instance of a
btlan3 LAN card will be 0 and the hpbase100conf entry will be:
HP_BASE100_SPEED[0]=100FD
(and the next 3 would be:
HP_BASE100_SPEED[1]=100FD
HP_BASE100_SPEED[2]=100FD
HP_BASE100_SPEED[3]=100FD
Repeat for other LAN cards based on their driver.
To view the current LAN setting:lanadmin -x 0
(where 0 is the card's instance or PPA number, found with lanscan).
To change the card setting without a reboot, use:
# lanadmin -X 100FD 0
Note that 100 half-duplex is the default value when negotiation at
100 bits fails and unless the switch is set the same, high error
rates and very low throughput will be the result.
+++++++++++++++++++++++++++++++++++++++++
The only thing I would add is that the newer Gigabit cards should be set to autonegotiate. Trying to force them to 1000 will not work.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 02:34 AM
тАО06-01-2009 02:34 AM
Re: NIC speed set
use lanadmin command
#lanadmin -S
#lanadmin -X for setting the driver specific options
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 03:23 AM
тАО06-01-2009 03:23 AM
Re: NIC speed set
With HP-UX 11.31, you can also use the new "nwmgr" command or the menu-based "ncweb".
For gigabit interfaces, autonegotiation is a mandatory part of the interface standard and cannot really be switched off. This is because gigabit requires some additional parameters for each gigabit link (clock source and master/slave role selection), and these are chosen using autonegotiation.
Some devices (for example, Cisco switches) offer a way to "disable autonegotiation" with 1000 Mbps interfaces, but it does not really disable autonegotiation: it just makes the device reject any negotiation answers other than the desired one. In other words, it makes the autonegotiation say: "1000 Mbps full duplex or nothing at all!"
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 03:31 AM
тАО06-01-2009 03:31 AM
Re: NIC speed set
Dear Swaraj
lanadmin is the command. please see the links
http://docs.hp.com/en/J4240-90046/ch04.html
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 09:01 AM
тАО06-01-2009 09:01 AM
Re: NIC speed set
You can use lanadmin but the changes are temporary and will revert back on reboot. Make the changes permanent in the /etc/rc.config.d driver files.
You *must* know the switch setting when changing speed and duplex. Autonegotiation can fail at certain cable lengths (about 20-40 meters) for 100Mbit links and this causes the card to be set to half duplex. This is very bad for performance (20:1 reduction in speed which massive errors reported in lanadmin). If the switch is set to 100auto and your card is set to 100auto, yet the reported speed/duplex from lanadmin -x is 100HD, then change BOTH sides to turn off autonegotiation and force 100FD.
Note that you cannot make a 100Mbit card run at 1000Mbit. 1000Mbit cards and switches should both be set to 1000auto as mentioned above.
Bill Hassell, sysadmin