![background image](http://html.mh-extra.com/html/huawei/quidway-s3900-series/quidway-s3900-series_command-manual_169831679.webp)
New Feature Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DHCP Server Configuration
Commands
Huawei Technologies Proprietary
1-21
<Quidway> system-view
System View: return to User View with Ctrl+Z.
# Enter VLAN-interface 1 view.
[Quidway] interface Vlan-interface 1
# Enable the DHCP server to support all the sub-options of option 184 in
VLAN-interface 1. The NCP IP address is 1.1.1.1 and the IP address of the alternate
server is 2.2.2.2. The voice VLAN is enabled, with the ID being 3. The fail-over IP
address is 3.3.3.3 and the dial number string is 99*.
[Quidway-Vlan-interface1] dhcp select interface
[Quidway-Vlan-interface1] dhcp server voice-config ncp-ip 1.1.1.1
[Quidway-Vlan-interface1] dhcp server voice-config as-ip 2.2.2.2
[Quidway-Vlan-interface1] dhcp server voice-config voice-vlan 3 enable
[Quidway-Vlan-interface1] dhcp server voice-config fail-over 3.3.3.3 99*
1.1.19 dhcp server voice-config interface
Syntax
dhcp server voice-config
{
ncp-ip
ip-address
|
as-ip ip-address | voice-vlan vlan-id
{
enable
|
disable
} |
fail-over
ip-address
dialer-string
} {
interface
interface-type
interface-number
[
to interface-type interface-number
] |
all
}}
undo dhcp server voice-config
[
ncp-ip
|
as-ip
|
voice-vlan
|
fail-over
] {
interface
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
View
System view
Parameter
ncp-ip
: Specifies the IP address of the network call processor (NCP).
as-ip
: Specifies the IP address of the alternate server (AS).
voice-vlan
: Specifies the voice VLAN.
fail-over
: Specifies the Fail-over call routing.
ip-address
: IP address of the NCP, alternate server, or Fail-over.
vlan-id
: ID of the voice VLAN. This argument ranges from 2 to 4094.
enable
: Enables the voice VLAN.
disable
: Disables the voice VLAN.
dialer-string
: Dial number string. This argument comprises of number 0 through 9 and
the * character (acting as the wildcard).