Saturday, June 13, 2009

How to Check the Network Settings

How to Check the Network Settings on the system:

On HPUX System:
run lanscan and get the lan card id
#lanadmin -sx 0
Speed = 100000000
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF

On all the machines you can run $ `ifconfig -a` and get the nic card id
On Solaris System: ( Check for Solaris version, solaris 10 got dladm) Gotcha :-)
ndd -get /dev/hme link_speed
1 ( My NIC Card is set as 100mbps )
Legend: (0=10mbps 1=100mbps 1000=1gbps)

ndd -get /dev/hme link_mode
1 ( My NIC Card is set as Full Duplex)
(0=Half Duplex 1=Full Duplex)

For Solaris 10 systems:
#dladm show-dev
bge0 link: up speed: 100 Mbps duplex: full
bge1 link: down speed: 0 Mbps duplex: unknown

On AIX System:
$ entstat -d en4 grep -i med
Media Speed Selected: 100 Mbps Full Duplex

On Linux System: ( Checked on Red-Hat need to check in SuSE)
Need to try these commands; its been while I ran (missing output :-( )
mii-tool
ethtool


and let villagers be happy with your findings...

No comments:

Post a Comment