Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man8/ndd.8
Real path: /usr/share/man/man8/ndd.8
Zurück
'\" te .\" Copyright (c) 2010, 2020, Oracle and/or its affiliates. .TH ndd 8 "31 Jan 2018" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME ndd \- get and set driver configuration parameters .SH SYNOPSIS .LP .nf \fBndd\fR [\fB-set\fR] \fIdriver\fR \fIparameter\fR [\fIvalue\fR] .fi .SH DESCRIPTION .sp .LP \fBndd\fR gets and sets selected configuration parameters in some kernel drivers. Currently, \fBndd\fR only supports the drivers that implement the \fBTCP/IP\fR Internet protocol family. Each driver chooses which parameters to make visible using \fBndd\fR. 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. .LP Note - .sp .RS 2 .sp .LP It is strongly encouraged that you use \fBipadm\fR(8), rather than \fBndd\fR, to modify or retrieve TCP/IP Internet protocols. The current \fBndd\fR command will be made obsolete in a future release, replaced by \fBipadm\fR(8). Please see \fBNOTES\fR for more information. .RE .sp .LP If the \fBndd\fR \fB-set\fR option is omitted, \fBndd\fR queries the named \fIdriver\fR, retrieves the value associated with the specified \fIparameter\fR, and prints it. If the \fB-set\fR option is given, \fBndd\fR passes \fIvalue\fR, which must be specified, down to the named \fIdriver\fR which assigns it to the named \fIparameter\fR. .sp .LP By convention, drivers that support \fBndd\fR also support a special read-only \fIparameter\fR named "\fB?\fR" which can be used to list the parameters supported by the driver. .SH EXAMPLES .LP \fBExample 1\fR Getting Parameters Supported By The TCP Driver .sp .LP To see which parameters are supported by the TCP driver, use the following command: .sp .in +2 .nf example% \fBndd /dev/tcp \e?\fR .fi .in -2 .sp .sp .LP The parameter name "\fB?\fR" may need to be escaped with a backslash to prevent its being interpreted as a shell meta character. .sp .LP The following command sets the value of the parameter \fIip_forwarding\fR in the dual stack IP driver to zero. This disables IPv4 packet forwarding. .sp .in +2 .nf example% \fBndd -set /dev/ip ip_forwarding 0\fR .fi .in -2 .sp .sp .LP Similarly, in order to disable IPv6 packet forwarding, the value of parameter \fIip6_forwarding\fR .sp .in +2 .nf example% \fBndd -set /dev/ip ip6_forwarding 0\fR .fi .in -2 .sp .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/core-os .TE .sp .SH SEE ALSO .sp .LP \fBioctl\fR(2), \fBarp\fR(4P), \fBip\fR(4P), \fBip6\fR(4P), \fBtcp\fR(4P), \fBudp\fR(4P), \fBattributes\fR(7), \fBdladm\fR(8), \fBipadm\fR(8) .SH NOTES .sp .LP The parameters supported by each driver may change from release to release. Like programs that read \fB/dev/kmem\fR, user programs or shell scripts that execute \fBndd\fR should be prepared for parameter names to change. .sp .LP The \fBioctl()\fR command that \fBndd\fR uses to communicate with drivers is likely to change in a future release. User programs should avoid making dependencies on it. .sp .LP The use of \fBndd\fR to administer Layer 2 (Data Link layer) drivers is strongly discouraged as this capability is to be obsoleted in a future release, replaced by \fBdladm\fR(8). Please refer to the driver-specific man page in section 4D of the Oracle Solaris man pages. .sp .LP The use of \fBndd\fR 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 \fBipadm\fR. Please see \fBipadm\fR(8) for instructions for modifying and retrieving supported protocol properties. .sp .LP The meanings of many \fBndd\fR parameters make sense only if you understand how the driver is implemented.