cancel
Showing results for 
Search instead for 
Did you mean: 

Duplex

kunjuttan
Super Advisor

Duplex

Hi All,

 

      I want to know how to check the duplex of a network card.And also how to change the duplex from half to full or from full to half.

7 REPLIES
Torsten.
Acclaimed Contributor

Re: Duplex

Example:

 

# nwmgr -g -v -c lan0
lan0:
   Interface State =UP
   MAC Address = 0x00306E123456
   Subsystem = igelan
   Interface Type = 1000Base-T
   Hardware Path = 0/1/2/0
   NMID = 1
   Feature Capabilities = Physical Interface
                          IPV4 Recv CKO
                          IPV4 Send CKO
                          VLAN Tag Offload
                          64Bit MIB Support
                          IPV4 TCP Segmentation Offload
                          UDP Multifrag CKO
   Feature Settings = Physical Interface
                      VLAN Tag Offload
                      64Bit MIB Support
   MTU = 1500
   Speed = 100 Mbps Full Duplex (Autonegotiation : On)


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kunjuttan
Super Advisor

Re: Duplex

Hi Torsten,

 

           Thanks for the reply.Can I able to change it to half duplex.How?

Torsten.
Acclaimed Contributor

Re: Duplex

Most current cards needs a Autonegotiation : On setting, so you can only change from the switch - but why slow down???

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kunjuttan
Super Advisor

Re: Duplex

Hi Torsten,

 

       I asked just for an information.Thats all..Thanks for the valuable inputs

Naj
Valued Contributor

Re: Duplex

Hi ,

There has 2 way to find out this info
1. nwmgr
2.lanadmin

if you are using lanadmin

root@test01:/# lanadmin -x 1
Speed = 1000 Full-Duplex.
Autonegotiation = On.

Thanks

BR
Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Hakki Aydin Ucar
Honored Contributor

Re: Duplex

Actually in theory ndd does it what you want if supported in your OS version;

 

link_speed 0/1 read only 0 = 10 meg, 1 = 100 meg
link_mode 0/1 read only 0 = half duplex, 1 = full duplex

 

So , if supported you can use ndd for both info and setup , for info use -get

 

# ndd -get /dev/lan0 link_duplex
1
# ndd -get /dev/lan0 link_speed
1

 

To set use -set instead of -get

 

Naj
Valued Contributor

Re: Duplex

Hi Hakki,

 

root@abc /etc#lanscan
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/2/2/0  0x00215AF8B516 2   UP    lan2 snap2     1   ETHER     Yes     119
0/1/1/0  0x00215AF8B518 0   UP    lan0 snap0     2   ETHER     Yes     119
0/1/1/1  0x00215AF8B519 1   UP    lan1 snap1     3   ETHER     Yes     119
0/2/2/1  0x00215AF8B517 3   UP    lan3 snap3     4   ETHER     Yes     119
LinkAgg0 0x000000000000 900 DOWN  lan900 snap900 6   ETHER     Yes     119
LinkAgg1 0x000000000000 901 DOWN  lan901 snap901 7   ETHER     Yes     119
LinkAgg2 0x000000000000 902 DOWN  lan902 snap902 8   ETHER     Yes     119
LinkAgg3 0x000000000000 903 DOWN  lan903 snap903 9   ETHER     Yes     119
LinkAgg4 0x000000000000 904 DOWN  lan904 snap904 10  ETHER     Yes     119

root@abc /etc#ndd -get /dev/lan0 link_duplex
ndd: couldn't push module 'lan0', Invalid argument


root@abc /etc#ndd -get /dev/lan2 link_duplex
ndd: couldn't push module 'lan2', Invalid argument

Thanks

 

BR

Naj

 


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!