Sponsored Content
Operating Systems Solaris Solaris 10 Speed and Duplex Settings: bge Post 302349297 by brialt1 on Monday 31st of August 2009 03:19:22 PM
Old 08-31-2009
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:

Code:
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: up        speed: 100   Mbps       duplex: half
bge2            link: up        speed: 1000  Mbps       duplex: full
bge3            link: unknown   speed: 0     Mbps       duplex: unknown
nxge0           link: down      speed: 1000  Mbps       duplex: full
nxge1           link: up        speed: 100   Mbps       duplex: full
nxge2           link: up        speed: 1000  Mbps       duplex: full
nxge3           link: down      speed: 1000  Mbps       duplex: full

I would like to change the bge1 interface to full duplex permanently. I read that I could make changes to the /platform/sun4u/kernel/drv/bge.conf file to make this permanent, however all of our attempts have not yielded the expected results.

Additional Information:

Code:
root@dssbfw101a.myhughesnet.com$ grep bge /etc/path_to_inst
"/pci@0,600000/pci@0/pci@1/pci@0/network@4" 0 "bge"
"/pci@0,600000/pci@0/pci@1/pci@0/network@4,1" 1 "bge"
"/pci@0,600000/pci@0/pci@2/pci@0/network@4" 2 "bge"
"/pci@0,600000/pci@0/pci@2/pci@0/network@4,1" 3 "bge"

Any assistance would be greatly appreciated.

Last edited by DukeNuke2; 08-31-2009 at 04:37 PM..
 

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. IP Networking

NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box I wanted to run it with 100M/full duplex I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot. set eri:eri_adv_100fdx_cap=1 set eri:eri_adv_100hdx_cap=0 set eri:eri_adv_autoneg_cap=0 But when I... (4 Replies)
Discussion started by: AirWalker83
4 Replies

3. HP-UX

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. (2 Replies)
Discussion started by: sag71155
2 Replies

4. Solaris

gigabit - fix speed/duplex on the switch ? or autoneg ?

Hi there We have a bit of a debate going here over what the prefered method is for setting 1000/Full on e1000g or nge interfaces is. As you aware the Solaris configration files for nge and e1000g dont allow you to "fix" 1000/Full but instead allow you to set auto-negotiate to ON but only... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

5. UNIX for Advanced & Expert Users

How to set full duplex for solaris 5.5

I would like to change half duplex to full duplex on solaris 5.5. I tried with below commands but they didnt work on solaris 5.5. #ndd -set /dev/le adv_100fdx_cap 1 (6 Replies)
Discussion started by: csreenivas
6 Replies

6. Infrastructure Monitoring

How to find the duplex speed on Windows

Hi, In UNIX, it's very easy to find the duplex speed. But in Windows, is there a easy way to find the duplex speed? I can't go to over 100 servers to find this out, I was wondering if I run one command to do this? Please advice. (2 Replies)
Discussion started by: samnyc
2 Replies

7. 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

8. 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

9. AIX

Connected and Running with half duplex speed

VIO Server connected to switch port and running with half duplex speed on one of the shared ethernet adapter. We have verified at switch end and everythings looks good. Other ethernet adapter in the VIO server are connected and running in Full duplex speed. Please help me find why this shared... (4 Replies)
Discussion started by: mugunthanvh
4 Replies

10. 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
bge(7D) 																   bge(7D)

