omshell/OMAPI question
markd
mark at immermail.com
Fri Jul 7 17:22:54 UTC 2006
Joseph W. Breu wrote:
> I am attempting to use omshell/OMAPI to add lease definitions for
> cable modems on my network. I need to set several options and a
> bootfile - but can find no way to do this in omshell.
>
> Example:
>
> host philips-test-2 {
> #
> # Serial: who_cares
> # Account: 12345678
> # Node ID: 5
> # Service: 4 by 4 w/ 1 cpes
> #
> hardware ethernet 00:50:09:00:04:33;
> option time-servers 24.149.0.6;
> option docsis-security 24.149.0.18;
> option time-offset -21600;
> fixed-address 10.128.1.3;
> filename "invalid.cfg";
> }
>
>
> I cannot find any documentation on how to configure time-servers,
> docsis-security, time-offset, and filename with omshell.
I don't think you can.
You can however use a group:
group "invalid" {
option time-servers 24.149.0.6;
option docsis-security 24.149.0.18;
option time-offset -21600;
filename "invalid.cfg";
}
Then in omshell: set group = "invalid" for the host decl.
More information about the dhcp-users
mailing list