Technical References
the value may be suffixed with K or M to signify units of thousands or
millions. Note that in order for these changes to take effect you must
save the changes and restart the server Agent.
dhcp serverLogs nlogs=6 logsize=500K
dhcp serverLogs logsize=5M
dhcp getScopeCount [FailoverPair <name> | vpn <name> | all]
The getScopeCount command displays the scopes, networks, and VPNs
for the current VPN, all VPNs, a specific VPN, or a failover pair.
The getPrefixCount command displays the prefixes, links, and VPNs
for the current VPN, all VPNs, or a specific VPN.
If the ip-history feature is enabled, you should trim
records from the history database to reclaim disk space.
Each history record has a binding end time. Periodically,
the DHCP server examines the lease history records, and deletes
any records for bindings which ended at least ip-history-max-age
in the past.
dhcp limitationList <ipaddr> [<limitation-id>] show
Lists DHCP clients and leases that are associated by a common
limitation-id for the client (see the client command). Use this
command when a DHCP client is denied service because the number of
existing clients with a common limitation-id equals the allowed
limitation-count, as set for a policy (see the policy command).
It then determines which existing clients with that limitation-id
have active leases.
If you specify both the ipaddr and limitation-id arguments, the ipaddr
determines the network in which to search, and does not have to be an
actual IP address that the DHCP server could allocate. In this case, the
limitation-id must be a blob in nn:nn:nn format (such as 01:02:03) or a
string in string format. If you omit the limitation-id, the ipaddr must
be the IP address of a currently active lease, and the limitation-id used
for the command will be the one associated with that lease.
If you want to determine the existing clients and leases using up
the limitation-count for a particular limitation-id because the following
message appeared in the DHCP server log:
Warning Server 0 05646 Could not add Client MAC:
'1,6,01:02:03:04:0c:03' with limitation-id: 01:02:03
using Lease: 10.0.0.23, already 3 Clients with that id.
No over-limit client class specified! Dropping packet!
Use the lease specified in "... using Lease 10.0.0.23" as
the <ipaddr>, and the limitation-id specified in "... with
limitation-id 01:02:03" as the <limitation-id>:
nrcmd> dhcp limitationList 10.0.0.23 01:02:03 show
The result would be a list of 3 leases with the client's MAC
address, the client last transaction time, and the client's host name.
Examples