Tip
This is the documentation for the 19.12 version. Looking for the documentation of the latest version? Have a look here.
DHCP Service Control and Status¶
Enable the DHCP Service¶
Enable the DHCP4 server:
tnsr(config)# dhcp4 enable
tnsr(config)#
Disable the DHCP Service¶
Similar to the DHCP enable
command, disable the DHCP4 service from
configuration mode:
tnsr(config)# dhcp4 disable
tnsr(config)#
Check the DHCP Service Status¶
Check the status of the DHCP services from configuration mode:
tnsr(config)# service dhcp status
DHCPv4 server: active
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: inactive
Kea DHCPv4 configuration file: /etc/kea/kea-dhcp4.conf
Kea DHCPv6 configuration file: /etc/kea/kea-dhcp6.conf
Kea DHCP DDNS configuration file: /etc/kea/kea-dhcp-ddns.conf
Kea Control Agent configuration file: /etc/kea/kea-ctrl-agent.conf
keactrl configuration file: /etc/kea/keactrl.conf
View the DHCP Configuration¶
View the current Kea DHCP Daemon and Control TNSR Configuration:
tnsr# show kea
View the current Kea DHCP Daemon TNSR Configuration:
tnsr# show kea dhcp4
View the current Kea DHCP daemon configuration file:
tnsr# show kea dhcp4 config-file
View the current Kea Control TNSR Configuration:
tnsr# show kea keactrl
View the current Kea Control Configuration file:
tnsr# show kea keactrl config-file