Ip address dhcp – Allied Telesis AT-DC2552XS User Manual

Page 406

Advertising
background image

Chapter 17: IPv4 Management Address Commands

406

Section III: IPv4 Management

IP ADDRESS DHCP

Syntax

ip address dhcp [client-id

client_id

] [hostname

hostname

]

Parameters

client_id

Specifies the name of the VLAN interface. This parameter is set to
the client ID (option code: 61) for DHCP Discovery and Request
messages.

hostname

Specifies a hostname. This parameter is set to the host name
(option code: 12) for DHCP Discovery and Request messages.
The host name can be up to 39 alphanumeric characters.

Mode

VLAN Interface mode

Description

Use this command to assign an IPv4 management address from a DHCP
server to the VLAN interface and management Ethernet port eth0. The
command activates the DHCP client, which automatically queries the
network for a DHCP server and obtains an IP address from the DHCP
server. The client also queries for a DHCP server and obtains an IP
address whenever you reset or power cycle the switch.

To add a client ID and host name to DHCP Discovery and Request
messages, use this command with the client-id and host name
parameters.

You can assign one IPv4 address to one VLAN and one IPv4 address to
the eth0 port. When using this command for the eth0 port, you cannot
specify the client-id and hostname parameters.

You can delete the assigned IPv4 address using the NO IP ADDRESS or
NO IP ADDRESS DHCP command.

Confirmation Commands

“SHOW IP INTERFACE” on page 412 and “SHOW IP ROUTE” on
page 413

Advertising