Commands relating to DHCP

Revised for CPX 4.7.0.
DHCP information summary
DHCP Hosts
DHCP Profiles
DHCP Subnets
DHCP bindings

Other commands

DHCP information summary top


D DHCP Display DHCP information summary (User)
D DHCP

This command shows the current state of the DHCP driver and a summary of the most important DHCP configuration information.

[18:56:27] ABILIS_CPX: D DHCP

DHCP summary:

Service:  INACT  (state of the DHCP driver [DOWN, ACTIVE, INACT])
Subnets:     0   (number of configured subnets [0..128])
Profiles:    1   (number of configured profiles [1..128])
Hosts:       0   (number of hosts configured for static leases [0..500])
Leases:      0   (current number of leases in the Db in memory [100..1000])

Because the service state and the number of leases are available on running Abilis CPX only, in off-line configurator these information will be omitted.

DHCP Hosts top


A DHCP HOST Add DHCP host by MAC address (Administrator)
A DHCP HOST MAC:val [par:val]

This command allows to add a DHPC host definition by the specification of the host's MAC address value. The MAC address value must be in the range [00-00-00-00-00-01..FF-FF-FF-FF-FF-FF].

While adding the new definition, the command sets also the eventually indicated parameters to the specified values. Not specified parameters are set to default values.

DHCP host configurations don't have consecutive indexes. The new definition will be added in the first position of the table that is currently available and a correspondent numeric identifier will be assigned to the DHCP host.

[12:17:19] ABILIS_CPX: D DHCP HOST

HOST:|MAC:              |IP:             |PROF:
-------------------------------------------------------------------------------
  1   00-00-00-01-01-01  001.001.001.001  1
  2   00-00-00-21-02-12  001.001.001.002  2
  3   10-10-10-21-02-12  001.001.001.003  3
 10   10-10-10-11-01-11  001.001.001.010  10

[12:17:36] ABILIS_CPX: A DHCP HOST MAC:0-0-0-0-0-2

COMMAND EXECUTED

[12:17:40] ABILIS_CPX: D DHCP HOST

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

HOST:|MAC:              |IP:             |PROF:
-------------------------------------------------------------------------------
  1   00-00-00-01-01-01  001.001.001.001  1
  2   00-00-00-21-02-12  001.001.001.002  2
  3   10-10-10-21-02-12  001.001.001.003  3
  4   00-00-00-00-00-02  000.000.000.000  LAN
 10   10-10-10-11-01-11  001.001.001.010  10

As can be seen from the previous example, the new record wasn't added at the end of the table but it was inserted in the position '4', that was the first free one.

If the DHCP Hosts Table is full, i.e. no free record is currently available, the message "DHCP HOSTs TABLE IS FULL, COMMAND NOT EXECUTED" will be shown.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


A DHCP HOST: Add DHCP host by identifier (Administrator)
A DHCP HOST MAC:val [par:val]

This command allows to add a DHPC host definition by the specification of the host's identifier. The specification of the host's MAC address value is also required by the command.

The host identifier must be a numeric value in the range [1..500].

The MAC address value must be in the range [00-00-00-00-00-01..FF-FF-FF-FF-FF-FF].

While adding the new definition, the command sets also the eventually indicated parameters to the specified values. Not specified parameters are set to default values.

[12:17:42] ABILIS_CPX: A DHCP HOST:5  MAC:2-1-3-1-2-2 PROF:5

COMMAND EXECUTED

DHCP host configurations don't require consecutive indexes. A new definition can be added in any position of the table that is currently free. If the specified index corresponds to a DHCP host already present in the table the message "DHCP HOST ALREADY EXISTS" will be shown.

If the DHCP Hosts Table is full, i.e. no free record is currently available, the message "DHCP HOSTs TABLE IS FULL, COMMAND NOT EXECUTED" will be shown.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


C DHCP HOST Clear DHCP host by MAC address (Administrator)
C DHCP HOST MAC:val

