Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 9 DHCP Configuration Commands
3Com Corporation
9-5
View
DHCP address pool view
Parameter
domain-name: Domain for DHCP accounting. For this domain, a RADIUS scheme must
be configured.
Description
Use the accounting domain command to enable DHCP server accounting for
addresses from the global DHCP address pools and configure a domain for DHCP
accounting.
Use the undo accounting domain command to disable DHCP accounting for
addresses from the DHCP address pools.
By default, DHCP accounting is not enabled.
When DHCP accounting is enabled, the DHCP server sends accounting packets to the
RADIUS accounting server in the specific domain when issuing and releasing leases.
The RADIUS server then records information about use of IP addresses, but does not
really perform accounting.
After configuring a DHCP server to use the RADIUS server in the specified domain for
accounting, you must associate RADIUS with the domain name. Otherwise, your
configuration does not take effect.
Without being configured with the accounting domain command, a DHCP server
does not send any accounting request to any RADIUS server when allocating a lease.
When configured with the accounting domain command, a DHCP server sends an
accounting start request to the RADIUS server whenever allocating a new lease; it
does not send any accounting start request to the RADIUS server for any existing lease.
When receiving a lease renewal request, the DHCP server sends an accounting start
request to the RADIUS server again.
When configured with the undo accounting domain command, a DHCP server does
not send any accounting stop request to the RADIUS server when releasing an existing
lease. If you modify the RADIUS domain, the DHCP server will send accounting start
and stop requests to the new RADIUS server for subsequent lease allocation and
releasing events.
Example
# Enable DHCP accounting for addresses from a DHCP address pool.
[3Com-dhcp-pool-pool1] accounting domain h3c










