host-name

Use this command to set a host name in the IPv4 DHCP server pool.

Use the no form of this command to delete the host name from the IPv4 DHCP server pool.

Command Syntax

Copy
host-name NAME
no host-name NAME

Parameters

NAME

Name of the host (maximum 63 alphanumeric characters)

Default

None

Command Mode

DHCP configure mode

Applicability

This command was introduced in OcNOS version 6.1.0.

Examples

Copy
#configure terminal
(config)#ip dhcp server pool test-pool
(dhcp-config)#host-name dhcp-server
 
#configure terminal
(config)#ip vrf vrf1 
(config-vrf)#ip dhcp server pool test-pool
(dhcp-config)#host-name dhcp-server