AT-S62 Command Line User’s Guide
55
SET IP INTERFACE
Syntax
set ip interface=eth0
ipaddress=ipaddress|dhcp|bootp
mask|netmask=subnetmask
Parameters
interface Specifies the interface number. This value is always
“eth0”.
ipaddress Specifies an IP address for the switch or activates the
DHCP or BOOTP client software. Options are:
ipaddress Specifies a static IP address.
DHCP Activates the DHCP client software.
BOOTP Activates the 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
Note
When setting the IP address and subnet mask of a switch accessed
through enhanced stacking, such as a slave switch, you must set the
subnet mask first or both IP address and subnet mask
simultaneously in the same command. Your network management
session will end if you set the IP address without specifying a subnet
mask.
This command can also activate the DHCP or BOOTP client software on
the switch. Activating DHCP and BOOTP with this command is
equivalent to using ENABLE BOOTP on page 41 or ENABLE IP
REMOTEASSIGN on page 43.