OcNOS-SP : System Management Guide : System Management Command Reference : DHCP Server Commands : host-name
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
host-name NAME
no host-name NAME
Parameters
NAME
Name of the host (maximum 63 alphanumeric characters)
Default
No default value is specified
Command Mode
DHCP configure mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Examples
#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
Last modified date: 10/19/2023