User guide
232 Chapter 5. Command Line Interface Reference
DHCP LIST DEFINEDOPTIONS
Lists all available predefined and user-defined options.
Note: For description of the predefined options listed below, refer to RFC 1533. A predefined code can be a
number between 1 and 61 or a keyword. A user-defined code can be a number between 128 and 254 or a keyword.
Example 2: To list information for client 192.168.254.3, enter
dhcp list 192.168.254.3
Response:
Client 192.168.254.3, Enabled
lease ............................ Default
expires .......................... 1998/5/16 11:31:33
bootp ............................ not allowed
bootp server ..................... none
bootp file .......................
HOSTNAME (12) .................... JO
CLIENTIDENTIFIER (61) ............ 1 2 96 140 76 149 180
Example 3: To list information for the subnetwork 192.168.254.0, enter:
dhcp list 192.168.254.0
Response:
Subnet 192.168.254.0, Enabled
Mask.............................. 255.255.255.0
first ip address.................. 192.168.254.2
last ip address................... 192.168.254.253
lease............................. Default
bootp............................. not allowed
bootp server...................... none
bootp file........................
GATEWAY (3)....................... 192.168.254.254
client 192.168.254.2, Ena, Jo-computer, Expired
client 192.168.254.3, Ena, Jo, 1998/5/16 11:31:33
dhcp list definedoptions | <code> | <string>
code PredeÞned or user-deÞned number or keyword.
string Character string.
Example 1: To list all available options (they may be predeÞned as in the list below, and/or user-deÞned),
enter:
dhcp list definedoptions