R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
60
DHCP relay agent configuration commands
The DHCP relay agent configuration is supported only on Layer 3 Ethernet interfaces (or subinterfaces),
virtual Ethernet interfaces (or subinterfaces), VLAN interfaces, Layer 3 aggregate interfaces, and serial
interfaces.
dhcp enable (for DHCP relay agent)
Use dhcp enable to enable DHCP.
Use undo dhcp enable to disable DHCP.
Syntax
dhcp enable
undo dhcp enable
Default
DHCP is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
Enable DHCP before performing DHCP server and relay agent configurations.
Examples
# Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable
dhcp relay address-check enable
Use dhcp relay address-check enable to enable address check on the relay agent.
Use undo dhcp relay address-check enable to disable address check on the relay agent.
Syntax
dhcp relay address-check enable
undo dhcp relay address-check enable
Default
The function is disabled.
Views
Interface view