### Configuring an IP Address from the Command Line

Use this topic for information on assigning an IP address from the command line.

#### Starting Point

This topic assumes that you have done the following:

- Connected a terminal to a port on the Digi device. See Setting Up a Configuration Terminal.
- Logged on to the Digi device as the administrator. See Logging on as the Administrator.

#### Procedure for PortServer TS 8/16

Specify the following commands:

`set config dhcp=off ip=ip-address submask=mask`

where

ip-address is the IP address to assign to the Digi device and mask is the subnet mask for the network.

#### Procedure for Digi One RealPort and PortServer TS 2/4

`set config ip=ip-address submask=mask`

where

ip-address is the IP address to assign to the Digi device and mask is the subnet mask for the network.

#### Example

`set config dhcp=off ip=192.150.10.2 submask=255.255.255.0`