Allied Telesis AT-S63 User Manual

Page 50

Advertising
background image

Chapter 3: Basic Switch Commands

50

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 and BOOTP client software:

set ip interface=eth0 ipaddress=dhcp

Advertising