omshell
provides OMAPI shell interface
TLDR
Start OMAPI shell
$ omshell
Connect to server$ > server [127.0.0.1]
> connect```
**Set key authentication**
> connect```
**Set key authentication**
key [keyname] [secret]```Create lease
$ > new lease
> set ip-address = [192.168.1.100]
> create```
# SYNOPSIS
**omshell**
# PARAMETERS
**server** _ADDRESS_
> DHCP server address.
**connect**
> Connect to server.
**key** _NAME_ _SECRET_
> Set authentication key.
**new** _OBJECT_
> Create new object.
**open** _OBJECT_
> Open existing object.
# DESCRIPTION
**omshell** provides OMAPI shell interface. Manages ISC DHCP server.
The tool interacts with dhcpd via OMAPI. Allows runtime modifications.
# CAVEATS
Requires OMAPI enabled. Part of ISC DHCP. Authentication recommended.
# HISTORY
omshell was created for **runtime DHCP management** via the OMAPI protocol.
# SEE ALSO
dhcpd(1), dhclient(1)
> set ip-address = [192.168.1.100]
> create```
# SYNOPSIS
**omshell**
# PARAMETERS
**server** _ADDRESS_
> DHCP server address.
**connect**
> Connect to server.
**key** _NAME_ _SECRET_
> Set authentication key.
**new** _OBJECT_
> Create new object.
**open** _OBJECT_
> Open existing object.
# DESCRIPTION
**omshell** provides OMAPI shell interface. Manages ISC DHCP server.
The tool interacts with dhcpd via OMAPI. Allows runtime modifications.
# CAVEATS
Requires OMAPI enabled. Part of ISC DHCP. Authentication recommended.
# HISTORY
omshell was created for **runtime DHCP management** via the OMAPI protocol.
# SEE ALSO
dhcpd(1), dhclient(1)
