DHCP COMMANDS
E-DOC-CTC-20100729-0006 v3.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
173
dhcp rule add
Add a rule for DHCP conditional selection
SYNTAX:
dhcp rule add
name = <string>
type = <{option|mac|root}>
option [!] = <{subnet-mask|time-offset|
default-routers|time-servers|ien116-servers|
impress-servers|resource-location-servers|
host-name|boot-file-size|merit-dump|domain-
name|swap-server|root-path|extensions-path|
ip-forwarding|non-local-source-routing|policy-
filter|max-dgram-reassembly|default-ip-ttl|
path-mtu-aging-timeout|path-mtu-plateau-table|
interface-mtu|all-subnets-local|broadcast-
address|perform-mask-discovery|mask-supplier|
router-discovery|router-solicitation-address|
classfull-static-routes|trailer-encapsulation|
arp-cache-timeout|ieee802-3-encapsulation|
default-tcp-ttl|tcp-keepalive-interval|tcp-
keepalive-garbage|nis-domain|nis-servers|
ntp-servers|vendor-specific_info|netbios-
name-servers|netbios-dd-server|netbios-node-
type|netbios-scope|font-servers|x-display-
manager|requested-ip|dhcp-lease-time|dhcp-
overload-indication|dhcp-msg-type|dhcp-server-
identifier|dhcp-parameter-request-list|dhcp-
text-msg|dhcp-max-msg-size|dhcp-renewal-time|
dhcp-rebinding-time|vendor-class-identifier|
client-identifier|nwip-domain|nwip-suboptions|
nisplus-domain|nisplus-servers|tftp-server-
name|bootfile-name|mobile-ip-home-agent|smtp-
server|pop-server|nntp-server|www-server|
finger-server|irc-server|streettalk-server|
streettalk-directory-assistance-server|user-
class-identifier|slp-directory-agent|slp-
service-scope|...} or number>
[enterprise = <number{1-2147483647}>]
[suboption = <number{1-254}>]
[value = <Value : (type)value; type being
addr, ascii, byte_array, >]
[match = <{exactly|as_substring}>]
mac [!] = <hardware-address with wildcard ex:
'00:9f:aa:*:*:*'>
[key = <{or|and}>]
subrule = <>
where:
name
The name of the DHCP rule.
REQUIRED
nickdj.co.uk