D-Link DGS-510 Reference Manual page 157

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Parameters
INTERFACE-ID
Default
The MAC address of the VLAN will be used as the client ID.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to configure the hexadecimal MAC address of the specified interface as the client
ID sent with the discover message. The specification only applies to the subsequent sending of the
DHCP discover messages. The setting only takes effect when the DHCP client is enabled on the
interface to acquire the IP address from the DHCP server. One interface can be specified as the client
identifier.
Example
This example shows how to configure the MAC address of VLAN 100 as the client ID, sent in the
discover message for VLAN 100.
Switch# configure terminal
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp client client-id vlan 100
Switch(config-if)#
16-3
ip dhcp client hostname
This command is used to specify the value of the host name option to be sent with the DHCP discover
message. Use the no form of this command to revert the setting to the default
ip dhcp client hostname HOST-NAME
no ip dhcp client hostname
Parameters
HOST-NAME
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to specify the host name string (Option 12) to be sent with the DHCP discover
message. The specification only applies to the subsequent sending of the DHCP discover messages.
The setting only takes effect when the DHCP client is enabled on the interface to acquire the IP
Specifies the VLAN interface, whose hexadecimal MAC address will
be used as the client ID to be sent with the discover message.
Specifies the host name. The maximum length is 64 characters. The
host name must start with a letter, end with a letter or digit, and only
with interior characters letters, digits, and hyphens.
154

Advertisement

Table of Contents
loading

Table of Contents