Set ip interface – Allied Telesis AT-S62 User Manual
Page 51

AT-S62 Command Line User’s Guide
51
SET IP INTERFACE
Syntax
set ip interface=1 ipaddress=ipaddress|DHCP
mask|netmask=subnetmask
Parameters
interface
Specifies the interface number. This value is always
1.
ipaddress
Specifies an IP address for the switch or activates the
DHCP and BOOTP client software.
mask
Specifies the subnet mask for the switch. You must
netmask
specify a subnet mask if you manually assigned the
switch an IP address. These parameters are
equivalent.
Description
This command configures the following switch parameters:
❑ IP address
❑ Subnet mask
This command can also activate the DHCP and BOOTP client software on
the switch. Activating DHCP and BOOTP with this command is
equivalent to using ENABLE DHCPBOOTP on page 40 or ENABLE IP
REMOTEASSIGN on page 41.
Note
You cannot assign an IP address to the switch if the DHCP and
BOOTP client software is activated.
To display the current IP address and subnet mask, refer to SHOW IP
INTERFACE on page 60. To return the IP address and subnet mask to
their default values, refer to PURGE IP on page 44.
For background information on when to assign a switch an IP address,
refer to the AT-S62 Management Software User’s Guide.