New Feature Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DHCP Server Configuration
Commands
Huawei Technologies Proprietary
1-22
interface-type interface-number
[
to interface-type interface-number
]: Specifies all
interfaces in the interface range identified by the two interface indexes separated by
the
to
keyword (including the end interfaces). The interfaces must be VLAN interfaces.
all
: Specifies that the sub-options apply to all VLAN interfaces.
Description
Use the
dhcp server voice-config interface
command to configure option 184 and
its sub-options, which will be sent to DHCP clients by a DHCP server as well when the
DHCP server assigns IP addresses of specified address pools to DHCP clients.
Use the
undo dhcp server voice-config interface
command to disable a DHCP
server from sending option 184 and the specified sub-option to DHCP clients when the
DHCP server assigns IP addresses to DHCP clients.
A DHCP server sends Option 184 and the corresponding sub-options to a DHCP client
only when the latter requests for option 184.
The NCP-IP sub-option is necessary for all other sub-options. You need to configure
the NCP-IP sub-option first to enable other sub-options.
By default, option 184 and its sub-options are not supported by a DHCP server.
Related command:
voice-config
.
Example
# Enter system view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
# Configure the DHCP server to support option 184 and all its sub-options when the
DHCP server assigns IP addresses to DHCP clients through Vlan-interface 1, with the
sub-options being set as follows:
z
NCP-IP: 1.1.1.1
z
AS-IP: 2.2.2.2
z
Voice VLAN: Enabled
z
Voice VLAN ID: 3
z
IP address of Fail-over: 3.3.3.3
z
Dialer-string: 99*
[Quidway] dhcp select interface Vlan-interface1
[Quidway] dhcp server voice-config ncp-ip 1.1.1.1 interface Vlan-interface1
[Quidway] dhcp server voice-config as-ip 2.2.2.2 interface Vlan-interface1
[Quidway] dhcp server voice-config voice-vlan 3 enable interface
Vlan-interface1
[Quidway] dhcp server voice-config fail-over 3.3.3.3 99* interface
Vlan-interface1