Command Reference Guide
6 ● accounting domain 3Com Router 5000 Family and Router 6000 Family
Command Reference
accounting domain
Purpose 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.
Syntax accounting domain domain-name
undo accounting domain
Parameters domain-name
Domain for DHCP accounting. For this domain, a
RADIUS scheme must be configured.
Default By default, DHCP accounting is not enabled.
Example Enable DHCP accounting for addresses from a DHCP address pool.
[3Com-dhcp-pool-pool1] accounting domain h3c
View This command can be used in the following views:
■ DHCP Address Pool view
Description 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.