Configuring Dhcp Accounting; Dhcp Accounting Configuration Example - H3C S3600 Series Operation Manual

Hide thumbs Also See for S3600 Series:
Table of Contents

Advertisement

Operation Manual – DHCP
H3C S3600 Series Ethernet Switches-Release 1510

5.2.2 Configuring DHCP Accounting

Table 5-1 Configure DHCP accounting
Operation
Enter system view
Enter address pool
view
Enable
accounting

5.2.3 DHCP Accounting Configuration Example

I. Network requirements
The DHCP server connects to a DHCP client and a RADIUS server respectively
through its Ethernet1/0/2 and Ethernet1/0/1 ports.
Ethernet1/0/2 belongs to VLAN 2; Ethernet1/0/1 belongs to VLAN 3.
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.
The IP address of the RADIUS server is 10.1.2.2/24.
DHCP accounting is enabled on the DHCP server.
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
DHCP client
DHCP client
DHCP client
Figure 5-1 Network diagram for DHCP accounting configuration
III. Configuration procedure
# Enter system view.
<H3C> system-view
# Create VLAN 2.
Command
system-view
dhcp server ip-pool
pool-name
DHCP
accounting domain
domain-name
Ethernet 1/0/2
Ethernet 1/0/2
Ethernet 1/0/2
Ethernet 1/0/2
Ethernet 1/0/
Ethernet 1/0/
Ethernet 1/0/2
Ethernet 1/0/2
Ethernet 1/0/
Ethernet 1/0/
Ethernet 1/0/2
Ethernet 1/0/2
Ethernet 1/0/
Ethernet 1/0/2
Vlan 2
Vlan 2
Vlan 2
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
10.1.1.1/24
DHCP serv er
DHCP serv er
DHCP serv er
5-2
Chapter 5 DHCP Accounting Configuration
Description
Required
Required
The
domain
identified
domain-name
argument
created
by
using
command.
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Ethernet 1/0/1
Vlan 3
Vlan 3
Vlan 3
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
10.1.2.1/24
RADIUS serv er
RADIUS serv er
RADIUS serv er
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
10.1.2.2/24
by
the
can
be
the
domain

Advertisement

Table of Contents
loading

Table of Contents