System Administration Guide, Volume 3

Controlling Display Output

You can control how the netstat and ifconfig commands display output:

You can set the value of DEFAULT_IP to IP_VERSION4, IP_VERSION6, or BOTH. If you do not create this file specifying the DEFAULT_IP, then netstat and ifconfig displays both versions.


Note -

The inet or inet6 keyword options used as part of the command-line argument override the value set in the inet_type file (if it exists) when using the netstat and ifconfig commands.


See "How to Control the Display Output of IPv6 Related Commands" for a description of related procedures.