5-28
voice-config
Syntax
voice-config
{
as-ip
ip-address
|
fail-over
ip-address
dialer-string
|
ncp-ip
ip-address
|
voice-vlan
vlan-id
{
disable | enable
} }
undo voice-config
[
as-ip
|
fail-over
|
ncp-ip
|
voice-vlan
]
View
DHCP address pool view
Default Level
2: System level
Parameters
as-ip ip-address
: Specifies IP address for the backup network calling processor.
fail-over
ip-address dialer-string
: Specifies the failover IP address and dialer string. The
dialer-string
is
a string of 1 to 39 characters, which can be 0 to 9, and “*”.
ncp-ip
ip-address
: Specifies IP address for the primary network calling processor.
voice-vlan vlan-id
: Specifies the voice VLAN ID, in the range of 2 to 4094.
z
disable
: Disables the specified voice VLAN ID, meaning DHCP clients will not take this ID as their
voice VLAN.
z
enable
: Enables the specified voice VLAN ID, meaning DHCP clients will take this ID as their voice
VLAN.
Description
Use the
voice-config
command to configure specified Option 184 contents in a DHCP address pool.
Use the
undo
voice-config
command to remove specified Option 184 contents from a DHCP address
pool.
By default, no Option 184 content is configured.
Note that specifying the IP address of a network calling processor first is necessary to make other
configured parameters take effect.
Related commands:
dhcp server ip-pool
and
display dhcp server tree
.
Examples
# Configure Option 184 in DHCP address pool 0: the primary network calling processor 10.1.1.1,
backup network calling processor 10.2.2.2, voice VLAN ID 3 that is enabled, the failover IP address
10.3.3.3 and dialer string 99*.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] voice-config ncp-ip 10.1.1.1
[Sysname-dhcp-pool-0] voice-config as-ip 10.2.2.2
[Sysname-dhcp-pool-0] voice-config voice-vlan 3 enable
[Sysname-dhcp-pool-0] voice-config fail-over 10.3.3.3 99*