R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference

66
disable: Disables the specified VLAN. DHCP clients will not take this VLAN as their voice VLAN.
enable: Enables the specified VLAN. DHCP clients will take this VLAN as their voice VLAN.
Usage guidelines
If you use the command multiple times, the most recent configuration takes effect.
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 3 that is enabled, 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*
Related commands
display dhcp server pool
DHCP relay agent commands
The term "interface" in this section collectively refers to Layer 3 interfaces, including VLAN interfaces and
Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port
link-mode route command (see Layer 2—LAN Switching Configuration Guide).
dhcp relay check mac-address
Use dhcp relay check mac-address to enable MAC address check on the relay agent.
Use undo dhcp relay check mac-address to disable MAC address check on the relay agent.
Syntax
dhcp relay check mac-address
undo dhcp relay check mac-address
Default
The MAC address check function is disabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This function enables the DHCP relay agent to compare the chaddr field of a received DHCP request with
the source MAC address in the frame header. If they are the same, the DHCP relay agent forwards the
request to the DHCP server. If they are not the same, the DHCP relay agent discards the request.