This command allows to delete from the DHCP Hosts Table all the entries whose MAC address is set to the specified value. The MAC address value must be in the range [00-00-00-00-00-01..FF-FF-FF-FF-FF-FF].

If no entry is found for the specified MAC address, the message "DHCP HOST NOT PRESENT" will be shown.

If the DHCP Hosts Table is currently empty, the message "DHCP HOSTs TABLE IS EMPTY" will be shown.

DHCP host's definition are not kept contiguous in the table, then any deleted entry leaves a free space in the table that will be reused at next DHCP host's definition addition.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


C DHCP HOST: Clear DHCP host by identifier (Administrator)
C DHCP HOST:xxx

This command allows to delete the DHCP host definition corresponding to the specified identifier.

The host identifier must be a numeric value in the range [1..500].

If no entry is found in the specified position of the table, the message "DHCP HOST NOT PRESENT" will be shown.

If the DHCP Hosts Table is currently empty, the message "DHCP HOSTs TABLE IS EMPTY" will be shown.

DHCP host's definition are not kept contiguous in the table, then any deleted entry leaves a free space in the table that will be reused at next DHCP host's definition addition.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


D DHCP HOST Display DHCP Hosts Table (User)
D DHCP HOST [MAC:]

This command displays configured DHCP Hosts.

Here is an example of the information shown by the command execution:

[11:38:42] ABILIS_CPX: D DHCP HOST

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

HOST:|MAC:              |IP:             |PROF:
-------------------------------------------------------------------------------
  1   00-00-00-00-00-01  001.001.001.001  LAN
  3   00-00-00-00-00-30  001.001.001.003  1
  4   00-00-00-00-00-02  000.000.000.000  LAN
 10   00-00-00-00-00-01  001.001.001.010  2

The parameter "MAC:" allows to display a sub-set of the currently configured DHCP Hosts by specifying a MAC address value in the range [00-00-00-00-00-01..FF-FF-FF-FF-FF-FF].

[11:41:06] ABILIS_CPX: D DHCP HOST MAC:0-0-0-0-0-1 

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

HOST:|MAC:              |IP:             |PROF:
-------------------------------------------------------------------------------
  1   00-00-00-00-00-01  001.001.001.001  LAN
 10   00-00-00-00-00-01  001.001.001.010  2

If no DHPC host is currently defined the message "*** NO DHCP HOSTs DEFINED ***" will be displayed.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the displayed information, please refer to the Configuration of DHCP Hosts section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


D DHCP HOST: Display DHCP host (User)
D DHCP HOST:xxx
D DHCP HOST:A

This command displays a DHCP host configuration.

The host identifier must be a numeric value in the range [1..500].

Here is an example of the information shown by the command execution:

[11:26:34] ABILIS_CPX: D DHCP HOST:3

HOST:|MAC:              |IP:             |PROF:
-------------------------------------------------------------------------------
  3   00-00-00-00-00-03  001.001.001.003  1

By specifying "HOST:A", the command will display all configured DHCP Hosts.

If no DHPC host is currently defined the message "*** NO DHCP HOSTs DEFINED ***" will be displayed.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the displayed information, please refer to the Configuration of DHCP Hosts section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


S DHCP HOST: Set DHCP host by identifier (Administrator)
S DHCP HOST:xxx par:val [par:val]

This command sets all the indicated parameters of the requested DHCP host entry to the specified values.

The host identifier must be a numeric value in the range [1..500].

If no entry is found in the specified position of the table, the message "DHCP HOST NOT PRESENT" will be shown.

If the DHCP Hosts Table is currently empty, the message "DHCP HOSTs TABLE IS EMPTY" will be shown.

The parameter list, defined in the command, is left to right evaluated: the parameters are set one after the other,starting from the leftmost. Command evaluating will terminate if one the following events will occur:

All the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

Changes made on the DHCP Hosts Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the DHCP host's definition parameters, please refer to the Configuration of DHCP Hosts section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.

DHCP Profiles top


