Allied Telesis AT-S62 User Manual
Page 62

Chapter 3: Basic Switch Commands
62
Section I: Basic Operations
To display the current IP address and subnet mask, refer to “SHOW IP
INTERFACE” on page 78. To return the IP address and subnet mask to
their default values, refer to “PURGE IP” on page 54.
Examples
The following command sets the switch’s IP address to 140.35.22.22 and
the subnet mask to 255.255.255.0:
set ip interface=eth0 ipaddress=140.35.22.22
netmask=255.255.255.0
The following command sets just the subnet mask:
set ip interface=eth0 netmask=255.255.255.252
The following command activates the DHCP client software:
set ip interface=eth0 ipaddress=dhcp
The following command activates the BOOTP client software:
set ip interface=eth0 ipaddress=bootp
Equivalent Commands
enable bootp
For information, refer to “ENABLE BOOTP” on page 46
enable dhcp
For information, refer to “ENABLE DHCP” on page 47.
enable ip remoteassign
For information, refer to “ENABLE IP REMOTEASSIGN” on page 49.
set ip interface=eth0 ipaddress=bootp
set ip interface=eth0 ipaddress=dhcp
For information, refer to “SET IP INTERFACE” on page 61.