Table of ContentsView in Frames

Creating or removing aliases

You can create or remove an alias if you are changing the IP address of an interface. You should use the alias command to create an alias IP address, and use the -alias command to remove an alias IP address.

About this task


  1. To create or remove an alias, enter the following command: ifconfig interface_name [-]alias address


    The following example creates the alias IP address for the interface e0 (already configured with IP address ifconfig e0 alias

    The following example removes the alias for the interface e0 specified in the previous example: ifconfig e0 -alias