A DHCP PROF: Add DHCP profile (Administrator)
A DHCP PROF:xxx [par:val]

This command allows to add a new DHCP profile defintion to the DHCP Profiles Table.

The profile identifier must be a numeric value in the range [1..128].

DHCP profile configurations don't require consecutive indexes. A new definition can be added in any position of the table that is currently free. If the specified index corresponds to a DHCP profile already present in the table the message "DHCP PROFILE ALREADY EXISTS" will be shown.

While adding the new definition, the command sets also the eventually indicated parameters to the specified values. Not specified parameters are set to default values.

[18:33:39] ABILIS_CPX: A DHCP PROF:5 NAME:This_is_the_name_of_profile_5

COMMADN EXECUTED

[18:35:50] ABILIS_CPX: D DHCP PROF

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

PROF: |NAME:
-------------------------------------------------------------------------------
  0    Default_profile
  5    This_is_the_name_of_profile_5

If the DHCP Profiles Table is full, i.e. no free record is currently available, the message "DHCP PROFILEs TABLE IS FULL, COMMAND NOT EXECUTED" will be shown.

Changes made on the DHCP Profiles Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


C DHCP PROF: Clear DHCP profile (Administrator)
C DHCP PROF:xxx[,yyy,...]

This command remove the specified entries from the DHCP profile table.

The profile identifier must be a numeric value in the range [1..128]. More values can be specified separating them with the ',' (comma) characters without spaces.

If no entry is found in the specified position of the table, the message "DHCP PROFILE NOT PRESENT" will be shown.

The default profile, i.e. the one with index 0 cannot be deleted.

[18:33:42] ABILIS_CPX: C DHCP PROF:0

DEFAULT DHCP PROFILE CANNOT BE DELETED

DHCP profile definitions are not kept contiguous in the table, then any deleted entry leaves a free space in the table that will be reused at next DHCP profile definition addition.

Changes made on the DHCP Profiles Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


D DHCP PROF Display DHCP profile summary (User)
D DHCP PROF

This command shows synthetically the current content of the DHCP Profiles Table. Only NAME: parameter is displayed for every entry of the table.

Here is an example of the information shown by the command execution:

[18:35:50] ABILIS_CPX: D DHCP PROF

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

PROF: |NAME:
-------------------------------------------------------------------------------
  0    Default_profile
  5    This_is_the_name_of_profile_5

Changes made on the DHCP Profiles Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


D DHCP PROF: Display DHCP profile details (User)
D DHCP PROF:xxx[,yyy,...]

This command displays DHCP profile configuration(s) in an extended format.

The profile identifier must be a numeric value in the range [0..128]. More values can be specified separating them with the ',' (comma) characters without spaces.

If no entry is found in the specified position of the table, the message "DHCP PROFILE NOT PRESENT" will be shown.

Because every DHCP profile entry has several parameters, to keep the visualization as short as possible, the command doesn't display information about parameters set to their default values. Such information is displayed only if the parameters are set to not default values.

Here is an example of the information shown by the command execution:

[15:00:45] ABILIS_CPX: D DHCP PROF:5

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
PROF:          5
NAME:          This_is_the_name_of_profile_5
GW1:           192.168.000.253
TIME:          001.001.001.001
-------------------------------------------------------------------------------

By specifying "PROF:A", the command will display all configured DHCP Profiles.

[15:00:45] ABILIS_CPX: D DHCP PROF:A

Parameter     |Value
-------------------------------------------------------------------------------
PROF:          0
NAME:          Default_profile
-------------------------------------------------------------------------------
PROF:          1
NAME:
-------------------------------------------------------------------------------
PROF:          5
NAME:          This_is_the_name_of_profile_5
GW1:           192.168.000.253
TIME:          001.001.001.001
-------------------------------------------------------------------------------

Changes made on the DHCP Profiles Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the displayed information, please refer to the Configuration of DHCP Profiles section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


S DHCP PROF: Set DHCP profile (Administrator)

This command sets all the indicated parameters of the requested DHCP profile entries to the specified values.

