Add ip interface – Allied Telesis AT-S63 User Manual

Page 573

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

Section VII: Internet Protocol Routing

573

ADD IP INTERFACE

Syntax

add ip interface=

interface

ipaddress=

ipaddress

|dhcp|bootp

[mask|netmask=

subnetmask

]

[ripmetric=

value

]

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. For background information, refer
to “Interface Names” on page 552.

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

In version 2.0.0, the routing table supported only these three values
for subnet masks. In version 2.1.0, the switch supports subnet
masks of variable length, provided the “1” bits are consecutive
(e.g.,128, 192, 224, etc.).

Advertising