Chapter 11. ip addressing commands, Ip address, Ip address dhcp – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual
Page 136: Chapter 11.ip addressing commands, Ip address ip address dhcp, Chapter 11. "ip addressing commands

Page 135
Allied Telesis
AT-8000S-S94-3.0 Command Line Interface User’s Guide
Chapter 11.IP Addressing Commands
ip address
The ip address Interface Configuration (Ethernet, VLAN, port-channel) mode command sets an IP address. Use
the no form of this command to remove an IP address.
Syntax
ip address ip-address {mask | prefix-length}
no ip address [ip-address]
Parameters
•
ip-address —Valid IP address
•
mask — Valid network mask of the IP address.
•
prefix-length — Specifies the number of bits that comprise the IP address prefix. The prefix length must be
preceded by a forward slash (/). (Range: 8 -30)
Default Configuration
No IP address is defined for interfaces.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
A single IP address can be defined. The IP address can be defined only on the Management VLAN.
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and subnet mask 255.255.255.0.
ip address dhcp
The ip address dhcp Interface Configuration (Ethernet, VLAN, port-channel) mode command acquires an IP
address for an Ethernet interface from the Dynamic Host Configuration Protocol (DHCP) server. Use the no form
of this command to deconfigure an acquired IP address.
Syntax
ip address dhcp [hostname host-name]
no ip address dhcp
console(config)# interface vlan 1
console(config-if)# ip address 131.108.1.27 255.255.255.0