Library Table of Contents Index Previous Next Comments

Using the ifconfig command

About the ifconfig command  Top

The ifconfig command assigns an address to a network interface and configures interface parameters such as netmask, mediatype, and mtusize.

How the ifconfig command works  Top

An ifconfig command is included in the /etc/rc file of the root volume for each filer interface that you specify an IP address for during the filer setup. After the filer has been set up, the ifconfig commands in the /etc/rc file are used to configure the interfaces on consequent filer reboots.

How to use the ifconfig command  Top

You can use the ifconfig command at the command line of the filer to change any of the interface parameters when the filer is operating. However, such changes are not automatically included in the /etc/rc file. If you want the configuration changes you make with the ifconfig command to be persistent after a reboot, include the ifconfig commands in the /etc/rc file.

The ifconfig command syntax  Top

The ifconfig command syntax is as follows:

ifconfig [-a | [interface
[[alias | -alias] address] [up | down]
[netmask mask] [broadcast address][mtusize size]
[mediatype { tp | tp-fd | 100tx | 100tx-fd | 1000fx | auto }]
[flowcontrol { none | receive | send | full }]
[trusted | untrusted][ wins | -wins ]
[[partner { address | interface }] | [-partner]]]]

For additional information  Top

The ifconfig option partner is discussed in the Storage Management Guide. For detailed information about the ifconfig command and all the other options available with this command, see the na_ifconfig(1) man page on the filer.

Library Table of Contents Index Previous Next Comments