beautypg.com

Set ip – Allied Telesis AT-S39 User Manual

Page 34

background image

Chapter 3: Basic Switch Commands

34

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

DHCP and BOOTP. The default value is 0.0.0.0.

netmask

Specifies the subnet mask for the switch. The default

value is 0.0.0.0. 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

For background information on when to assign a switch an IP address,
refer to the AT-S39 Management Software User’s Guide.

This command can also be used to activate the DHCP and BOOTP client
software on the switch. Activating DHCP and BOOTP with this command
is equivalent to the ENABLE DHCPBOOTP command.

Note

You cannot assign an IP address to the switch if the DHCP and
BOOTP client software is enabled. To deactivate DHCP and BOOTP,
refer to the DISABLE DHCPBOOTP command.

To view the switch’s current IP and subnet mask settings, refer to the
SHOW IP command. To return the IP address and subnet mask to their
default values, refer to the PURGE IP command or the RESET IP
command.

To view the status of the DHCP and BOOTP client software, refer to
SHOW DHCPBOOTP command.