The profile identifier must be a numeric value in the range [0..128]. More values can be specified separating them with the ',' (comma) characters without spaces.

If no entry is found in the specified position of the table, the message "DHCP PROFILE NOT PRESENT" will be shown.

The parameter list, defined in the command, is left to right evaluated: the parameters are set one after the other,starting from the leftmost. Command evaluating will terminate if one the following events will occur:

All the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

Changes made on the DHCP Profiles Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the DHCP profile's parameters, please refer to the Configuration of DHCP Profiles section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.

DHCP Subnets top


A DHCP LAN Add DHCP subnet by Network address/mask (Administrator)
A DHCP LAN NET:val [MASK:val] [par:val]

This command allows to add a new DHCP subnet definition by the specification of the Network address and mask values.

The Network address must be expressed in Dotted Decimal Notation. The allowed values are shown in the following table:

HEX: 00000000 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 0.0.0.0 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

The Network mask must be a value that contains sequence of bit set to 1, estimated leaving from the most meaningful bit towards the less meaningful one. It can be expressed either together with the Network address value, by a decimal value preceded by the '/' character, or it can be expressed in Dotted Decimal Notation, using the "MASK:" parameter. In this last case the valid range is [0.0.0.0, 128.0.0.0-255.255.255.252].

Doing the "logical AND" between Network address and mask values, the result should be the Network address value itself; if not the message "INVALID VALUE" will be shown and the new definition addition will be refused.

The subnet identified by Network address and mask values must be unique among all subnets records currently configured.
If the value already exist in the table, the message "DHCP SUBNET ALREADY EXIST" will be shown.

Here are two examples of the syntaxes accepted by the command for Network address and mask values specifications:

[14:49:09] ABILIS_CPX: A DHCP LAN NET:192.0.123.0/24

COMMAND EXECUTED

[14:52:13] ABILIS_CPX: A DHCP LAN NET:192.168.0.0 MASK:255.255.255.0

COMMAND EXECUTED

While adding the new definition, the command sets also the eventually indicated parameters to the specified values. Not specified parameters are set to default values.

DHCP subnet configurations don't have consecutive indexes. The new definition will be added in the first position of the table that is currently available and a correspondent numeric identifier will be assigned to the DHCP subnet.

[15:27:47] ABILIS_CPX: D DHCP LAN

LAN: |NET:            |MASK:
-------------------------------------------------------------------------------
  2   192.000.123.000  255.255.255.000
  3   192.168.000.000  255.255.255.000
  4   001.001.001.001  255.255.255.255

[15:27:49] ABILIS_CPX: A DHCP LAN NET:1.1.1.2/32

COMMAND EXECUTED

[15:27:54] ABILIS_CPX: D DHCP LAN

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

LAN: |NET:            |MASK:
-------------------------------------------------------------------------------
  1   001.001.001.002  255.255.255.255
  2   192.000.123.000  255.255.255.000
  3   192.168.000.000  255.255.255.000
  4   001.001.001.001  255.255.255.255

As can be seen from the previous example, the new record wasn't added at the end of the table but it was inserted in the position '1', that was the first free one.

If the DHCP Subnets Table is full, i.e. no free record is currently available, the message "DHCP SUBNETs TABLE IS FULL, COMMAND NOT EXECUTED" will be shown.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


A DHCP LAN: Add DHCP subnet by identifier (Administrator)
A DHCP LAN:xxx [par:val]

This command allows to add a DHPC subnet definition by the specification of the subnet's identifier.

The subnet identifier must be a numeric value in the range [1..128].

While adding the new definition, the command sets also the eventually indicated parameters to the specified values. Not specified parameters are set to default values.

[12:17:42] ABILIS_CPX: A DHCP LAN:10 NAME:MyLan

COMMAND EXECUTED

DHCP subnet configurations don't require consecutive indexes. A new definition can be added in any position of the table that is currently free. If the specified index corresponds to a DHCP subnet already present in the table the message "DHCP SUBNET ALREADY EXISTS" will be shown.

