AT-GS900M Series CLI Reference
Section III: Layer 2 Switching 197
Description
Use this command to assign the IPv4 address to a VLAN interface and
specify the action to respond to ping. You can assign only one IPv4
address to the switch.
Confirmation Command
“SHOW IP” on page 206
Example
The following command assigns the IPv4 address 192.168.1.5/24 to the
default VLAN and 192.168.1.1 to the gateway:
Manager > add ip ipaddress=192.168.1.5 mask=255.255.255.0
gateway=192.168.1.1
The following command specifies DHCP to assign an IPv4 address
dynamically to the default VLAN:
Manager > add ip ipaddress=dhcp