![Huawei Quidway S5600 Operation Manual Download Page 685](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841685.webp)
Operation Manual - DHCP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 5 DHCP Accounting Configuration
Huawei Technologies Proprietary
5-2
5.2.2 Configuring DHCP Accounting
Table 5-1
Configure DHCP accounting
Operation
Command
Description
Enter system view
system-view
—
Enter address pool
view
dhcp server ip-pool
pool-name
Required
Enable DHCP
accounting
accounting domain
domain-name
Required
The domain identified by the
domain-name
argument can be
created by using the
domain
command
5.2.3 DHCP Accounting Configuration Example
I. Network requirements
z
The DHCP server connects to a DHCP client and a RADIUS server respectively
through its GigabitEthernet1/0/2 and GigabitEthernet1/0/1 ports.
z
GigabitEthernet1/0/2 belongs to VLAN 2; GigabitEthernet1/0/1 belongs to VLAN
3.
z
The IP address of VLAN 2 interface is 10.1.1.1/24, and that of VLAN 3 interface is
10.1.2.1/24.
z
The IP address of the RADIUS server is 10.1.2.2/24.
z
DHCP accounting is enabled on the DHCP server.
z
The IP addresses of the global DHCP address pool belongs to the network
segment 10.1.1.0/24. The DHCP server operates as a RADIUS client and adopts
AAA for authentication.
II. Network diagram
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet 1/0/1
vlan3
10.1.2.1/24
GigabitEthernet 1/0/2
vlan2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
DHCP Client
DHCP Server
DHCP Server
vlan3
10.1.2.1/24
vlan2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet 1/0/1
vlan3
10.1.2.1/24
GigabitEthernet 1/0/2
vlan2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet 1/0/1
vlan3
10.1.2.1/24
GigabitEthernet 1/0/2
vlan2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Client
DHCP Server
DHCP Server
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
DHCP Server
DHCP Client
DHCP Client
DHCP Server
DHCP Server
DHCP Server
DHCP Server
vlan3
10.1.2.1/24
vlan2
10.1.1.1/24
Figure 5-1
Network diagram for DHCP accounting configuration