Add ip interface – Allied Telesis AT-S63 User Manual
Page 280

Chapter 18: Routing Interface Commands
280
Section V: Internet Protocol Routing
ADD IP INTERFACE
Syntax
add ip interface=
interface
ipaddress=
ipaddress
|dhcp|bootp
[mask|netmask=
subnetmask
]
Parameters
interface
Specifies a name for the new routing interface. An
interface name consists of “VLAN” followed by the ID
(VID) or name of the VLAN where the interface is to
be assigned and an interface number, separated by a
dash (e.g., vlan4-0). The range of the interface
number is 0 to 15.
ipaddress
Specifies an IP address for the interface. The
address must be a unique member of the subnet or
network where the interface is to be assigned.
You can assign an address manually or activate the
DHCP or BOOTP client and have a DHCP or BOOTP
server on the network assign the address
automatically. When there is more than one interface
in a VLAN, only one of the interfaces can obtain its IP
address from a DHCP or BOOTP server. The IP
addresses of the other interfaces in the same VLAN
must be assigned manually.
mask or
Specifies the subnet mask of the IP address of the
netmask
routing interface. Do not specify a mask if the IP
address will be assigned by a DHCP or BOOTP
server. The default value is based on the address’
network type. The default values are:
Class A address - 255.0.0.0
Class B address - 255.255.0.0
Class C address - 255.255.255.0
Note
The stack supports masks of variable length, provided the “1” bits
are consecutive (e.g.,128, 192, 224, etc.).