39-30
n
Network diagram
Figure 39-2
Network diagram for Option 184 support configuratio
Configuration procedure
1) Configure the DHCP client.
Configure the 3COM VCX device to operate as a DHCP client and to request for all sub-options of
Option 184. (Configuration process omitted)
2) Configure the DHCP server.
# Enter system view.
<Sysname> system-view
# Add Ethernet 1/0/1 to VLAN 2 and configure the IP address of VLAN 2 interface to be 10.1.1.1/24.
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/0/1
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] ip address 10.1.1.1 255.255.255.0
[Sysname-Vlan-interface2] quit
# Configure VLAN-interface 2 to operate in the DHCP server mode.
[Sysname] dhcp select global interface vlan-interface 2
# Enter DHCP address pool view.
[Sysname] dhcp server ip-pool 123
# Configure sub-options of Option 184 in global DHCP address pool view.
[Sysname-dhcp-pool-123] network 10.1.1.1 mask 255.255.255.0
[Sysname-dhcp-pool-123] voice-config ncp-ip 3.3.3.3
[Sysname-dhcp-pool-123] voice-config as-ip 2.2.2.2
[Sysname-dhcp-pool-123] voice-config voice-vlan 3 enable
[Sysname-dhcp-pool-123] voice-config fail-over 1.1.1.1 99*
DHCP Accounting Configuration Example
Network requirements
z
The DHCP server connects to a DHCP client and a RADIUS server respectively through Ethernet
1/0/1 and Ethernet 1/0/2.