If the DHCP Subnets Table is full, i.e. no free record is currently available, the message "DHCP SUBNETs TABLE IS FULL, COMMAND NOT EXECUTED" will be shown.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


C DHCP LAN Clear DHCP subnet by Network address/mask (Administrator)
C DHCP LAN NET: [MASK:]

This command allows to delete the DHCP subnet definition by specifying the corresponding Network address and mask values.

The Network address must be expressed in Dotted Decimal Notation. The Network mask can be expressed either together with the Network address value, by a decimal value preceded by the '/' character, or it can be expressed in Dotted Decimal Notation, using the "MASK:" parameter.

Each DHCP subnet is unambiguously identified by its Network address and mask values. If no entry is found for the specified Network address and mask values, the message "DHCP SUBNET NOT PRESENT" will be shown.

If the DHCP Subnets Table is currently empty, the message "DHCP SUBNETs TABLE IS EMPTY" will be shown.

DHCP subnet's definition are not kept contiguous in the table, then any deleted entry leaves a free space in the table that will be reused at next DHCP subnet's definition addition.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


C DHCP LAN: Clear DHCP subnet by identifier (Administrator)
C DHCP LAN:xxx[,yyy,...]

This command allows to delete the DHCP subnet definition(s) corresponding to the specified identifier(s).

The subnet identifier must be a numeric value in the range [1..128]. More values can be specified separating them with the ',' (comma) characters without spaces.

If no entry is found in the specified position of the table, the message "DHCP SUBNET NOT PRESENT" will be shown.

If the DHCP Subnets Table is currently empty, the message "DHCP SUBNETs TABLE IS EMPTY" will be shown.

DHCP subnet's definition are not kept contiguous in the table, then any deleted entry leaves a free space in the table that will be reused at next DHCP subnet's definition addition.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.


D DHCP LAN Display DHCP Subnets Table summary (User)
D DHCP LAN [NET: [MASK:]]

This command shows synthetically the current content of the DHCP Subnets Table. Only NET: and MASK: parameters are displayed for every entry of the table.

Here is an example of the information shown by the command execution:

[15:00:45] ABILIS_CPX: D DHCP LAN

LAN: |NET:            |MASK:
-------------------------------------------------------------------------------
  1   192.000.123.000  255.255.255.000
  5   192.168.000.000  255.255.255.000

Each DHCP subnet is unambiguously identified by its Network address and mask values. By specifying a couple of values of Network address and mask, the corresponding entry is shown.
If no entry is found for the specified Network address and mask values, the message "DHCP SUBNET NOT PRESENT" will be shown.

If no DHPC subnet is currently defined the message "*** NO DHCP SUBNETs DEFINED ***" will be displayed.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the displayed information, please refer to the Configuration of DHCP Subnets section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


D DHCP LAN: Display DHCP subnet (User)
D DHCP LAN:xxx[,yyy,...]
D DHCP LAN:A

This command displays DHCP subnet configuration(s) in an extended format.

The subnet identifier must be a numeric value in the range [1..128]. More values can be specified separating them with the ',' (comma) characters without spaces.

If no entry is found in the specified position of the table, the message "DHCP SUBNET NOT PRESENT" will be shown.

Because every DHCP subnet entry has several parameters, to keep the visualization as short as possible, the command doesn't display information about parameters set to their default values. Such information is displayed only if the parameters are set to not default values.

Here is an example of the information shown by the command execution:

[15:00:45] ABILIS_CPX: D DHCP LAN:5

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
LAN:           5
NAME:          The name of this subnet is LOCAL-LAN
NET:           192.168.0.0/24
MASK:          255.255.255.0
POOL1:         192.168.0.10:192.168.0.254
DEF-LEASE:     36000
MAX-LEASE:     36000
PROF:          5 (Local lan 192.168.0.0/24)  

By specifying "LAN:A", the command will display all configured DHCP subnets.

