Chapter 6 Interfaces

Table 14 interface Commands: DHCP Settings (continued)

COMMAND

DESCRIPTION

[no] client-identifier mac_address

Specifies the MAC address that appears in the

 

DHCP client list. The no command clears this field.

[no] client-name host_name

Specifies the host name that appears in the DHCP

 

client list. The no command clears this field.

 

host_name: You may use 1-31 alphanumeric

 

characters, underscores(_), or dashes (-), but the

 

first character cannot be a number. This value is

 

case-sensitive.

 

 

 

Use the following commands if you want to create

 

a pool of IP addresses. These commands have no

 

effect if you use the host command. You can still

 

set them, however.

dhcp-option <1..254> option_name {boolean

Adds or edits a DHCP extended option for the

<0..1> uint8 <0..255> uint16 <0..65535>

specified DHCP pool.

uint32 <0..4294967295> ip ipv4 [ ipv4 [

text: String of up to 250 characters

ipv4]] fqdn fqdn [ fqdn [ fqdn]] text

hex: String of up to 250 hexadecimal pairs.

text hex hex vivc enterprise_id hex_s

vivc: Vendor-Identifying Vendor Class option. A

[enterprise_id hex_s ] vivs

DHCP client may use this option to unambiguously

enterprise_id hex_s [enterprise_id hex_s ]

identify the vendor that manufactured the hardware

 

on which the client is running, the software in use,

 

or an industry consortium to which the vendor

 

belongs.

 

enterprise_id: Number <0..4294967295>.

 

hex_s: String of up to 120 hexadecimal pairs.

 

vivs: Vendor-Identifying Vendor-Specific option.

 

DHCP clients and servers may use this option to

 

exchange vendor-specific information.

 

 

no dhcp-option <1..254>

Removes the DHCP extended option for the

 

specified DHCP pool.

network IP/<1..32>

Specifies the IP address and subnet mask of the

network ip mask

specified DHCP pool. The subnet mask can be

no network

written in w.x.y.z format or in /<1..32> format.

 

Note: The DHCP pool must have the

 

same subnet as the interface to

 

which you plan to bind it.

 

The no command clears these fields.

[no] default-router ip

Specifies the default gateway DHCP clients should

 

use. The no command clears this field.

[no] description description

Specifies a description for the DHCP pool for

 

identification. The no command removes the

 

description.

[no] domain-name domain_name

Specifies the domain name assigned to DHCP

 

clients. The no command clears this field.

54

 

NXC CLI Reference Guide