Technicolor - Thomson TG585 v7 Network Router User Manual


 
dhcp Commands
142
E-DOC-CTC-20071119-0014 v1.0
dhcp rule add
Add a rule for DHCP conditional selection
SYNTAX:
dhcp rule add name = <string>
type = <{option|mac|vci|uci}>
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|...} 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:*:*:*'>
where:
name The name of the DHCP rule. REQUIRED
type Specify the DHCP rule type. REQUIRED
option [!] The name or number of the option.
If a value is preceded by a “!”, it means NOT.
REQUIRED
enterprise The enterprise number (see http://www.iana.org/
assignments/enterprise- numbers)
OPTIONAL
suboption The suboption number OPTIONAL
value The value of the option. OPTIONAL
match The option value matching. OPTIONAL
mac [!] The mac address.
If a value is preceded by a “!”, it means NOT.
REQUIRED