version 1.1, 2012/02/21 22:30:18
|
version 1.1.1.1, 2012/10/09 09:06:54
|
Line 1
|
Line 1
|
.\" $Id$ |
.\" $Id$ |
.\" |
.\" |
|
.\" Copyright (c) 2012 by Internet Systems Consortium, Inc. ("ISC") |
.\" Copyright (c) 2004,2009 by Internet Systems Consortium, Inc. ("ISC") |
.\" Copyright (c) 2004,2009 by Internet Systems Consortium, Inc. ("ISC") |
.\" Copyright (c) 2001-2003 by Internet Software Consortium |
.\" Copyright (c) 2001-2003 by Internet Software Consortium |
.\" |
.\" |
Line 25
|
Line 26
|
.\" by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. |
.\" by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. |
.\" To learn more about Internet Systems Consortium, see |
.\" To learn more about Internet Systems Consortium, see |
.\" ``https://www.isc.org/''. To learn more about Vixie Enterprises, |
.\" ``https://www.isc.org/''. To learn more about Vixie Enterprises, |
.\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see | .\" see ``http://www.vix.com''. To learn more about Nominum, Inc., see |
.\" ``http://www.nominum.com''. |
.\" ``http://www.nominum.com''. |
.TH omshell 1 |
.TH omshell 1 |
.SH NAME |
.SH NAME |
Line 37 The OMAPI Command Shell, omshell, provides an interact
|
Line 38 The OMAPI Command Shell, omshell, provides an interact
|
query, and possibly change, the ISC DHCP Server's state via OMAPI, the Object |
query, and possibly change, the ISC DHCP Server's state via OMAPI, the Object |
Management API. By using OMAPI and omshell, you do not have to stop, make |
Management API. By using OMAPI and omshell, you do not have to stop, make |
changes, and then restart the DHCP server, but can make the changes |
changes, and then restart the DHCP server, but can make the changes |
while the server is running. Omshell provides a way of accessing | while the server is running. Omshell provides a way of accessing |
OMAPI. |
OMAPI. |
.PP |
.PP |
OMAPI is simply a communications mechanism that allows you to |
OMAPI is simply a communications mechanism that allows you to |
manipulate objects. In order to actually \fIuse\fR omshell, you | manipulate objects. In order to actually \fIuse\fR omshell, you |
.I must |
.I must |
understand what objects are available and how to use them. |
understand what objects are available and how to use them. |
Documentation for OMAPI objects can be found in the documentation for |
Documentation for OMAPI objects can be found in the documentation for |
Line 276 dhcpd.conf, but was created dynamically via OMAPI.
|
Line 277 dhcpd.conf, but was created dynamically via OMAPI.
|
.SH RESETTING ATTRIBUTES |
.SH RESETTING ATTRIBUTES |
.PP |
.PP |
If you want to remove an attribute from an object, you can do this with the |
If you want to remove an attribute from an object, you can do this with the |
\fBunset\fR command. Once you have unset an attribute, you must use the | \fBunset\fR command. Once you have unset an attribute, you must use the |
\fBupdate\fR command to update the remote object. So, if the host "some-host" |
\fBupdate\fR command to update the remote object. So, if the host "some-host" |
from the previous example will not have a static IP address anymore, the |
from the previous example will not have a static IP address anymore, the |
commands in omshell would look like this: |
commands in omshell would look like this: |