NAME
bge - SUNW,bge Gigabit Ethernet driver for Broadcom BCM57xx SYNOPSIS
/dev/bge* The bge Gigabit Ethernet driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider Inter- face, dlpi(7P), on Broadcom BCM57xx (BCM5700/5701/5703/5704/5705/5705M/5714/5721/5751/5751M/5782/5788 on ) Gigabit Ethernet controllers fitted to the system motherboard. With the exception of BCM5700/BCM5701/BCM5704S, these devices incorporate both MAC and PHY functions and provide three-speed (copper) Ethernet operation on the RJ-45 connectors. (BCM5700/BCM5701/BCM5704S do not have a PHY integrated into the MAC chipset.) The bge driver functions include controller initialization, frame transmit and receive, promiscuous and multicast support, and error recov- ery and reporting. The bge driver and hardware support auto-negotiation, a protocol specified by the 1000 Base-T standard. Auto-negotiation allows each device to advertise its capabilities and discover those of its peer (link partner). The highest common denominator supported by both link partners is automatically selected, yielding the greatest available throughput, while requiring no manual configuration. The bge driver also allows you to configure the advertised capabilities to less than the maximum (where the full speed of the interface is not required), or to force a specific mode of operation, irrespective of the link partner's advertised capabilities. APPLICATION PROGRAMMING INTERFACE
The cloning character-special device, /dev/bge, is used to access all BCM57xx devices ( (BCM5700/5701/5703/5704, 5705/5714/5721/5751/5751M/5782 on ) fitted to the system motherboard. The bge driver is managed by the dladm(1M) command line utility, which allows VLANs to be defined on top of bge instances and for bge instances to be aggregated. See dladm(1M) for more details. You must send an explicit DL_ATTACH_REQ message to associate the opened stream with a particular device (PPA). The PPA ID is interpreted as an unsigned integer data type and indicates the corresponding device instance (unit) number. The driver returns an error (DL_ERROR_ACK) if the PPA field value does not correspond to a valid device instance number for the system. The device is initialized on first attach and de- initialized (stopped) at last detach. The values returned by the driver in the DL_INFO_ACK primitive in response to a DL_INFO_REQ are: o Maximum SDU is 1500 (ETHERMTU - defined in <sys/ethernet.h>). o Minimum SDU is 0. o DLSAP address length is 8. o MAC type is DL_ETHER. o SAP length value is -2, meaning the physical address component is followed immediately by a 2-byte SAP component within the DLSAP address. o Broadcast address value is the Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF). Once in the DL_ATTACHED state, you must send a DL_BIND_REQ to associate a particular Service Access Point (SAP) with the stream. CONFIGURATION
By default, the bge driver performs auto-negotiation to select the link speed and mode. Link speed and mode can be any one of the follow- ing, (as described in the IEEE803.2 standard): o 1000 Mbps, full-duplex o 1000 Mbps, half-duplex o 100 Mbps, full-duplex o 100 Mbps, half-duplex o 10 Mbps, full-duplex o 10 Mbps, half-duplex The auto-negotiation protocol automatically selects: o Speed (1000 Mbps, 100 Mbps, or 10 Mbps) o Operation mode (full-duplex or half-duplex) as the highest common denominator supported by both link partners. Because the bge device supports all modes, the effect is to select the highest throughput mode supported by the other device. Alternatively, you can set the capabilities advertised by the bge device using ndd(1M). The driver supports a number of parameters whose names begin with adv_ (see below). Each of these parameters contains a boolean value that determines whether the device advertises that mode of operation. The adv_pause_cap indicates whether half/full duplex pause is advertised to link partner. And the adv_asym_pause_cap can be set to advertise to link partner that asymmetric pause is desired. In addition, bge uses adv_100T4_cap to advertise its 100T4 capabil- ity. The adv_autoneg_cap parameter controls whether autonegotiation is performed. If adv_autoneg_cap is set to 0, the driver forces the mode of operation selected by the first non-zero parameter in priority order as listed below: (highest priority/greatest throughput) adv_1000fdx_cap 1000Mbps full duplex adv_1000hdx_cap 1000Mpbs half duplex adv_100fdx_cap 100Mpbs full duplex adv_100hdx_cap 100Mpbs half duplex adv_10fdx_cap 10Mpbs full duplex adv_10hdx_cap 10Mpbs half duplex (lowest priority/least throughput) For example, to prevent the device 'bge2' from advertising gigabit capabilities, enter (as super-user): # ndd -set /dev/bge2 adv_1000hdx_cap 0 # ndd -set /dev/bge2 adv_1000fdx_cap 0 All capabilities default to enabled. Note that changing any capability parameter causes the link to go down while the link partners renego- tiate the link speed/duplex using the newly changed capabilities. The current settings of the parameters may be found using ndd -get. In addition, the driver exports the current state, speed, duplex set- ting, and working mode of the link via ndd parameters (these are read only and may not be changed). For example, to check link state of device bge0: # ndd -get /dev/bge0 link_status 1 # ndd -get /dev/bge0 link_speed 100 # ndd -get /dev/bge0 link_duplex 2 # ndd -get /dev/bge0 link_rx_pause 1 # ndd -get /dev/bge0 link_tx_pause 1 The output above indicates that the link is up and running at 100Mbps full-duplex with its rx/tx direction pause capability. In addition, the driver exports its working mode by loop_mode. If it is set to 0, the loopback mode is disabled. /dev/bge* Character special device. /kernel/drv/sparcv9/bge SPARC bge driver binary. /kernel/drv/amd64/bge kernel module for 64-bit platform /platform/i86pc/kernel/drv/bge 32-bit bge driver binary. /platform/i86pc/kernel/drv/amd64/bge 64-bit bge driver binary. See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC, | +-----------------------------+-----------------------------+ dladm(1M), attributes(5), streamio(7I), dlpi(7P) Writing Device Drivers STREAMS Programming Guide Network Interfaces Programmer's Guide 23 Feb 2005 bge(7D)
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy