1850467 Members
2435 Online
104054 Solutions
New Discussion

NIC Full/Half Duplex

 
GPrakash
Advisor

NIC Full/Half Duplex

Hi Folks,

I want to findout my NIC is in full/half duplex.

could you please let me know how can we findout with one command line as I need to prepare script.

thanks in advance.
11 REPLIES 11
Michal Kapalka (mikap)
Honored Contributor

Re: NIC Full/Half Duplex

hi,

lanadmin -x 0 --> lan0
lanadmin -x 1 --> lan1
....


mikap
GPrakash
Advisor

Re: NIC Full/Half Duplex

hi am getting this error

/usr/sbin/lanadmin -x 900
ERROR: Expected "-" before the sub-option.

900 --> lan900
Richard Hepworth
Esteemed Contributor

Re: NIC Full/Half Duplex

Hi,

As you are using APA you need to find what ports are in the aggregate first:

lanadmin -x -i 900

Link Aggregate PPA # : 900
Link Aggregation Mode : MANUAL
Load Balance Mode : Hot Standby (LB_HOT_STANDBY)
Active Port PPA # : 1
Port(s) ready : 4
Port(s) not ready : NONE

then

lanadmin -x 1 (for lan1)

Speed = 1000 Full-Duplex.
Autonegotiation = On.

lanadmin -x 4 (for lan4)

Speed = 1000 Full-Duplex.
Autonegotiation = On.
Michal Kapalka (mikap)
Honored Contributor

Re: NIC Full/Half Duplex

hi,

lanscan -qa you will see wich lan card are bind to the APA lan900

kmsr3dev:/>lanscan -qa
0x00306EF5A74F 900 2 3

them lanadmin -x PPA of binded LAN cards

kmsr3dev:/>lanadmin -x 2
Speed = 1000 Full-Duplex.
Autonegotiation = On.

kmsr3dev:/>lanadmin -x 3
Speed = 1000 Full-Duplex.
Autonegotiation = On.

mikap
GPrakash
Advisor

Re: NIC Full/Half Duplex

-----------------------------
lanscan -qa
0x0014C2653073 3
0x0014C29C56D4 900 4 5
0x000000000000 901
0x000000000000 902
0x000000000000 903
0x000000000000 904
-----------------------------
/usr/sbin/lanadmin -x -i 900
Link Aggregate PPA # : 900
Link Aggregation Mode : MODE_UNDEFINED
Load Balance Mode : NONE
Active Ports PPA # : NONE
Port(s) not ready : NONE
--------------------------------

lanadmin -x 900
ERROR: Expected "-" before the sub-option.
--------------------------
I posted outputs...

could you please let me know how to solve??
Michal Kapalka (mikap)
Honored Contributor

Re: NIC Full/Half Duplex

hi,

-----------------------------
lanscan -qa
0x0014C2653073 3
0x0014C29C56D4 900 4 5

because your APA configuration bind LAN 4/5 to the lan900

lanadmin -x 4

lanadmin -x 5

mikap
GPrakash
Advisor

Re: NIC Full/Half Duplex

(sdbe505a:nbki1kx)$ /usr/sbin/lanadmin -x 4
ERROR: Could not process request.
(sdbe505a:nbki1kx)$ /usr/sbin/lanadmin -x 5
ERROR: Could not process request.
Michal Kapalka (mikap)
Honored Contributor

Re: NIC Full/Half Duplex

hi,

ok check this link,

you could check the lan card functionality with linkloop command

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1179258

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: NIC Full/Half Duplex

the mac adress for your lancards will display in

lanadmin ==> lan ==> ppa ( 4 5 ) ==> display

Station Address ( MAC Adress )

mikap
sujit kumar singh
Honored Contributor

Re: NIC Full/Half Duplex

Hi


You shall perhaps need to check the APA config.

your 900 shows ports 4 and 5, there is no port-mode defined and also no load balance mode.

check if 4 and 5 are reachable to one another.

#lanscan

note down the MAC Addresses of LAN 4 and 5.

#linkloop -i 4
#linkloop -i 5

then go to APA config. You can use SAM, go to Network and communications.

the most basic comfig of APA, set the Port mode for 4 and 5 to MANUAL and Load Balanace mode to MAC_BASED.

lan 4 and lan 5 should be compatible to APA and also the LAN Switch to which they connect should support APA.

then go to Network Interfaces in the Network and communications menu in SAM and add an IP to LAN900.

then exit from SAM.

#/sbin/init.d/hplm stop
#/sbin/init.d/hpapa stop

#/sbin/init.d/hpapa start
#/sbin/init.d/hplm start

Please before stopping and starting these services and modifying APA make sure that the applications are not affected.


regards
sujit
sujit kumar singh
Honored Contributor

Re: NIC Full/Half Duplex

hi

the most basic comfig of APA, set the Port mode for 4 and 5 to MANUAL and Load Balanace mode to MAC_BASED.

the most basic comfig of APA, set the Port mode for 4 and 5 to MANUAL and Load Balanace mode to LB_MAC.


regards
sujit