[15:00:45] ABILIS_CPX: D DHCP LAN:A

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
LAN:           1
NAME:          This is LAN in San Petersburg
NET:           192.0.123.0/24
MASK:          255.255.255.0
POOL1:         192.0.123.10:192.0..123.254
DEF-LEASE:     36000
MAX-LEASE:     36000
-------------------------------------------------------------------------------
LAN:           2
NAME:
NET:           001.001.001.002/32
MASK:          255.255.255.255
-------------------------------------------------------------------------------
LAN:           5
NAME:          The name of this subnet is LOCAL-LAN
NET:           192.168.0.0/24
MASK:          255.255.255.0
POOL1:         192.168.0.10:192.168.0.254
DEF-LEASE:     36000
MAX-LEASE:     36000
PROF:          5 (Local lan 192.168.0.0/24)  
-------------------------------------------------------------------------------
LAN:           10
NAME:          MyLan
-------------------------------------------------------------------------------

If the DHCP Subnets Table is currently empty, the message "DHCP SUBNETs TABLE IS EMPTY" will be shown.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the displayed information, please refer to the Configuration of DHCP Subnets section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


S DHCP LAN Set DHCP subnet by Network address/mask (Administrator)
S DHCP LAN NET:val [MASK:val] par:val [par:val]

This command sets all the indicated parameters of the requested DHCP subnet entry to the specified values.

The DHCP subnet definition is specified by Network address and mask values.

The Network address must be expressed in Dotted Decimal Notation. The Network mask can be expressed either together with the Network address value, by a decimal value preceded by the '/' character, or it can be expressed in Dotted Decimal Notation, using the "MASK:" parameter.

Each DHCP subnet is unambiguously identified by its Network address and mask values. If no entry is found for the specified Network address and mask values, the message "DHCP SUBNET NOT PRESENT" will be shown.

If the DHCP Subnets Table is currently empty, the message "DHCP SUBNETs TABLE IS EMPTY" will be shown.

The parameter list, defined in the command, is left to right evaluated: the parameters are set one after the other,starting from the leftmost. Command evaluating will terminate if one the following events will occur:

All the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the DHCP subnet's parameters, please refer to the Configuration of DHCP Subnets section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.


S DHCP LAN: Set DHCP subnet by identifier (Administrator)
S DHCP LAN NET:val [MASK:val] par:val [par:val]

This command sets all the indicated parameters of the requested DHCP subnet entry to the specified values.

The subnet identifier must be a numeric value in the range [1..128].

If no entry is found in the specified position of the table, the message "DHCP SUBNET NOT PRESENT" will be shown.

If the DHCP Subnets Table is currently empty, the message "DHCP SUBNETs TABLE IS EMPTY" will be shown.

The parameter list, defined in the command, is left to right evaluated: the parameters are set one after the other,starting from the leftmost. Command evaluating will terminate if one the following events will occur:

All the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

Changes made on the DHCP Subnets Table are NOT immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed with the INIT PO:xxx command.

For a more detailed description of the DHCP subnet's parameters, please refer to the Configuration of DHCP Subnets section of DHCP Hosts, DHCP Profiles and DHCP Subnets Tables.

DHCP bindings top


C DHCP BIND Clear DHCP binding (Administrator)
C DHCP BIND IP:val
C DHCP BIND IP:A

This command allows to remove a DHCP binding entry from the DHCP bindings table identified by the specified IP address.

The IP address must be expressed in Dotted Decimal Notation

By specifying "IP:A", the command will delete all the entries that are currently present in the DHCP bindings table.

[19:19:52] ABILIS_CPX: C DHCP BIND IP:A

YOU ARE GOING TO DELETE THE WHOLE CONTENT OF THE DHCP BINDINGS DB IN MEMORY.
DO YOU WANT TO PROCEED (Y/N)? Y

COMMAND EXECUTED

D DHCP BIND Display DHCP bindings summary (User)
D DHCP BIND [IP:val] [PROF:val]

This command displays DHCP binding(s) in a synthetic format.

