Command Reference Guide
3Com Router 5000 Family and Router 6000 Family dhcp server accounting domain interface (System view) ● 69
Command Reference
dhcp server accounting domain interface
(System view)
Purpose Use the dhcp server accounting domain interface command to enable
DHCP accounting for addresses from the address pools of the specified interfaces and
configure a domain for DHCP accounting.
Use the undo dhcp server accounting domain interface command to
disable DHCP accounting for addresses from the address pools of the specified
interfaces.
Syntax dhcp server accounting domain domain-name { interface interface-type
interface-number [ to interface-type interface-number ] | all }
undo dhcp server accounting domain { interface interface-type
interface-number [ to interface-type interface-number ] | all }
Parameters domain-name
Domain for DHCP accounting. For this domain, a
RADIUS scheme must be configured.
interface-type
interface-number [ to
interface-type
interface-number ]
Indicates an interface or all interfaces from the first
specified interface to the second. Note that the
interfaces must be Ethernet interfaces (or
subinterfaces) or virtual Ethernet interfaces.
all
Indicates all interfaces.
Default By default, DHCP accounting is not enabled.
Example Enable DHCP accounting for addresses from the address pools of Ethernet2/0/0.1 to
Ethernet2/0/0.5, and specify radius_domain as the domain for accounting.
[3Com] dhcp server accounting domain radius_domain interface ethernet
2/0/0.1 to ethernet 2/0/0.5
View This command can be used in the following views:
■ System view
Description Note that you cannot use the display current-configuration command to
verify the configuration made by using the
dhcp server accounting domain
interface
command, which is implemented by executing the dhcp server
accounting domain
command repeatedly.