Operating System - HP-UX
1752661 Members
5610 Online
108788 Solutions
New Discussion юеВ

Command to find out tcpip parameters

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Command to find out tcpip parameters

Hey Guys,

What are the commands to find out tcpip parameters arleady set on the hpux 11/11i box ?

Thanks,
Shiv
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: Command to find out tcpip parameters

Hi Shiv,

# ndd -h supported
print all supported parameters
# ndd -h unsupported
print all unsupported parameters
# ndd -get
print value of the specific parameter

Hope this helps,
Robert-Jan
Biswajit Tripathy
Honored Contributor

Re: Command to find out tcpip parameters

To see all supported parameters, use:

# /usr/bin/ndd -h supported

To see the current value of each parameter,
use:

# /usr/bin/ndd -get DEVICE PARAMETER

where DEVICE is /dev/ip for IP, /dev/tcp for
TCP parameters etc, PARAMETER is the name of
parameter in the output of
"/usr/bin/ndd -h supported"

- Biswajit
:-)
Mahesh Kumar Malik
Honored Contributor

Re: Command to find out tcpip parameters

Hi Shiv

Besides various replies, please visit following pages on ndd:

http://docs.hp.com/en/B2355-90692/ndd.1M.html

Regards
Mahesh
Cem Tugrul
Esteemed Contributor

Re: Command to find out tcpip parameters

Shiv,

Here is the ndd command with examples
EXAMPLES
To get help information on all supported tunable parameters:
ndd -h supported

To get a detail description of the tunable parameter, ip_forwarding:
ndd -h ip_forwarding

To get a list of all TCP related parameters:
ndd -get /dev/tcp ?

To get the current value of the tunable parameter, ip_forwarding:
ndd -get /dev/ip ip_forwarding

To set the value of the default TTL parameter for UDP to 128:

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't