Operating System - HP-UX
1835433 Members
3057 Online
110078 Solutions
New Discussion

Re: what is the command to get network interface details?

 
DeviPvk
Occasional Advisor

what is the command to get network interface details?

What is the command to get following details
Network interface index,speed,duplex
IPv4 dhcp server
Ipv6 dhcp server
6 REPLIES 6
V. Nyga
Honored Contributor

Re: what is the command to get network interface details?

Hi,

what os - hp-ux?

lanscan
landiag

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Torsten.
Acclaimed Contributor

Re: what is the command to get network interface details?

Last but not least: lanadmin

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!   
rick jones
Honored Contributor

Re: what is the command to get network interface details?

As lanadmin and lanscan are already mentioned, that covers the speed and duplex, and probably covers the index (I presume you mean for SNMP stuff right?)

I'm not sure if/where the ID of the DHCP server used (if any) to configure the interface would be squirreled away.
there is no rest for the wicked yet the virtuous have no pillows
Michael Steele_2
Honored Contributor

Re: what is the command to get network interface details?

Hi

You can use SAM for dhcp configuration.

Refer to /etc/rc.config.d/netconf to see if dhcp is turned on. Refer to /etc/dhcptab to see what ip addresses are being used.
Support Fatherhood - Stop Family Law
DeviPvk
Occasional Advisor

Re: what is the command to get network interface details?

Thank you all for the replies.
I need a non interactive command to get DHCP server details.
Please let me know if any one has an idea.


thanks,
Devi
Michael Steele_2
Honored Contributor

Re: what is the command to get network interface details?

Hi

Try this

Dump the active bootpd server's internal data to the dump output files:

dhcptools -d
Support Fatherhood - Stop Family Law