ip autoconfig

Sets the configuration mode for an interface.

Syntax

ip autoconfig disabled|full|lan|lan-no-dhcp|manual|static-wan|wan

Syntax Description

Keyword
Description

disabled

Disable the interface.

full

Automatically set the interface configuration.

lan

Configure the interface for a typical LAN where Island is the DHCP server.

lan-no-dhcp

Configure the interface for a LAN where the Island is not the DHCP server.

manual

Disable automatic configuration on the interface. This mode will be enabled automatically if certain ip interface commands are issued.

static-wan

Configure the interface for a WAN with a static address.

wan

Configure the interface for a WAN with a dynamic (i.e., DHCP) address.

Defaults

The default is full automatic configuration.

Usage Guidelines

When autoconfig is set to full on an interface (the default), the Island will determine if the interface is connected to a local area network (LAN) or to the Internet (WAN), and will set all other interface parameters as appropriate for the type of connection detected. This mode works well in most cases, and is useful for initial installation. Once installation is complete, it is generally recommended to select one of the other modes as appropriate for each interface.

When set to manual, automatic configuration is disabled, and the current interface configuration is written to the running configuration. Individual interface ip commands may then be modified as needed. This configuration is the most flexible but requires that each interface configuration option be set appropriately. It can be used for unusual situations where the predefined interface modes (described below) are not sufficient.

When using manualmode, users may find it convenient to first set the interface mode to one of the modes listed below first, before switching to manual mode, to provide a convenient starting point for all interface settings. Note that the interface must be active (up) in order for the current interface settings to be retained when the mode is switched to manual.

The remainder of the modes are used to set the interface configuration appropriate for the most common network scenarios. The available modes are as follows:

  • lan: This mode is for a typical LAN where Island should be the DHCP server. Island's DHCP server is enabled, the DHCP client is disabled, and the DHCP monitor is enabled.

  • lan-no-dhcp: This mode is the same as lan except Island's DHCP server and DHCP monitor is disabled, and the DHCP client is enabled. This mode is used when another DHCP server is used for the network.

  • wan: This mode is for a typical WAN connection where Island obtains its IP address from the provider using DHCP.

  • static-wan: This mode is for a WAN connection where Island is assigned a static IP address.

Note that issuing most interface-context ip commands will cause the interface mode to be set to manual. When this happens, the remaining interface configuration options with their current values will be written to the running configuration, and can be modified as needed. Refer to the documentation for a specific command to determine if that command will force the interface mode to manual.

This command is valid only in interface context.

Examples

ip autoconfig lan
ip autoconfig static-wan
interface

Last updated