Set ip – Allied Telesis AT-S60 User Manual
Page 44
Chapter 3: Basic Switch Commands
42
SET IP
Syntax
set ip interface=1 ipaddress=ipaddress|DHCP
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. For background
information on when to assign a switch an IP
address, refer to the AT-S60 Management
Software User’s Guide.
netmask
Specifies the subnet mask for the switch. You must
specify a subnet mask if you manually assigned the
switch an IP address.
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 31.
To display the current IP address and subnet mask, refer to SHOW IP on
page 53. To return the IP address and subnet mask to their default
values, refer to PURGE IP on page 34. To deactivate DHCP and BOOTP
client software on the switch, refer to DISABLE DHCPBOOTP on page
29.
Note
You cannot assign an IP address to the switch if DHCP and BOOTP
are activated.