Chapter 4: Basic Switch Commands
56
Note
You cannot manually assign an IP address to the switch if the DHCP
or BOOTP client software is activated. To disable the client software,
refer to the DISABLE DHCPBOOTP command.
To display the current IP address and subnet mask, refer to SHOW IP
INTERFACE on page 66. To return the IP address and subnet mask to
their default values, refer to PURGE IP on page 48.
For background information on when to assign a switch an IP address,
refer to the AT-S62 Management Software Menus Interface User’s Guide.
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