Extension Dictionary Entries
A dictionary is a data structure that contains key-value pairs. There are two types of dictionaries: the attribute dictionaries that the request and response dictionaries use, and the environment dictionary. This section describes the request and response dictionaries; the environment dictionary entries are described in Tcl Environment Dictionary Methods.
Decoded DHCP Packet Data Items
The decoded DHCPv4 packet data items represent the information in the DHCP packet, and are available in both the request and response dictionaries. These dictionaries provide access to considerably more internal server data structures than just the decoded request and decoded response.
All of the options followed by an asterisk (* ) are multiple, which means that there can be more than one value associated with each option. In the DHCP/BOOTP packet, all of these data items appear in the same option. However, in the extension interface, these multiple data items are accessible through indexing.
You can access options that do not have names in Table 3 as option–n, where n is the option number. All fields are read/write. Table 1 describes the field values for the DHCPv4 packets; Table 2 describes the field values for the DHCPv6 messages.
Name |
Value |
---|---|
chaddr |
blob (sequence of bytes) |
ciaddr |
IP address |
file |
string |
flags |
16-bit unsigned integer |
giaddr |
IP address |
hlen |
8-bit unsigned integer |
hops |
8-bit unsigned integer |
htype |
8-bit unsigned integer |
op |
8-bit unsigned integer |
secs |
16-bit unsigned integer |
siaddr |
IP address |
sname |
string |
xid |
32-bit unsigned integer |
yiaddr |
IP address |
Name |
Value |
---|---|
hop-count |
8-bit unsigned integer |
link-address |
IPv6 address |
msg-type |
8-bit unsigned integer |
peer-address |
IPv6 address |
xid |
32-bit unsigned integer |
The table below lists the DHCP and BOOTP options for DHCPv4.
Name (*=multivalue) |
Number |
Value |
||
---|---|---|---|---|
6rd |
212 |
binary |
||
access-domain |
213 |
DNS name |
||
all-subnets-local |
27 |
byte-valued boolean |
||
andsf-v4 |
142 |
IP address |
||
arp-cache-timeout |
35 |
unsigned time |
||
authentication |
90 |
blob (sequence of bytes); 5 fields |
||
auto-configure |
116 |
8-bit unsigned integer |
||
base-time |
152 |
date |
||
bcmcs-servers-a* |
89 |
IP address |
||
bcmcs-servers-d* |
88 |
DNS name |
||
boot-file |
67 |
string |
||
boot-size |
13 |
16-bit unsigned integer |
||
broadcast-address |
28 |
IP address |
||
cablelabs-125(v-i-vendor-info ID: 4491) |
125 suboptions: |
binary |
||
oro |
1 |
Option request, 8-bit unsigned integer (8-bit unsigned integers) |
||
tftp-servers |
2 |
IP addresses of TFTP servers |
||
erouter-container |
3 |
Erouter container options (binary; TLV encoded options) |
||
packetcable-mib-env |
4 |
MIB environment indicator (8-bit enumeration) |
||
modem-capabilities |
5 |
Modem capabilities encoding (binary; TLV5 encoded data) |
||
acs-server |
6 |
ACS Server suboptions (binary) |
||
radius-server |
7 |
RADIUS Server suboptions (binary) |
||
dhcpv6-servers |
123 |
DHCPv6 server suboptions (binary) |
||
ip-pref |
124 |
IPv4 or IPv6 preference (8-bit enumeration) |
||
cablelabs-client- configuration |
122 suboptions: |
blob (sequence of bytes) |
||
primary-dhcp- server |
1 |
IP address |
||
secondary-dhcp- server |
2 |
IP address |
||
provisioning- server |
3 |
blob (the first byte must be the type byte, with 0 for RFC 1035 encoding, and 1 for IP address encoding, for which the address must be in network order) |
||
as-backoff-retry- blob |
4 |
12-byte blob (3 unsigned 4-byte integers, which must be in network order); configures the Kerberos AS-REQ/AS-REP timeout, back-off, and retry mechanism |
||
ap-backoff-retry- blob |
5 |
12-byte blob (3 unsigned 4-byte integers, which must be in network order); configures the Kerberos AP-REQ/AP-REP timeout, back-off, and retry mechanism |
||
kerberos-realm |
6 |
variable-length blob (an RFC 1035 style name); a Kerberos realm name is required |
||
use-tgt |
7 |
1-byte unsigned integer boolean; indicates whether to use a Ticket Granting Ticket (TGT) when obtaining a service ticket for one of the application servers |
||
provisioning-timer |
8 |
1-byte unsigned integer; defines the maximum time allowed for the provisioning process to finish |
||
ticket-control- mask |
9 |
2-byte unsigned integer, in host order |
||
kdc-addresses- blob |
10 |
variable-length (multiple of 4) IP address, in network order |
||
captive-portal |
114 |
string |
||
captive-portal-old |
160 |
string |
||
capwap-ac-v4* |
138 |
IP address |
||
cisco-autoconfigure |
251 |
bounded byte |
||
cisco-client-last-transaction- time |
163 |
unsigned 32-bit integer |
||
cisco-client-requested-host- name |
162 |
string |
||
cisco-vpn-id |
221 |
blob (structured) |
||
classless-static-route |
121 |
blob (structured) |
||
client-fqdn |
81 |
blob (sequence of bytes); 4 fields: flags, rcode-1, rcode-2, and domain-name |
||
cookie-servers* |
8 |
IP address |
||
data-source |
157 |
8-bit unsigned integer |
||
default-ip-ttl |
23 |
8-bit unsigned integer |
||
default-tcp-ttl |
37 |
8-bit unsigned integer |
||
dhcp4o6-s46-saddr |
109 |
IPv6 address |
||
dhcp-class-identifier |
60 |
string |
||
dhcp-client-identifier |
61 |
blob (sequence of bytes) |
||
dhcp-lease-time |
51 |
unsigned time |
||
dhcp-max-message-size |
57 |
16-bit unsigned integer |
||
dhcp-message |
56 |
string |
||
dhcp-message-type |
53 |
8-bit unsigned integer |
||
dhcp-option-overload |
52 |
8-bit unsigned integer |
||
dhcp-parameter-request-list* |
55 |
8-bit unsigned integer |
||
dhcp-parameter-request- list-blob* |
55 |
blob (sequence of bytes) |
||
dhcp-rebinding-time |
59 |
unsigned time |
||
dhcp-renewal-time |
58 |
unsigned time |
||
dhcp-requested-address |
50 |
IP address |
||
dhcp-server-identifier |
54 |
IP address |
||
dhcp-state |
156 |
8-bit unsigned integer |
||
dhcp-user-class-id |
77 |
set of counted len byte arrays; 2 fields: typcnt-size and user-data |
||
domain-name |
15 |
string |
||
domain-name-servers* |
6 |
IP address |
||
domain-search |
119 |
blob (sequence of bytes) |
||
dots-address* |
148 |
IP address |
||
dots-ri |
147 |
DNS name |
||
end |
255 |
No length |
||
extensions-path |
18 |
string |
||
finger-servers* |
73 |
IP address |
||
font-servers* |
48 |
IP address |
||
forcerenew-nonce-capable* |
145 |
8-bit unsigned integer |
||
geo-conf |
123 |
blob (sequence of bytes) |
||
geoconf-civic |
99 |
blob (sequence of bytes) |
||
geoloc |
144 |
binary |
||
host-name |
12 |
string |
||
ieee802.3-encapsulation |
36 |
byte-valued boolean |
||
impress-servers* |
10 |
IP address |
||
interface-mtu |
26 |
16-bit unsigned integer |
||
ip-forwarding |
19 |
byte-valued boolean |
||
ipv6-only-preferred |
108 |
unsigned 32-bit integer |
||
irc-servers* |
74 |
IP address |
||
iSNS |
83 |
blob (sequence of bytes); 7 fields |
||
ldap-url |
95 |
string |
||
log-servers* |
7 |
IP address |
||
lost-server |
137 |
DNS Name (see RFC 5223) |
||
lpr-servers* |
9 |
IP address |
||
lq-associated-ip* |
92 |
IP address |
||
lq-client-last-transaction- time |
91 |
unsigned time |
||
mask-supplier |
30 |
byte-valued boolean |
||
max-dgram-reassembly |
22 |
16-bit unsigned integer |
||
mcns-security-server |
128 |
IP address |
||
merit-dump |
14 |
string |
||
mobile-ip-home-agents* |
68 |
IP address |
||
mos-address |
139 suboptions: |
binary; 3 suboptions |
||
is |
1 |
IP address |
||
cs |
2 |
IP address |
||
es |
3 |
IP address |
||
mos-fqdn |
140 suboptions: |
binary; 3 suboptions |
||
is |
1 |
DNS name |
||
cs |
2 |
DNS name |
||
es |
3 |
DNS name |
||
mud-url |
161 |
string |
||
name-servers* |
5 |
IP address |
||
name-service-search* |
117 |
16-bit unsigned integer |
||
nds-context |
87 |
string |
||
nds-servers* |
85 |
IP address |
||
nds-tree |
86 |
string |
||
netbios-dd-servers* |
45 |
IP address |
||
netbios-name-servers* |
44 |
IP address |
||
netbios-node-type |
46 |
8-bit unsigned integer |
||
netbios-scope |
47 |
string |
||
netinfo-parent-server-addr |
112 |
IP address |
||
netinfo-parent-server-tag |
113 |
string |
||
netwareip-domain |
62 |
string |
||
netwareip-information |
63 |
blob (sequence of bytes) |
||
nis+-domain |
64 |
string |
||
nis+-servers* |
65 |
IP address |
||
nis-domain |
40 |
string |
||
nis-servers* |
41 |
IP address |
||
nntp-servers* |
71 |
IP address |
||
non-local-source-routing |
20 |
byte-valued boolean |
||
ntp-servers* |
42 |
IP address |
||
pad |
0 |
No length |
||
pana-agent |
136 |
IP address(es) (see RFC 5192) |
||
path-mtu-aging-timeout |
24 |
unsigned time |
||
path-mtu-plateau-tables* |
25 |
16-bit unsigned integer |
||
perform-mask-discovery |
29 |
byte-valued boolean |
||
policy-filters* |
21 |
IP address (there can be two policy filters, each one having its own IP address) |
||
pop3-servers* |
70 |
IP address |
||
posix-timezone |
100 |
string (see RFC 4833) |
||
pxe-client-arch |
93 |
16-bit unsigned integer |
||
pxe-client-machine-id |
97 |
blob (sequence of bytes); 2 fields: type-flag and uuid |
||
pxe-client-network-id |
94 |
blob (sequence of bytes); 2 fields: type-flag and version |
||
pxelinux-config-file |
209 |
string |
||
pxelinux-path-prefix |
210 |
string |
||
pxelinux-reboot-time |
211 |
unsigned time |
||
query-end-time |
155 |
date |
||
query-start-time |
154 |
date |
||
rapid-commit |
80 |
null-length |
||
rdnss-selection |
146 |
binary; 4 fields: reserved-prf, primary-recursive-name-server, secondary-recursive-name-server, and domains-and-networks |
||
relay-agent-info suboptions: |
82 suboptions: |
blob (sequence of bytes) |
||
relay-agent-circuit-id- data |
1 |
blob (sequence of bytes) |
||
relay-agent-remote-id- data |
2 |
blob (sequence of bytes) |
||
relay-agent-device- class-data |
4 |
4-byte unsigned integer |
||
relay-agent-subnet- selection-data |
5 |
IP address |
||
subscriber-id |
6 |
string identifying the network client or subscriber |
||
radius-attributes |
7 |
supported attributes are user, class, and framed-pool |
||
authentication |
8 |
binary |
||
v-i-vendor-opts |
9 |
vendor options |
||
cisco-subnet-selection |
150 |
IP address |
||
cisco-vpn-id |
151 |
binary |
||
cisco-server-id-override |
152 |
IP address |
||
|
||||
resource-location-servers* |
11 |
IP address |
||
root-path |
17 |
string |
||
router-discovery |
31 |
byte-valued boolean |
||
router-solicitation-address |
32 |
IP address |
||
routers* |
3 |
IP address |
||
sip-servers |
120 |
blob (sequence of bytes); 2 fields: flag and sip-server-list |
||
sip-ua-cs-domains |
141 |
DNS name |
||
slp-directory-agent* |
78 |
blob (sequence of bytes); 2 fields: mandatory and agent-ip-list |
||
slp-service-scope* |
79 |
blob (sequence of bytes); 2 fields: mandatory and slp-scope-list |
||
smtp-servers* |
69 |
IP address |
||
start-time-of-state |
153 |
unsigned time |
||
static-routes* |
33 |
IP address |
||
status-code |
151 |
binary; 2 fields: status-code and status-message |
||
streettalk-directory- assistance-servers* |
76 |
IP address |
||
streettalk-servers* |
75 |
IP address |
||
subnet-alloc |
220 |
blob (sequence of bytes); 5 fields: flags, subnet-request, subnet-info, subnet-name, and subnet-suggested-lease-time |
||
subnet-mask |
1 |
IP address |
||
subnet-selection |
118 |
IP address |
||
swap-server |
16 |
IP address |
||
sztp-redirect |
143 |
set of counted len byte arrays; 2 fields: typcnt-size and url |
||
tcp-keepalive-garbage |
39 |
byte-valued boolean |
||
tcp-keepalive-internal |
38 |
unsigned time |
||
tftp-server |
66 |
string |
||
tftp-server-address* |
150 |
IP address |
||
time-offset |
2 |
signed time |
||
time-servers* |
4 |
IP address |
||
trailer-encapsulation |
34 |
byte-valued boolean |
||
tzdb-timezone |
101 |
string (see RFC 4833) |
||
user-auth |
98 |
string |
||
v4-pcp-server* |
158 |
binary |
||
v4-portparams |
159 |
binary; 3 fields: offset, psid-len, and psid |
||
v-i-vendor-class |
124 |
blob (sequence of bytes) |
||
v-i-vendor-info |
125 |
blob (sequence of bytes) |
||
vendor-encapsulated-options |
43 |
blob (sequence of bytes) |
||
vpn-id |
185 |
blob (structured); 2 fields: flag and vpn-id |
||
www-servers* |
72 |
IP address |
||
x-display-managers* |
49 |
IP address |
The table below lists the DHCPv6 options.
![]() Note |
Access to these options is available using the putOption , getOption , and removeOption methods only. |
Name (*=multivalue) |
Number |
Value |
---|---|---|
4rd |
97 |
container (of options) |
4rd-map-rule |
98 |
binary; 6 fields: prefix4-len, prefix6-len, ea-len, flags, rule-ipv4-prefix, and rule-ipv6-prefix |
4rd-non-map-rule |
99 |
binary; 3 fields: flags, traffic-class, and domain-pmtu |
access-domain |
57 |
DNS name |
addrsel |
84 |
binary; 1 field: reserved-AP |
addrsel-table |
85 |
binary; 3 fields: label, precedence, and prefix |
aftr-name |
64 |
DNS name |
ani-ap-bssid |
108 |
blob (sequence of bytes) |
ani-ap-name |
107 |
string |
ani-att |
105 |
binary; 2 fields: reserved and att |
ani-network-name |
106 |
string |
ani-operator-id |
109 |
blob (sequence of bytes) |
ani-operator-realm |
110 |
string |
auth |
11 |
binary; 5 fields: protocol, algorithm, replay-detection-method, replay-detection, and auth-info |
bcmcs-server-a* |
34 |
IPv6 address |
bcmcs-server-d* |
33 |
DNS name |
bootfile-param |
60 |
counted-type; 2 fields: typecnt-size and parameter |
bootfile-url |
59 |
string |
cablelabs-17 (vendor-opts ID: 4491) |
17 suboptions: |
vendor-opts; 27 suboptions |
oro |
1 |
16-bit unsigned integer |
device-type |
2 |
string |
embedded-components-list |
3 |
string |
device-serial-number |
4 |
string |
hardware-version-number |
5 |
string |
software-version-number |
6 |
string |
boot-rom-version |
7 |
string |
vendor-oui |
8 |
string |
model-number |
9 |
string |
vendor-name |
10 |
string |
ecm-cfg-encaps |
15 |
string |
tftp-servers |
32 |
IPv6 address |
config-file-name |
33 |
string |
syslog-servers |
34 |
IPv6 address |
modem-capabilities |
35 |
binary |
device-id |
36 |
binary |
rfc868-servers |
37 |
IPv6 address |
time-offset |
38 |
signed time |
ip-pref |
39 |
8-bit unsigned integer |
acs-server |
40 suboptions: |
binary; 2 suboptions |
flag |
0 |
8-bit unsigned integer |
server |
0 |
|
radius-server |
41 suboptions: |
binary; 2 suboptions |
flag |
0 |
8-bit unsigned integer |
server |
0 |
|
cer-id |
42 |
IPv6 address |
ccap-cores |
61 |
IPv6 address |
cmts-capabilities |
1025 |
binary |
cm-mac-address |
1026 |
binary |
erouter-container |
1027 |
binary |
cablelabs-client-configuration |
2170 suboptions: |
binary; 2 suboptions (various data types) |
primary-dhcp-server |
1 |
IP address |
secondary-dhcp-server |
2 |
IP address |
cablelabs-client-configuration-v6 |
2171 suboptions: |
binary; 9 suboptions (various data types) |
primary-dhcpv6-server- selector-id |
1 |
binary |
secondary-dhcpv6-server- selector-id |
2 |
binary |
provisioning-server |
3 |
binary |
as-backoff-retry |
4 |
binary |
ap-backoff-retry |
5 |
binary |
kerberos-realm |
6 |
DNS name |
use-tgt |
7 |
unsigned 8-bit |
provisioning-timer |
8 |
unsigned 8-bit |
ticket-control-mask |
9 |
unsigned 16-bit |
cablelabs-correlation-id |
2172 |
unsigned 32-bit |
captive-portal |
103 |
string |
capwap-ac-v6* |
52 |
IPv6 address |
client-arch-type* |
61 |
unsigned 16-bit |
client-data |
45 |
container (of options) |
client-fqdn |
39 |
binary; 2 fields: flags and domain-name |
client-identifier |
1 |
blob (sequence of bytes) |
client-linklayer-address |
79 |
binary; 2 fields: link-layer-type and link-layer-address |
clt-time |
46 |
unsigned time (see RFC 5007) |
dhcp4-o-dhcp6-server |
88 |
IPv6 address |
dhcpv4-msg |
87 |
blob (sequence of bytes) |
dns-servers* |
23 |
IPv6 address |
domain-list |
24 |
DNS name |
dots-address* |
142 |
IPv6 address |
dots-ri |
141 |
DNS name |
elapsed-time |
8 |
unsigned 16-bit |
ero |
43 |
unsigned 16-bit (see RFC 4994) |
erp-local-domain-name |
65 |
DNS name |
geoconf-civic |
36 |
binary |
geoloc |
63 |
blob (sequence of bytes) |
ia-na |
3 |
binary; 3 fields: iaid, t1, and t2 |
ia-pd |
25 |
binary; 3 fields: iaid, t1, and t2 |
ia-ta |
4 |
binary; 1 field: iaid |
iaaddr |
5 |
binary; 3 fields: address, preferred-lifetime, and valid-lifetime |
iaprefix |
26 |
binary; 4 fields: preferred-lifetime, valid-lifetime, prefix-length, and prefix |
inf-max-rt |
83 |
unsigned time |
info-refresh-time |
32 |
unsigned time |
interface-id |
18 |
blob (sequence of bytes) |
ipv6-adddress-andsf* |
143 |
IPv6 address |
krb-default-realm-name |
77 |
string |
krb-kdc |
78 |
binary; 5 fields: priority, weight, transport-type, kdc-ipv6-address, and realm-name |
krb-principal-name |
75 |
binary; 2 fields: name-type and name-string |
krb-realm-name |
76 |
string |
link-address |
80 |
IPv6 address |
lost-server |
51 |
DNS Name (see RFC 5223) |
lq-base-time |
100 |
unsigned 32-bit |
lq-client-links* |
48 |
IPv6 address(es) (see RFC 5007) |
lq-end-time |
102 |
unsigned 32-bit |
lq-query |
44 |
binary structured (see RFC 5007) |
lq-relay-data |
47 |
binary (DHCPv6 message) (see RFC 5007) |
lq-start-time |
101 |
unsigned 32-bit |
mip6-haa |
72 |
IPv6 address |
mip6-haf |
73 |
DNS name |
mip6-hnidf |
49 |
DNS name |
mip6-hnp |
71 |
binary; 2 fields: prefix-length and prefix |
mip6-idinf |
69 |
container (of options) |
mip6-udinf |
70 |
container (of options) |
mip6-vdinf |
50 |
container (of options) |
mos-address |
54 suboptions: |
binary; 3 suboptions |
is |
1 |
IPv6 address |
cs |
2 |
IPv6 address |
es |
3 |
IPv6 address |
mos-fqdn |
55 suboptions: |
binary; 3 suboptions |
is |
1 |
DNS name |
cs |
2 |
DNS name |
es |
3 |
DNS name |
mpl-parameters |
104 |
blob (sequence of bytes) |
mud-url |
112 |
string |
new-posix-timezone |
41 |
string (RFC 4833) |
new-tzdb-timezone |
42 |
string (RFC 4833) |
nii |
62 |
binary; 3 fields: type, major, and minor |
nis-domain-name* |
29 |
DNS name |
nis-servers* |
27 |
IP address |
nisp-domain-name* |
30 |
DNS name |
nisp-servers* |
28 |
IP address |
ntp-server |
56 |
binary; 3 suboptions (various data types) |
oro |
6 |
unsigned 16-bit |
pana-agent* |
40 |
IPv6 address(es) (see RFC 5192) |
pd-exclude |
67 |
binary; 2 fields: prefix-length and subnet-id |
preference |
7 |
unsigned 8-bit |
prefix64 |
113 |
binary; 3 fields: ASM-mPrefix64, SSM-mPrefix64, and uPrefix64 |
radius |
81 |
blob (sequence of bytes) |
rapid-commit |
14 |
zero size |
rdnss-selection |
74 |
binary; 3 fields: recursive-name-server, reserved-and-prf, and domains-and-networks |
reconfigure-accept |
20 |
zero size |
reconfigure-message |
19 |
unsigned 8-bit |
relay-agent-subscriber-id |
38 |
binary |
relay-id |
53 |
blob (sequence of bytes) |
relay-message |
9 |
binary |
relay-port |
135 |
unsigned 16-bit |
remote-id |
37 |
binary; 2 fields: enterprise-id and remote-id |
rsoo |
66 |
container (of options) |
s46-br |
90 |
IPv6 address |
s46-cont-lw |
96 |
container (of options) |
s46-cont-mape |
94 |
container (of options) |
s46-cont-mapt |
95 |
container (of options) |
s46-dmr |
91 |
IPv6 variable-length prefix |
s46-portparams |
93 |
binary; 3 fields: offset, psid-len, and psid |
s46-priority* |
111 |
unsigned 16-bit |
s46-rule |
89 |
binary; 5 fields: flags, ea-len, prefix4-len, ipv4-prefix, and prefix6 |
s46-v4v6bind |
92 |
binary; 2 fields: ipv4-address and bind-ipv6-prefix |
server-identifier |
2 |
blob (sequence of bytes) |
server-unicast |
12 |
IPv6 address |
sip-servers-address |
22 |
IPv6 address |
sip-servers-name |
21 |
DNS name |
sip-ua-cs-domains |
58 |
DNS name |
sntp-servers* |
31 |
IPv6 address |
sol-max-rt |
82 |
unsigned time |
status-code |
13 |
binary; 2 fields: status-code and status-message |
sztp-redirect |
136 |
counted-type; 2 fields: typecnt-size and url |
user-class |
15 |
counted-type; 2 fields: typecnt-size and user-data |
v6-pcp-server* |
86 |
IPv6 address |
vendor-class |
16 |
vendor-class |
vendor-opts |
17 |
vendor-opts (see also cablelabs-17) |
vpn-id |
68 |
binary; 2 fields: flags and vpn-id |
![]() Note |
|
Request Dictionary
The table below lists the data items that you can set in the request dictionary at any time. The DHCP server reads them at various times. Unless indicated otherwise, all operations are read/write.
Data Item |
Value (Protocol: v4=DHCPv4, v6=DHCPv6) |
---|---|
active-leasequery-control |
int (v4,v6) |
Controls the sending of a lease (such as only on specific state changes). Values are: 0—unspecified (the server determines whether to send the notification), 1—send (the server will send the notification), and 2—do not send (the server will not send the notification). The active-leasequery-control is initialized as 0, that is, unspecified. |
|
allow-bootp |
int (v4) |
If set to 1, allows BOOTP for any scope for this request. Read during scope selection and while checking for lease acceptability. |
|
allow-dhcp |
int (v4) |
If set to a 1, allows DHCP for any scope for this request. Read during scope selection and while checking for lease acceptability. |
|
allow-dynamic-bootp |
int (v4) |
If set to a 1, allows dynamic BOOTP for any scope for this request. Read during scope selection and while checking for lease acceptability. |
|
bootp-reply-options |
blob (v4) |
Overrides any v4-bootp-reply-options in any policy; read when gathering data for the output packet. (There are no IPv6 bootp-reply-options.) |
|
client-class-name |
string (v4, v6) |
Name of the client-class used to complete the client information (if any). Read-only. |
|
client-class-policy |
string (v4, v6) |
Name of the policy that is associated with the client-class. If set, it must be with the name of a policy that was already configured in the server. |
|
client-domain-name |
string (v4, v6) |
Domain name that the client wants to use. If it does not exist, in which case the DHCP server uses the domain name specified in the scope. Read when queuing the request for DNS update just prior to the update of stable storage. For DHCPv6, overrides the client-fqdn value and used for DNS updates. |
|
client-host-name |
string (v4, v6) |
Hostname for the client in DNS; read when queuing in the request for a DNS update just before updating stable storage. Places the actual name in DNS when that operation finishes. For DHCPv6, overrides the client-fqdn value and used for DNS updates. |
|
client-id |
blob (v4, v6) |
Client identification that the server uses to track the client. Can be the client-id sent with a request or internally generated from the MAC address. See client-id-created-from-mac-address. For DHCPv6, the Client Identifier Option value (the client's DUID). |
|
client-id-created-from-mac-address |
int (v4) |
If set to 1, the client-id must be created for internal use from the client-supplied MAC address and should not be used in reporting. |
|
client-ipaddress |
IP address (v4) |
IP address from which the client sent its packet. Note that it could be zero if the client does not yet have an IP address. |
|
client-limitation-id |
blob (v4, v6) |
Limitation ID for the client. |
|
client-lookup-id |
blob (v4, v6) |
Client lookup ID calculated by the client-lookup-id expression of the client-class. |
|
client-mac-address |
blob (v4) |
MAC address stored in the client object associated with the request dictionary. Has the same format (and was created from) the mac-address. |
|
client-os-type |
int (v4) |
Change the client entry of the request packet by setting this at the pre-client-lookup or post-client-lookup extension points. Can also be read at check-lease-acceptable , but cannot be set there. To set the value, you must first set the os-type in the post-packet-decode request dictionary. |
|
client-packet |
blob (v4, v6, read-only) |
The client portion of the received packet. For DHCPv4, this is the complete packet. For DHCPv6, this is the client message. (See packet to obtain the full packet.) |
|
client-policy |
string (v4, v6) |
Name of the policy that is associated with the client entry. If set, must be the name of a preconfigured policy in the DHCP server. |
|
client-port |
int (v4, v6) |
Port from which the client sent its request. |
|
client-requested-host-name |
string (v4) |
Hostname that the client requested be used for the DNS update. The DHCP server saves this information so that a change can be detected. |
|
client-unicast |
boolean (v6, read-only) |
True if the received packet was unicast by the client to the server. |
|
client-wants-nulls-in-strings |
int (v4) |
Determines whether the DHCP server returns strings to the client terminated with a null. If set to 1, the server terminates strings with a null. If set to 0, it does not terminate strings with a null. Set before post-packet-decode and read when encoding the response packet after pre-packet-encode . |
|
derived-vpn-id |
int (v4, v6, read-only) |
VPN identifier. See vpn-name for details. |
|
destination-ipaddress |
IP address (v6, read-only) |
Destination IPv6 address of the packet. |
|
dhcp-reply-options |
blob (v4, v6) |
Overrides any v4-reply-options or v6-reply-options specified in a policy; read when gathering data for the output packet. |
|
dump-packet |
int (v4, v6, write-only) |
When set to 1, Cisco Prime Network Registrar dumps the current decoded DHCP/BOOTP packet to the log file. An extension can put the value 1 into this data item at multiple points in its execution. This might be useful when debugging extensions. |
|
failover-role |
int (v4, v6, read only) |
Determines the failover server role. The failover server role can be one of three values:
|
|
failover-state |
int (v4, v6, read only) |
Determines failover server state. The failover state can be normal, partner-down, communications-interrupted, recover, potential-conflict, recover-done, startup, or paused. If failover is not configured the value is none. |
|
import-packet |
int (v4) |
Determines whether the server treats the packet as if it came from an import client. If set to 1, the server treats the client as an import client and performs all DNS operations on it before sending an ACK. Read when checking the server import mode (right after post-packet-decode ), getting ready for DNS processing, and when setting the reply address. |
|
limitation-count |
int (v4) |
Number of simultaneous users allowed with the same limitation-id. |
|
limitation-id |
blob (v4) |
Calculated by the limitation-id expression (if any) for the client-class in which this request falls. |
|
limitation-id-null |
int (v4, v6) |
Set to 1(TRUE) if the limitation-id is null, 0 (FALSE) if another value. |
|
log-client-criteria-processing |
int (v4, v6) |
If set to a 1, logs the criteria processing for the client for this request. Read when trying to acquire a new lease for a client that does not have one, and when checking for lease acceptability. |
|
log-client-detail |
int (v4, v6) |
If set to a 1, logs the client-class processing for this request. Read at the end of client-class processing, after post-client-lookup . |
|
log-dns-update-detail |
int (v4, v6) |
If set to a 1, logs DNS update details for this request. |
|
log-dropped-bootp-packets |
int (v4) |
If set to a 1, logs dropped BOOTP packets for this request. |
|
log-dropped-dhcp-packets |
int (v4, v6) |
If set to a 1, logs dropped DHCP packets for this request. |
|
log-dropped-waiting-packets |
int (v4, v6) |
If set to a 1, logs dropped waiting packets for this request. |
|
log-failover-detail |
int (v4) |
If set to a 1, logs a more detailed level of failover activity, such as all failover state changes. |
|
log-incoming-packet-detail |
int (v4, v6) |
If set to a 1, checks whether detailed incoming packet tracing occurred for this request, so that you do not need to put a separate trace on it. Read before packet decoding and the first extension point. |
|
log-incoming-packets |
int (v4, v6) |
If set to a 1, logs the incoming packets for this request. Read after post-decode-packet . |
|
log-ldap-create-detail |
int (v4) |
If set to a 1, logs messages whenever the DHCP server initiates a lease state entry creation to, receives a response from, or retrieves a result or error message from an LDAP server. |
|
log-ldap-query-detail |
int (v4, v6) |
If set to a 1, logs messages whenever the DHCP server initiates a query to, receives a response from, or retrieves a query result or an error message from an LDAP server. |
|
log-ldap-update-detail |
int (v4) |
If set to a 1, logs messages whenever the DHCP server initiates an update lease state to, receives a response from, or a retrieves a result or error message from an LDAP server. |
|
log-leasequery |
int (v4, v6) |
If set to a 1, logs messages when leasequery packets are processed without internal errors and result in an ACK or a NAK. |
|
log-missing-options |
int (v4, v6) |
If set to a 1, logs missing options (those a client requests but the DHCP server cannot return). Read while gathering data for the response. |
|
log-outgoing-packet-detail |
int (v4, v6) |
If set to a 1, logs a detailed dump of the outgoing packet for this request. Read after pre-packet-encode and just before sending the packet to the DHCP client. |
|
log-success-messages |
int (v4, v6) |
If set to a 1, logs the success messages. |
|
log-unknown-criteria |
int (v4, v6) |
If set to a 1, logs any unknown criteria specified in the client inclusion or exclusion criteria for this request. Read when acquiring a new client lease or checking lease acceptability for an existing client. |
|
log-v6-lease-detail |
int (v6) |
If set to 1, logs individual messages about DHCPv6 leasing activity. |
|
mac-address |
blob (v4) |
MAC address that came in the client packet. The first byte is the hardware type, the second is the hardware length, and the remaining (up to 16) is the information from the chaddr read just after post-packet-decode . This is a useful aggregation of the htype, hlen, and chaddr fields of the DHCP packet. When read it is constructed from these fields; when written it is placed into these fields. |
|
max-client-lookups |
integer (v4, v6) |
Maximum number of client database lookups allowed. Usually a small integer such as 2; the preset value is 1. |
|
override-client-id |
blob (v4, v6) |
Blob used for the current client-id value. Replaces any client-id from the incoming packet (although both values are kept in the lease state database). |
|
override-client-id-data-type |
string (v4, v6, read-only) |
Returns the data type of the override-client-id, either “nstr” for string or “blob” for blob. |
|
override-client-id-string |
string (v4, v6) |
Current client-id value in string format that replaces any client-id from the incoming packet (although both values are kept in the lease state database). For a get, if the override-client-id is not a string, the binary data is formatted as blob data, which is then returned as the “string.” |
|
packet |
blob (v4, v6) |
The received packet. For DHCPv4, this is the same as client-packet. For DHCPv6, this is the full packet if relayed or the same as client-packet if not relayed. It should only be written from the pre-packet-decode extension point; the server then decodes this new packet instead of the packet received from the client. |
|
ping-clients |
int (v4) |
If set to a 1, performs a ping before offering a lease for this request. Read just before determining if a lease is acceptable for a client. |
|
relay-agent-circuit-id |
blob (v4, v6) |
Contents of the circuit-id suboption of option 82. |
|
relay-agent-circuit-id-data |
blob (v4, v6) |
Contents of just the data part of the circuit-id suboption of option 82. |
|
relay-agent-device-class-data |
blob (v4, v6) |
Contents of the device-class suboption of option 82. |
|
relay-agent-radius-attributes |
blob (v4) |
Contents of the radius suboption of option 82. |
|
relay-agent-radius-class |
string (v4) |
Encapsulated class attribute of the radius suboption of option 82. |
|
relay-agent-radius-pool-name |
string (v4) |
Encapsulated framed-pool attribute of the radius suboption of option 82. |
|
relay-agent-radius-user |
string (v4) |
Encapsulated user attribute of the radius suboption of option 82. |
|
relay-agent-remote-id |
blob (v4, v6) |
Contents of the remote-id suboption of option 82. |
|
relay-agent-remote-id |
blob (v4, v6) |
Contents of just the data part of the remote-id suboption of option 82. |
|
relay-agent-server-id-override-data |
IPv6 address (v4, v6) |
Contents of the server-id suboption of option 82. If the IANA suboption 182 is in the packet, that value appears; otherwise, the Cisco suboption 152 value appears. |
|
relay-agent-subscriber-id |
string (v4) |
Contents of the subscriber-id suboption of option 82. |
|
relay-count |
int (v6, read-only) |
Number of DHCPv6 relay hops. |
|
reply-options |
blob |
Overrides any DHCPv4 reply options specified in any policy. Read when gathering data for the output packet. |
|
reply-to-client-address |
int (v4, v6) |
For v4, if set to 1, the server sends the response packet to the client-ipaddress and the client-port. For v6, if set to 1, the server sends the response packet back to the address and port of the sender (client or relay agent). If 0, the server sends the response using the RFC mandated algorithm. |
|
reserved-addresses |
IP address (v4, read/write) |
List of addresses reserved for the client. The first available address to match a usable Scope (which must have restrict-to-reservations enabled) will be assigned to the client. |
|
reserved-ip6addresses |
IP address (v6, read/write) |
List of addresses reserved for the client. All available addresses to match a usable Prefix (which must have restrict-to-reservations enabled) will be assigned to the client. |
|
reserved-prefixes |
IP address (v6, read/write) |
List of prefixes reserved for the client. All available prefixes to match a usable Prefix (which must have restrict-to-reservations enabled) will be assigned to the client. |
|
selection-criteria |
string (v4, v6) |
Comma-separated string that contains the scope selection criteria. |
|
selection-criteria-excluded |
string (v4, v6) |
Comma-separated string that contains the scope exclusion criteria. |
|
send-ack-first |
int (v4, v6) |
This data item is ignored by the server. However, for backward compatibility, it can be read or set but is ignored. It defaults to 0 (false). |
|
source-ipaddress |
IPv6 address (v6, read-only) |
Source IPv6 address from where DHCP server received the packet. It could be the IPv6 address of the client or the relay agent, nearest to DHCP server. |
|
trace-id |
string (v4, v6, read-only) |
ID used by the system to trace the packet. |
|
transaction-time |
int (v4, v6) |
Time, in seconds since 1970, that the input packet was decoded. |
|
update-dns |
string (v4, v6) |
Requests partial, full, or no dynamic DNS updates on a per-request packet basis. Input and output values are: 1=update-all, 2=update-fwd-only, 3=update-rev-only, and 0=update-none. |
|
update-dns-for-bootp |
int (v4) |
If set to a 1, updates DNS for BOOTP requests for this request. Read just before initializing the DNS operation for BOOTP. |
|
verbose-logging |
int (v4, v6) |
If set to a 1, logs verbose messages for this request. Read at various times during processing. |
|
vpn-description |
string (v4, v6, read-only) |
Description for the VPN. See vpn-name for details. |
|
vpn-name |
string (v4, v6, read-only) |
Name of the VPN. The request dictionary does not have valid values for these items at post-packet-decode , but does at all other extension points, because the VPN has not yet been determined. This is so that a script can change the derived-vpn-id option or suboption at post-packet-decode and thereby affect the VPN used for a lease. |
|
vpn-vpn-id |
blob, typically 7 bytes (v4, v6, read-only) |
Virtual private network identifier. See vpn-name for details. |
|
vpn-vrf-name |
string (v4, v6, read-only) |
Virtual routing and forwarding table identifier for the VPN. See vpn-name for details. |
Response Dictionary
The table below lists the data items you can set in the response dictionary at any time. The DHCP server reads them at various times. Unless indicated otherwise, the operation is read/write.
Data Item |
Value (Protocol: v4=DHCPv4, v6=DHCPv6) |
---|---|
active-leasequery-control |
int (v4,v6) |
Controls the sending of a lease (such as only on specific state changes). Values are: 0—unspecified (the server determines whether to send the notification), 1—send (the server will send the notification), and 2—do not send (the server will not send the notification). The active-leasequery-control is initialized as 0, that is, unspecified. |
|
client-active-lease-count |
int (v6, read-only) |
Number of active leases on the DHCPv6 client. |
|
client-creation-time |
int (v4, v6, read-only) |
Creation time of the client. |
|
client-domain-name |
string (v4, read-only) |
From the client information in the lease, the domain name that the client wants to use. It might not exist, in which case the DHCP server uses the domain name specified in the scope. Read when queuing the request for DNS update just prior to the update of stable storage. |
|
client-expiration-time |
int (v4, v6, read-only) |
The highest lease expiration time given to the client by this server (in seconds, since 1970). |
|
client-host-name |
string (v4, read-only) |
From the client information in the lease, the hostname that the DHCP server puts into DNS. Read when queueing the request for a DNS update just before updating stable storage. |
|
client-id |
blob (v4, v6, read-only) |
From the client information in the lease, the client identification that the server used to keep track of the client. This might be the client-id sent with a request or internally generated from the MAC address. For DHCPv6, the Client Identifier Option value (the client's DUID). |
|
client-id-created-from-mac-address |
int (v4, read-only) |
From the client information in the lease. If set to 1, the client-id must be created from the MAC address and should not be used in reporting. |
|
client-last-transaction-time |
int (v4, v6, read-only) |
Time, in seconds, since 1970, that the DHCP server last heard from this client. |
|
client-limitation-id |
blob (v4, read-only) |
Limitation identifier of the client associated with the current lease. |
|
client-mac-address |
blob (v4, read-only) |
From the client information in the lease, the MAC address stored in the client object associated with the request dictionary. Has the same format as (and was created from) the mac-address. |
|
client-os-type |
int (v4) |
Change the client entry of the request packet by setting this at the pre-client-lookup or post-client-lookup extension points. Can also be read at check-lease-acceptable , but cannot be set there. To set the value, you must first set the os-type in the post-packet-decode request dictionary. |
|
client-override-client-id |
blob (v4, v6, read-only) |
Blob used for the current client-id value. Replaces any client-id from the incoming packet (although both values are kept in the lease state database). |
|
client-override-client-id-data-type |
string (v4, v6, read-only) |
Returns the data type of the client-override-client-id, either nstr for string or blob for blob. |
|
client-override-client-id-string |
string (v4, v6, read-only) |
Current client-id value in string format that replaces any client-id from the incoming packet (although both values are kept in the lease state database). For a get, if the client-override-client-id is not a string, the binary data is formatted as blob data, which is then returned as the “string.” |
|
client-packet |
blob (v4, v6, read-only) |
The client portion of the response packet. For DHCPv4, this is the complete packet. For DHCPv6, this is the client message. (See packet to obtain the full packet.) Only available from the post-packet-encode extension point. |
|
client-reconfigure-key |
string (v6) |
Returns the client-reconfigure-key attribute value of the DHCPv6 lease. |
|
client-reconfigure-key- generation-time |
string (v6) |
Returns the client-reconfigure-key-generation-time attribute value of the DHCPv6 lease. |
|
client-relay-address |
IPv6 address (v6, read-only) |
Source IPv6 address for the (last) relay. |
|
client-relay-message |
string (v6, read-only) |
Last relayed DHCPv6 message, excluding the client message. |
|
client-requested-host-name |
string (v4) |
From the client information in the lease, the hostname that the client requested for the DNS update. |
|
client-user-defined-data |
string (v4, v6, read-only) |
Returns the value previously or currently associated with the client, as derived from the user-defined-data environment dictionary data item. It returns the previously associated value if requested in a check-lease-acceptable or lease-state-change extension point. It returns the current value if requested in a pre-packet-encode or post-send-packet extension point. |
|
client-vendor-class |
string (v4, v6) |
Returns the client-vendor-class attribute value of the DHCPv4 or DHCPv6 lease. |
|
client-vendor-info |
string (v4, v6) |
Returns the client-vendor-info attribute value of the DHCPv4 or DHCPv6 lease. |
|
client-write-sequence |
int (v6, read-only) |
Write sequence of the client IPv6 request. |
|
client-write-time |
int (v6, read-only) |
Time of the client IPv6 write request. |
|
derived-vpn-id |
int (v4, v6, read-only) |
VPN identifier. |
|
domain-name-changed |
int (v4) |
If set to 1, the domain name in the current packet differs from the domain name used in the DNS update. Read after check-lease-acceptable and before pre-packet-encode . |
|
dump-packet |
int (v4, v6, write-only) |
When set to 1, Cisco Prime Network Registrar dumps the current decoded DHCP/BOOTP packet to the log file. An extension can put the value 1 into this data item at multiple points in its execution. This might be useful when debugging extensions. |
|
failover-role |
int (v4, v6, read only) |
Determines the failover server role. The failover server role can be one of three values:
|
|
failover-state |
int (v4, v6, read only) |
Determines failover server state. The failover state can be normal, partner-down, communications-interrupted, recover, potential-conflict, recover-done, startup, or paused. If failover is not configured the value is none. |
|
host-name-changed |
int (v4) |
If set to 1, the hostname in the current packet differs from that used in the DNS update. Read after check-lease-acceptable and before pre-packet-encode . |
|
host-name-in-dns |
int (v4, v6) |
If set to 1, the hostname is in DNS. Read after check-lease-acceptable and before pre-packet-encode . Written after the hostname goes into DNS. |
|
lease-binding-iaid |
int (v6, read-only) |
IPv6 lease binding IAID. |
|
lease-binding-rebinding-time |
int (v6, read-only) |
IPv6 lease binding rebinding time. |
|
lease-binding-renewal-time |
int (v6, read-only) |
IPv6 lease binding renewal time. |
|
lease-binding-type |
string (v6, read-only) |
IPv6 lease binding type: "IA_NA", "IA_TA", or "IA_PD". |
|
lease-client-reserved |
int (v4, v6, read-only) |
Returns 1 if the lease is client reserved and 0 if not. |
|
lease-creation-time |
string (v6, read-only) |
IPv6 lease creation time. |
|
lease-deactivated |
int (v4, v6, read-only) |
If set to 1, reports that the lease is deactivated. |
|
lease-dns-forward-backup-server-address |
IP address (v4, v6, read-only) |
Address of the backup DNS server that receives DNS updates for the DHCPv4 and DHCPv6 lease, if the server specified in lease-dns-forward-server-address is down. |
|
lease-dns-forward-server-address |
IP address (v4, v6, read-only) |
Address of the DNS server that receives dynamic DNS updates for the DHCPv4 and DHCPv6 lease. |
|
lease-dns-forward-update |
string (v4, v6, read-only) |
Name of the update configuration that determines the forward zones to be included in DNS updates for the DHCPv4 and DHCPv6 lease. Returns TRUE if update-all or update-fwd-only is set. |
|
lease-dns-forward-zone-name |
string (v4, v6, read-only) |
Name of an optional forward zone for DNS updates. |
|
lease-dns-reverse-backup-server-address |
IP address (v4, v6, read-only) |
Address of the backup DNS server that receives DNS updates for a DHCPv4 and DHCPv6 lease, if the server specified in lease-dns-reverse-server-address is down. |
|
lease-dns-reverse-host-bytes |
int (v4, read-only) |
The number of bytes in a lease IP address to use for a reverse zone. |
|
lease-dns-reverse-prefix-length |
int (v6, read-only) |
Prefix length of the reverse zone for ip6.arpa updates. |
|
lease-dns-reverse-server-address |
IP address (v4, v6, read-only) |
Address of the DNS server address that receives dynamic DNS updates for the DHCPv4 and DHCPv6 lease. |
|
lease-dns-reverse-update |
string (v4, v6, read-only) |
Name of the update configuration that determines which reverse zones to include in a DNS update for the DHCPv4 and DHCPv6 lease. Returns TRUE if update-all or update-fwd-only is set. |
|
lease-dns-reverse-zone-name |
string (v4, v6, read-only) |
DNS reverse (in-addr.arpa and ip6.arpa) zone that is updated with PTR records. |
|
lease-fqdn |
string (v6, read-only) |
Fully qualified domain name assigned to the DHCPv6 lease by the server (and possibly successfully entered into DNS). The lease-fqdn may be the name that is expected to be added to DNS for the lease or the actual name added. If host-name-in-dns is equal to true, the actual lease-fqdn is in DNS. |
|
lease-giaddr |
IP address (v4, read-only) |
Lease giaddr. |
|
lease-ipaddress |
IPv4 or IPv6 address or prefix (v4, v6, read-only) |
For DHCPv4, the address of the lease associated with the client. For DHCPv6, the IPv6 address or IPv6 prefix (address and prefix-length) of the lease for the current context (See setObject method). |
|
lease-preferred-lifetime |
int (v6, read-only) |
Preferred lifetime of the IPv6 lease. |
|
lease-prefix-name |
string (v6, read-only) |
Prefix name of the IPv6 lease. |
|
lease-relay-agent-info |
blob (v4) |
Entire contents of option 82. |
|
lease-relay-agent-circuit-id |
blob (v4) |
Accesses and manipulates the relay agent circuit ID as stored with the lease of a response. Requires the suboption number 1 as the first byte. Deprecated in favor of the lease-relay-agent-circuit-id-data item. |
|
lease-relay-agent-circuit-id-data |
blob (v4, use instead of deprecated lease-relay-agent-circuit-id) |
Accesses and manipulates the relay-agent-circuit-id-data as stored with the lease of a response. |
|
lease-relay-agent-device-class-data |
blob (v4) |
Contents of the device-class suboption of option 82. |
|
lease-relay-agent-radius-attributes |
blob (v4) |
Contents of the radius suboption of option 82. |
|
lease-relay-agent-radius-class |
string (v4) |
Encapsulated class attribute of the radius suboption of option 82. |
|
lease-relay-agent-radius-pool-name |
string (v4) |
Encapsulated framed-pool attribute of the radius suboption of option 82. |
|
lease-relay-agent-radius-user |
string (v4) |
Encapsulated user attribute of the radius suboption of option 82. |
|
lease-relay-agent-remote-id |
blob (v4) |
Accesses and manipulates the relay-agent-remote-id data as stored with the lease of a response. Requires suboption number 2 as the first byte. Deprecated in favor of the lease-relay-agent-remote-id-data item. |
|
lease-relay-agent-remote-id-data |
blob (v4, use instead of lease-relay-agent-remote-id item) |
Accesses and manipulates the relay-agent-remote-id-data as stored with the lease of a response. |
|
lease-relay-agent-server-id- override-data |
IP address (v4) |
Accesses and manipulates the relay-agent-server-id-override-data as stored with the lease of a response. |
|
lease-relay-agent-subnet- selection-data |
IP address (v4) |
Accesses and manipulates the relay-agent-subnet-selection-data as stored with the lease of a response. |
|
lease-relay-agent-subscriber-id |
string (v4) |
Contents of the subscriber-id suboption of option 82. |
|
lease-relay-agent-vpn-id-data |
blob (v4) |
Accesses and manipulates the relay-agent-vpn-id data as stored with the lease of a response. |
|
lease-requested-fqdn |
string (v6, read-only) |
Partial or fully qualified domain name most recently requested by the client for the DHCPv6 lease. |
|
lease-requested-prefix-length |
int (v6, read-only) |
The recorded client's requested prefix length, if provided, for a IA_PD binding. This may be 0 if the client did not send in a request for a specific prefix length. |
|
lease-reserved |
int (v4, v6, read-only) |
Returns 1 if the lease is lease reserved and 0 if not. |
|
lease-start-time-of-state |
int (v4, v6, read-only) |
Time, in seconds since 1970, that this lease was first placed into its current state. |
|
lease-state |
string (v4, v6, read-only) |
State of the lease, which can be available, offered, leased, expired, unavailable, released, other-available (DHCPv4 only), pending-available (DHCPv4 only), or revoked (DHCPv6 only). |
|
lease-state-expiration-time |
int (v4, v6, read-only) |
Expiration time of the lease state. |
|
lease-status |
string (v4, v6, read-only) |
Returns “nonexistent,” “owned-by-client,” or “exists.” Used to determine if a lease exists and if the current client owns it. If “exists” is returned, the lease exists but the current owner does not own it (limited information on the lease is available). |
|
lease-valid-lifetime |
int (v6, read-only) |
Valid lifetime of the IPv6 lease. |
|
lease-vpn-description |
string (v4, v6, read-only) |
Description for the VPN stored with the lease of a response. |
|
lease-vpn-id |
int (v4, v6, read-only) |
Identifier for the VPN stored with the lease of a response. |
|
lease-vpn-name |
string (v4, v6, read-only) |
Name of the VPN stored with the lease of a response. |
|
lease-vpn-vpn-id |
blob, typically 7 bytes (v4, v6, read-only) |
Virtual private network (VPN) identifier stored with the lease of a response. |
|
lease-vpn-vrf-name |
string (v4, v6, read-only) |
Virtual routing and forwarding table identifier for the VPN stored with the lease of a response. |
|
mac-address |
blob (v4) |
MAC address that came in the client packet. The first byte is the hardware type, the second is the hardware length, and the remaining (up to 16) is the information from the chaddr. This is a useful aggregation of the htype, hlen, and chaddr fields of the DHCP packet. When read it is constructed from these fields; when written it is placed into these fields. |
|
override-client-id |
blob (v4, v6, read-only) |
Blob used for the current client-id value. Replaces any client-id from the incoming packet (although both values are kept in the lease state database). |
|
override-client-id-data-type |
string (v4, v6, read-only) |
Returns the data type of the override-client-id, either “nstr” for string or “blob” for blob. |
|
override-client-id-string |
string (v4, v6, read-only) |
Current client-ID value in string format that replaces any client-id from the incoming packet (although both values are kept in the lease state database). For a get, if the override-client-id is not a string, the binary data is formatted as blob data, which is then returned as the “string.” |
|
packet |
blob (v4, v6, use only at post-packet-decode ) |
The response packet. For DHCPv4, this is the same as client-packet. For DHCPv6, this is the full packet if relayed or the same as client-packet if not relayed. It should only be read or written from the post-packet-encode extension point; if written, the server will then send the new packet to the client. |
|
ping-clients |
int (v4) |
If set to 1, performs a ping before offering a lease for this request. Read just before determining a client lease acceptability. |
|
prefix-address |
IPv6 prefix (v6, read-only) |
Prefix address (17 bytes—IPv6 address and prefix length). |
|
prefix-allocate-random |
int (v6, read-only) |
Prefix randomly allocated. |
|
prefix-allocate-via-best-fit |
int (v6, read-only) |
Prefix allocated via the best fit. |
|
prefix-allocate-via-client-request |
int (v6, read-only) |
Prefix allocated via client request. |
|
prefix-allocate-via-extension |
int (v6, read-only) |
Prefix allocated via an extension. |
|
prefix-allocate-via-interface- identifier |
int (v6, read-only) |
Prefix allocated via an interface identifier. |
|
prefix-allocate-via-reservation |
int (v6, read-only) |
Prefix allocated via a reservation. |
|
prefix-allocation-group |
string (v6, read-only) |
Allocation group name for the prefix. |
|
prefix-allocation-group-priority |
int (v6, read-only) |
Allocation group priority for the prefix. |
|
prefix-deactivated |
int (v6, read-only) |
Indicates if the prefix is deactivated. |
|
prefix-dhcp-type |
string (v6, read-only) |
Prefix DHCP type. |
|
prefix-expiration-time |
string (v6, read-only) |
Expiration time of the prefix. |
|
prefix-link-group-name |
string (v6, read-only) |
Link group name for the link. |
|
prefix-link-name |
string (v6, read-only) |
Link of the prefix. |
|
prefix-link-type |
string (v6, read-only) |
Link type (topological, location-independent, or universal). |
|
prefix-name |
string (v6, read-only) |
Name of the prefix. |
|
prefix-range |
IPv6 address (v6, read-only) |
IPv6 address range of the prefix. |
|
prefix-range-end |
IPv6 address (v6, read-only) |
Prefix's range-end (if either range-start or range-end is configured). |
|
prefix-range-start |
IPv6 address (v6, read-only) |
Prefix's range-start (if either range-start or range-end is configured). |
|
prefix-restrict-to-reservations |
int (v6, read-only) |
If set to 1, the prefix has restrict-to-reservations enabled. |
|
prefix-selection-tags |
string (v6, read-only) |
Selection tags of the prefix. |
|
relay-count |
int (v6, read-only) |
Number of DHCPv6 relay hops. |
|
reply-ipaddress |
IPv4 or IPv6 address (v4, v6) |
IP address to use when replying to the DHCP client. Read just after pre-packet-encode . If you change its value in a pre-packet-encode , the IP address you place in it should be for a system that can respond to ARP queries (unless it is a broadcast address). Even if unicast is enabled and the broadcast flag is not set in the DHCP request, the local ARP cache is not set with a mapping from a new reply-ipaddress in the pre-packet-encode to the MAC address in the DHCP request. |
|
reply-port |
int (v4, v6) |
Port to use when replying to the DHCP client. Read just after pre-packet encode . |
|
response-source |
string (v4, v6, read-only) |
The source of the response (the major activity that invoked the extension). Output values are: client (Received client packet), failover (Received binding update from the failover partner), timeout (Lease expiration or grace period end), operator (Request from a user interface), one-lease-per-client (One lease per client removing a client from an old lease because of a new one), unknown (None of the above). This data item helps an extension to determine what processing it should do whether a request dictionary is present or not. (The isValid method can also be used to determine whether a dictionary is valid.) |
|
reverse-name-in-dns |
int (v4, v6) |
If equal to 1, the reverse name is in DNS. Read before initializing a DNS operation. |
|
scope-allow-bootp |
int (v4, read-only) |
If set to 1, the scope allows BOOTP. Written after a DNS operation finishes. |
|
scope-allow-dhcp |
int (v4, read-only) |
If set to 1, the scope allows DHCP. |
|
scope-allow-dynamic-bootp |
int (v4, read-only) |
If set to 1, the scope allows dynamic BOOTP. |
|
scope-available-leases |
int (v4, read-only) |
Number of available leases on the current scope. |
|
scope-deactivated |
int (v4, read-only) |
If set to 1, the scope is deactivated. |
|
scope-dns-forward-server-address |
IP address (v4, read-only) |
DNS server to use for the DNS forward address. |
|
scope-dns-forward-zone-name |
string (v4, read-only) |
Forward zone name configured in the scope. |
|
scope-dns-number-of-host-bytes |
int (v4, read-only) |
Number of host bytes used by the DHCP server code that handles DNS updates. |
|
scope-dns-reverse-server-address |
IP address (v4, read-only) |
DNS server to use for the DNS reverse address. |
|
scope-dns-reverse-zone-name |
string (v4, read-only) |
Reverse zone name configured in the scope. |
|
scope-name |
string (v4, read-only) |
Name of the scope that contains the lease the DHCP server is processing. |
|
scope-network-number |
IP address (v4, read-only) |
Network number of the scope that contains the lease the DHCP server is processing. |
|
scope-ping-clients |
int (v4, read-only) |
If set to 1, the scope associated with the current lease was configured to support a ping operation prior to offering a lease. |
|
scope-primary-network-number |
IP address (v4, read-only) |
Network number of this primary scope. |
|
scope-primary-subnet-mask |
IP address (v4, read-only) |
Subnet mask of this primary scope. |
|
scope-renew-only |
int (v4, read-only) |
If set to 1, the scope is renew-only. |
|
scope-renew-only-expire-time |
int (v4, read-only) |
Absolute time, in seconds since January 1, 1970, at which a renew-only scope should cease to be renew-only. |
|
scope-restrict-to-reservations |
int (v4, read-only) |
If set to 1, the scope has restrict-to-reservations enabled. |
|
scope-selection-tags |
string (v4, read-only) |
Comma-separated string that contains the scope selection criteria. Use this data item for decisions based on scopes. |
|
scope-send-ack-first |
int (v4, read-only) |
If set to 1, the scope sends an ACK before performing the rest of the processing. |
|
scope-subnet-mask |
IP address (v4, read-only) |
Subnet mask of the scope that contains the lease the DHCP server is processing. |
|
scope-update-dns |
string (v4, read-only) |
DNS updates for forward or reverse zones. Output values are: 1=update-all, 2=update-fwd-only, 3=update-rev-only, and 0=update-none. |
|
scope-update-dns-enabled |
boolean (v4, read-only) |
If set to 1, the scope has update DNS enabled for forward and reverse zones. Deprecated in favor of scope-update-dns. |
|
scope-update-dns-for-bootp |
int (v4, read-only) |
If set to 1, the scope has update DNS enabled for BOOTP. |
|
trace-id |
string (v4, v6, read-only) |
ID used by the system to trace the packet. |
|
transaction-time |
int (v4, v6, read-only) |
Time, in seconds since 1970, that the request was decoded. |
|
vpn-description |
string (v4, v6, read-only) |
Description for the VPN. |
|
vpn-name |
string (v4, v6, read-only) |
Name of the VPN. |
|
vpn-vpn-id |
blob, typically 7 bytes (v4, v6, read-only) |
Virtual private network (VPN) identifier. |
|
vpn-vrf-name |
string (v4, v6, read-only) |
Virtual routing and forwarding table (VRF) identifier for the VPN. |