no command
Use the no command and its flags to display current network values and to change options.
- -a
- Prints all options and current values
- -d
- Sets options back to default
- -o
- option=NewValue
For a listing of all attributes for the no command, see Network option tunable parameters.
Note: The no command
performs no-range checking. If it is used incorrectly, the no command
can cause your system to become inoperable.
Some network attributes are run-time attributes that can
be changed at any time. Others are load-time attributes that must
be set before the netinet kernel extension is loaded.
Note: When
the no command is used to change parameters, the
change is in effect only until the next system boot. At that point,
all parameters are initially reset to their defaults.
Note: To enable and disable specific no command
options on future reboots the information must be present in the /etc/tunables/nextboot file.
Enter no -r -o <no_optionname>=<value> on
the command line, such as no -r -o arptab_bsiz=10.
On subsequent reboots, arptab_bsiz=10 remains in effect and
applies to the nextboot file.
If your system uses Berkeley-style network configuration, set the attributes near the top of the /etc/rc.bsdnet file. If you use an SP system, edit the tuning.cust file.