
Introduction to DHCP Accounting 295
■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.Network diagram
Figure73 Network diagram for DHCP accounting configuration
Configuration procedure
1Enter system view.
<S5500> system-view
2Create VLAN 2.[S5500] vlan 2
3Create VLAN 3.[S5500-vlan2] vlan 3
4Return to system view.[S5500-vlan3] quit
5Enter Ethernet1/0/2 port view and add the port to VLAN 2.[S5500] interface Ethernet 1/0/2
[S5500-Ethernet1/0/2] port access vlan 2
6Return to system view.[S5500-Ethernet1/0/2] quit
7Enter Ethernet1/0/1 port view and add the port to VLAN 3.[S5500] interface Ethernet 1/0/1
[S5500-Ethernet1/0/1] port access vlan 3
8Return to system view.[S5500-Ethernet1/0/1] quit
9Enter VLAN 2 interface view and assign the IP address 10.1.1.1/24 to the VLAN interface.[S5500] interface vlan-interface 2[S5500-Vlan-interface2] ip address 10.1.1.1 2410 Return to system view.[S5500-Vlan-interface2] quitRADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet1/0/1
VLAN 3
10.1.2.1/24
Gigabit Eth ernet 1/0/2
VLAN 2
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 ServerDHCP Server
10.1.2.1/2410.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP ClientDHCP Client
DHCP ServerDHCP Server RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP ServerDHCP Server
DHCP ClientDHCP Client
DHCP ServerDHCP ServerDHCP ServerDHCP Server
10.1.2.1/2410.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet1/0/1
VLAN 3
10.1.2.1/24
Gigabit Eth ernet 1/0/2
VLAN 2
10.1.1.1/24
DHCP Server
GigabitEthernet1/0/1
VLAN 3
10.1.2.1/24
Gigabit Eth ernet 1/0/2
VLAN 2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP ServerDHCP Server RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP ServerDHCP Server
DHCP ClientDHCP Client
DHCP ServerDHCP ServerDHCP ServerDHCP Server
10.1.2.1/2410.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
10.1.2.1/2410.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP ServerDHCP Server
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
GigabitEthernet1/0/1
10.1.2.1/24
Gigabit Eth ernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP ClientDHCP ClientDHCP Client
DHCP ServerDHCP ServerDHCP ServerDHCP Server RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP ServerDHCP ServerDHCP Server
DHCP Client
DHCP Server
DHCP ClientDHCP ClientDHCP Client
DHCP ServerDHCP ServerDHCP ServerDHCP ServerDHCP ServerDHCP ServerDHCP ServerDHCP Server
10.1.2.1/2410.1.1.1/24