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
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
DH CP C lient
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.
[
] interface vlan-interface 2
S5500
[
-Vlan-interface2] ip address 10.1.1.1 24
S5500
10 Return to system view.
[
-Vlan-interface2] quit
S5500
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
Gigabit Ethernet 1/0/2
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
GigabitEthernet 1/0/1
VLAN 2
VLAN 2
VLAN 2
VLAN 3
VLAN 3
VLAN 3
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
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
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
D H CP Serv er
Introduction to DHCP Accounting 295
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US Serv er
RADI US 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
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