1820879 Members
5398 Online
109628 Solutions
New Discussion юеВ

ndd command

 
Mridul Dutta
Advisor

ndd command

Hi friend,

i m confused in network parameter . is it same with network configuration?


i heard from one of friend is that "ndd" command is used for setting network parameter . is it for parmanent configuration? what is the configuration file for network parameter

Mridul
5 REPLIES 5
Dave Olker
Neighborhood Moderator

Re: ndd command

Hi Mridul,

Ndd is a tool for configuring parameters specific to networking. There are many ndd-configurable parameters, although these are not the same as other kernel parameters that are set via adb or kctune.

If you heard about an ndd tunable parameter and you wish to set it at boot time, you can use the /etc/rc.config.d/nddconf file to configure this parameter to be set at system boot. You can also use the ndd command to manually set the parameter to a specific value while the system is running.

Do you have a question about a specific ndd parameter or are you asking about how to use the ndd command itself?

If you have questions about using ndd you can reference the ndd man page or documents on the docs.hp.com web site.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Arunvijai_4
Honored Contributor

Re: ndd command

"ndd" is used to tune and modify several network tunable parameters. # ndd -h will give you more information. Here is a link to a good doc, ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17173

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: ndd command

man ndd for details.

file /etc/rc.config.d/nddconf holds the setting information.

ndd -h supported
ndd -h unsupported
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: ndd command

Nope. You have to configure in /etc/rc.config.d/nddconf file to make permanent setting. If you tune it with ndd then it is applicable to that session only.

see nddconf file and ndd man page.

-Muthu
Easy to suggest when don't know about the problem!
YoungHwan, Ko
Valued Contributor

Re: ndd command

To modify ndd parameters
1. Use command
# ndd -set /dev/tcp tcp_time_wait_interval 60000
#ndd -set /dev/tcp keep_alive_interval 3600000 ===> Setting
#ndd -get /dev/tcp tcp_time_wait_interval
#ndd -get /dev/tcp keep_alive_interval ===> Confirm

2. Use file edit
# vi /etc/rc.config.d/nddconf
TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_time_wait_interval
NDD_VALUE[0]=60000

TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=keep_alive_interval
NDD_VALUE[1]=3600000
.
.
.