System Administration Guide: IP Services

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 by specifying the DEFAULT_IP, then netstat and ifconfig displays both versions.

Note –

The inet or inet6 keyword option overrides the value that is set in the inet_type file when you use the netstat and ifconfig commands.

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