[19:07:12] ABILIS_CPX: D DHCP BIND

------------------+----------------+------+-----------------+------------------
MAC:              |IP              |PROF: |Last request(GMT)|Expiry on(GMT)
------------------+----------------+------+-----------------+------------------
11-11-23-11-11-11  192.168.000.123    128  20/12/2002 10:10  29/12/2002 10:10     
11-11-23-11-11-11  010.010.010.005     21  20/12/2002 10:16  21/11/2002 10:16 E
11-11-23-11-11-15  192.168.000.150   NONE  20/12/2002 10:20  23/12/2002 10:10     
11-11-23-11-11-12  192.168.000.124      5  20/12/2002 10:30  21/11/2002 10:30 E
11-11-23-11-11-12  192.168.000.124      5  20/12/2002 10:40  23/12/2002 10:10

By the "IP:" parameter, it is possible to display all the entries that match the specified value. The "IP:" parameter can be a single IP address or two IP addresses separated by ':'(colon) (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100). IP address(es) must always be expressed in Dotted Decimal Notation. The allowed values are shown in the following table:

HEX: 00000000 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 0.0.0.0 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

By the "PROF:" parameter, it is possible to display all the entries that match the specified value. The "PROF:" parameter must be a numeric identifier in the range [0..128].

If no DHPC binding is currently defined the message "*** NO DHCP BINDINGs DEFINED ***" will be displayed.

For a more detailed description of the DHCP binding's parameters, please refer to the DHCP bindings table section of Dynamic Host Configuration Protocol (DHCP).


D DHCP BINDE Display DHCP bindings details (User)
D DHCP BINDE [par:val] [par:val]

This command displays DHCP binding(s) in an extended format.

[19:07:12] ABILIS_CPX: D DHCP BINDE

----+-----+-------------------+-----------------+-------+----------------------
 O: | ST: | MAC:              | IP:             | PROF: | Last request(GMT)
                                                        | Expiry on(GMT)
----+-----+-------------------+-----------------+-------+----------------------
 H    EXP   11-11-23-11-11-11   192.168.000.123     128   21/12/2002 10:10:10
                                                          21/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    ACT   11-11-23-11-11-11   010.010.010.005     128   21/12/2002 10:10:10
                                                          29/12/2002 12:10:00
-------------------------------------------------------------------------------
 H    REL   11-11-23-11-11-15   192.168.000.150     128   21/12/2002 10:10:10
                                                          24/12/2002 11:10:10
-------------------------------------------------------------------------------
 H    ABD   11-11-23-11-11-30   000.000.000.000      10   21/12/2002 10:10:10
                                                          23/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    ACT   11-11-23-11-11-12   192.168.000.124    NONE   21/12/2002 10:10:10
                                                          25/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    EXP   11-11-23-11-11-18   192.168.000.100       5   21/12/2002 10:10:10
                                                          21/12/2002 11:10:10
-------------------------------------------------------------------------------

By the "O:" parameter, it is possible to display all the entries identified by the specified origin. Allowed values for the origin of the binding are 'H' and 'P'.

By the "ST:" parameter, it is possible to display all the entries that are currently in the specified state. Allowed values for the state of the binding are 'REL', 'ACT', 'EXP' and 'AB'.

By the "IP:" parameter, it is possible to display all the entries that match the specified value. The "IP:" parameter can be a single IP address or two IP addresses separated by ':'(colon) (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100). IP address(es) must always be expressed in Dotted Decimal Notation. The allowed values are shown in the following table:

HEX: 00000000 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 0.0.0.0 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

By the "PROF:" parameter, it is possible to display all the entries that match the specified value. The "PROF:" parameter must be a numeric identifier in the range [0..128].

If no DHPC binding is currently defined the message "*** NO DHCP BINDINGs DEFINED ***" will be displayed.

For a more detailed description of the DHCP binding's parameters, please refer to the DHCP bindings table section of Dynamic Host Configuration Protocol (DHCP).

printPrint this page