Sponsored Content
Operating Systems HP-UX command to change duplex settings.. Post 302177794 by sag71155 on Sunday 23rd of March 2008 10:28:15 AM
Old 03-23-2008
Bug command to change duplex settings..

Hi Folks,

I want the command to change the duplex settings of a HP-UX server.

Thanks in advance.

Sagar.
 

10 More Discussions You Might Find Interesting

1. Solaris

Duplex Settings

Hi All I've been having a lot of errors logged on the Cisco Catalyst (4000 series) which one of my Solaris servers is patched into. I have a feeling they are duplex related, but I'm a bit stuck as to how to confirm that. How do I: 1. Check the duplex settings on my eri0 card? 2. Set the... (3 Replies)
Discussion started by: saabir
3 Replies

2. Solaris

how do I change locale settings?

I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings: account1# locale -k d_fmt t_fmt d_fmt="%m/%d/%y" t_fmt="%H:%M:%S" If I log on with a different account the settings are different: ... (1 Reply)
Discussion started by: m223464
1 Replies

3. Solaris

change NIC to 1000 Mbps full duplex

Hi all, I tried to use this command ndd -set /dev/eri adv_1000fdx_cap 1 but i get a "operation failed, Invalid argument" anyone can help ? Thanks (5 Replies)
Discussion started by: DarReNz
5 Replies

4. Solaris

Solaris 10 Speed and Duplex Settings: bge

Evening, I am attempting to change the speed and duplex settings on a single interface on a bge card on an m3000 SPARC server. Currently the settings are as follows: bge0 link: up speed: 1000 Mbps duplex: full bge1 link: up speed: 100 Mbps ... (13 Replies)
Discussion started by: brialt1
13 Replies

5. Solaris

How to find half duplex or full duplex

Hi, How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct? Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 Replies

6. AIX

How to change Speed Duplex

How to change Speed Duplex ! How to change Speed Duplex by command chdev -P -l ent1 -a media_speed=1000_Full_Duplex How to change Speed Duplex by Smitty . smitty chgenet -> select adapter -> change Media speed etc. -> set "Apply change to DATABASE only" to yes -> Enter -> ... (0 Replies)
Discussion started by: ITHelper
0 Replies

7. AIX

Settings change in aix

Hi Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies

8. Red Hat

Change user settings..

Hi, I have 48 cores in my server. I want to assign 50% of the cores to certain programs and rest to some other programms. I found the command "taskset" very good option to assign cpu afinity to already running programms or newly created programms. But the problem is even if i set a cron to... (1 Reply)
Discussion started by: Rantu
1 Replies

9. Shell Programming and Scripting

Need script help for monitoring duplex settings

So I have a server I am trying to set up a script to send a Wall message notifying of my eth0 nic being set to 100 half duplex instead of 100 full duplex. I know I am trying to read from /etc/sysconfig/network/ifcfg-eth0 to pull the parameters STARTMODE=onboot BOOTPROTO=static... (6 Replies)
Discussion started by: lutador72
6 Replies

10. Shell Programming and Scripting

[All variants] Change settings

Hi, I have a big settings confg (file attached). There are a few separate tasks that I have to accomplish. All scripting/programming languages are appreciated. 1. I need to parse all values and output to stdout. Sample output (truncated): VALUEA 2017-01-01 Lores ipsum Lorem ipsum dolor sit... (11 Replies)
Discussion started by: useretail
11 Replies
lan_config(8)						      System Manager's Manual						     lan_config(8)

NAME
lan_config - Modifies low-level configuration parameters for a given LAN interface SYNOPSIS
/usr/sbin/lan_config -i interface_name [-a [0 | 1]] [-m [aui | bnc | utp | fiber]] [-s [10 | 100]] [-x [0 | 1]] OPTIONS
Changes the specified characteristics for interface_name. You must provide an interface name. Enables (1) or disables (0) IEEE 802.3u autonegotiation. This option applies only to those devices that are capable of autonegotiation (for example, DE500-AA and DE500-BA). When enabled, the interface automatically negotiates the link speed (10 or 100 Mb/s) and the mode (half-duplex or full-duplex) with the remote interface. The interface initially advertises the speed and mode previously selected at the console level or with the -s and -x options. The -s and -x options may also be specified on the same command line as the -a option to redefine and renegotiate the interface's capa- bility (when enabled) or to force the interface at a certain configuration (when disabled). Note The interface initiates the autonegotiation process only if and when it is up and running. See ifconfig(8) for information on how the interface is marked up. Changes the type of medium. The following table lists the supported types: -------------------------------------------------------------- Type Meaning -------------------------------------------------------------- aui 10Base5, or thick wire bnc 10Base2, or ThinWire utp 10BaseT (if speed is 10 Mb/s) or 100BaseT (if speed is 100 Mb/s), or twisted-pair fiber 100BaseFX only -------------------------------------------------------------- On some devices, for example, DE435 and DE425, bnc selection is done by means of an on-board gang jumper. When specifying aui or bnc for these devices, be sure that the jumper is in the correct position. Changes the medium speed, if the interface is capable of operating at both regular (10 Mb/s) and fast (100 Mb/s) Ethernet speeds. The fast speed cannot be selected for the aui and bnc media. Enables (1) or disables (0) full-duplex operation when the utp medium is specified. DESCRIPTION
The lan_config command allows you to modify the type of medium, speed, and mode of operation (half- or full-duplex). You can also use the lan_config command to enable or disable autonegotiation, if the underlying device has this capability. Autonegotia- tion is a hardware and software (driver) process that allows determination of the highest common speed and duplex (half or full) configura- tion. The permitted combinations of speed and mode of operation in descending order of precedence, from the highest to the lowest, are: ----------------------- Speed Mode ----------------------- 100 Mb/s full-duplex 100 Mb/s half-duplex 10 Mb/s full-duplex 10 Mb/s half-duplex ----------------------- During autonegotiation, for example, if the local interface advertises that it is capable of 100 Mb/s half-duplex operation, it is by implication also capable of 10 Mb/s, full-duplex and 10 Mb/s, half-duplex operation. If the remote interface advertises that it is capable of 10 Mb/s, full-duplex operation only, the link is established at 10 Mb/s, full-duplex. The autonegotiation process can take several sec- onds to complete. The characteristics managed with the lan_config command are ordinarily set from the console level via the EWx0_MODE environment variable. The lan_config command allows you to override this default and configure the interface as needed after the system is up and running. Modifications made with the lan_config command do not persist across reboots of the operating system. You can also use the ifconfig command to set the speed and mode (half- or full-duplex) either from the command line or in the /etc/rc.local file. If you specify the command in the rc.local file, the command is executed each time the system is booted; you do not have to modify the SRM console environment variables. RESTRICTIONS
Support for the lan_config command is limited to the tu interface for this release of Tru64 UNIX. EXAMPLES
To switch from aui or bnc to utp full-duplex operation on tu0, enter: lan_config -i tu0 -m utp -x 1 To disable full-duplex operation on tu0, enter: lan_config -i tu0 -x 0 To enable autonegotiation on tu1, limiting capability to 100 Mb/s, enter: lan_config -i tu1 -a 1 -s 100 -x 0 To disable autonegotiation on tu1, forcing 10 Mb/s, half-duplex operation, enter: lan_config -i tu1 -a 0 -s 10 -x 1 SEE ALSO
Commands: ifconfig(8) Files: inet.local(4) Interfaces: tu(7) lan_config(8)
All times are GMT -4. The time now is 02:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy