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

AT-S62 Management Software Command Line Interface User’s Guide
Section I: Basic Operations
61
SET IP INTERFACE
Syntax
set ip interface=eth0 ipaddress=
ipaddress
|bootp|dhcp
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
BOOTP or DHCP client software.
mask or
Specifies the subnet mask for the switch. You must
netmask
specify a subnet mask when you manually assign the
switch an IP address. These parameters are
equivalent. The default is 0.0.0.0.
Description
This command configures the following switch parameters:
IP address
Subnet mask
This command can also activate the DHCP or BOOTP client software on
the switch. If you are using this command to activate the client software,
note the following:
The switch immediately begins to query the network for a BOOTP or
DHCP server after the command is entered. The switch continues to
query the network for its IP configuration until it receives a response.
The DHCP or BOOTP server must be a member of the switch’s
management VLAN. This means the port on the switch through which
the DHCP or BOOTP server is communicating must be a member of
the switch’s management VLAN.
Any static IP address, subnet mask, or gateway address assigned to
the switch is replaced with the value the switch receives from the
BOOTP or DHCP server. If you later disable BOOTP or DCHP, these
values are returned to their default settings.
You cannot manually assign an IP address or subnet mask to a switch
when the BOOTP or DHCP client software has been activated.
The switch does not support running both the BOOTP client software
and DHCP client software at the same time.