E-DOC-CTC-20061027-0003v2.0
DHCP Commands

143

dhcp rule add
Add a rule for DHCP conditional selection.
SYNTAX:
where:
RELATED COMMANDS:

dhcp rule add name = <string>

type = <{vci | uci | mac}>

vci [!]= <quoted string>

uci [!]= <quoted string>

[match = <{exactly|as_substring}>]

mac [!]= <hardware-address with wildcard

| ex: '00:9f:aa:*:*:*'>

iIf a value is preceded by a “!”, it means NOT.
For example “mac=!00:9f:aa:bb:cc:dd” means “for MAC address different from 00:9f:aa:bb:cc:dd”.
name The name of the new DHCP rule. REQUIRED
type Specify the DHCP rule type.
Choose between:
>vci: vendor class identifier
>uci: user class identifier
>mac: MAC address.
REQUIRED
vci The vendor class identifier string.
Note Only required when type=vci.
REQUIRED
uci The user class identifier string.
Note Only required when type=uci.
REQUIRED
match The vendor or user class identifier string matching. OPTIONAL
mac The MAC address.
Note Only required when type=mac.
REQUIRED
dhcp rule delete Delete a DHCP rule.
dhcp rule flush Flush all DHCP rules.
dhcp rule list List all DHCP rules.