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
Figure 73 Network diagram for DHCP accounting configuration
Configuration procedure
1 Enter system view.
<S5500> system-view
2 Create VLAN 2.
[S5500] vlan 2
3 Create VLAN 3.
[S5500-vlan2] vlan 3
4 Return to system view.
[S5500-vlan3] quit
5 Enter 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
6 Return to system view.
[S5500-Ethernet1/0/2] quit
7 Enter 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
8 Return to system view.
[S5500-Ethernet1/0/1] quit
9 Enter 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 24
10 Return to system view.
[
S5500-Vlan-interface2] quit
RADIUS Server
10.1.2.2/24
DHCP Client
DHCP Server
GigabitEthernet 1/0/1
VLAN 3
10.1.2.1/24
GigabitEthernet 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
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 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
GigabitEthernet 1/0/1
VLAN 3
10.1.2.1/24
GigabitEthernet 1/0/2
VLAN 2
10.1.1.1/24
DHCP Server
GigabitEthernet 1/0/1
VLAN 3
10.1.2.1/24
GigabitEthernet 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
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Server
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 1/0/2
10.1.1.1/24
RADIUS Server
10.1.2.2/24
DHCP Client
GigabitEthernet 1/0/1
10.1.2.1/24
GigabitEthernet 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