ndd(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

ndd(8)

System Administration Commands                                          ndd(8)



NAME
       ndd - get and set driver configuration parameters

SYNOPSIS
       ndd [-set] driver parameter [value]

DESCRIPTION
       ndd  gets  and  sets  selected  configuration parameters in some kernel
       drivers. Currently, ndd only supports the drivers  that  implement  the
       TCP/IP  Internet  protocol family. Each driver chooses which parameters
       to make visible using ndd. Since these parameters are  usually  tightly
       coupled  to  the implementation, they are likely to change from release
       to release. Some parameters may be read-only.

       Note -



         It is strongly encouraged that you use ipadm(8), rather than ndd,  to
         modify or retrieve TCP/IP Internet protocols. The current ndd command
         will be made obsolete in a  future  release,  replaced  by  ipadm(8).
         Please see NOTES for more information.



       If  the  ndd   -set  option  is  omitted, ndd queries the named driver,
       retrieves the value associated with the specified parameter, and prints
       it. If the -set option is given, ndd passes value, which must be speci‐
       fied, down to the named driver which assigns it to the named parameter.


       By convention, drivers that support ndd also support  a  special  read-
       only  parameter named "?" which can be used to list the parameters sup‐
       ported by the driver.

EXAMPLES
       Example 1 Getting Parameters Supported By The TCP Driver



       To see which parameters are supported by the TCP driver, use  the  fol‐
       lowing command:


         example% ndd /dev/tcp \?




       The  parameter name "?" may need to be escaped with a backslash to pre‐
       vent its being interpreted as a shell meta character.



       The following command sets the value of the parameter ip_forwarding  in
       the dual stack IP driver to zero. This disables IPv4 packet forwarding.


         example% ndd -set /dev/ip ip_forwarding 0




       Similarly,  in  order  to  disable IPv6 packet forwarding, the value of
       parameter ip6_forwarding


         example% ndd -set /dev/ip ip6_forwarding 0


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       ioctl(2),  arp(4P),  ip(4P),  ip6(4P), tcp(4P), udp(4P), attributes(7),
       dladm(8), ipadm(8)

NOTES
       The parameters supported by each driver  may  change  from  release  to
       release.  Like  programs  that  read  /dev/kmem, user programs or shell
       scripts that execute ndd should be  prepared  for  parameter  names  to
       change.


       The ioctl() command that ndd uses to communicate with drivers is likely
       to change in a future release. User programs should avoid making depen‐
       dencies on it.


       The  use  of  ndd  to  administer  Layer 2 (Data Link layer) drivers is
       strongly discouraged as this capability is to be obsoleted in a  future
       release,  replaced by dladm(8). Please refer to the driver-specific man
       page in section 4D of the Oracle Solaris man pages.


       The use of ndd to administer the  drivers  that  implement  the  TCP/IP
       Internet protocol family (IP/TCP/SCTP/UDP/ICMP) is strongly discouraged
       as this capability is to be obsoleted in a future release, replaced  by
       ipadm.  Please see ipadm(8) for instructions for modifying and retriev‐
       ing supported protocol properties.


       The meanings of many ndd parameters make sense only if  you  understand
       how the driver is implemented.



Oracle Solaris 11.4               31 Jan 2018                           ndd(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3