[Sysname-Vlan-interface2] dhcp relay dhcp-server timeout 60
Related commands
dhcp relay server-address algorithm
dhcp relay gateway
Use
dhcp relay gateway
requests.
Use
undo dhcp relay gateway
Syntax
dhcp relay gateway ip-address
undo dhcp relay gateway
Default
The primary IP address of the interface is padded to DHCP requests as the DHCP relay agent
address.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip-address
Usage guidelines
The DHCP relay agent uses the specified IP address instead of the primary IP address of the relay
interface as the DHCP relay agent address.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify 10.1.1.1 as the DHCP relay agent address to be padded to DHCP requests on
VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] dhcp relay gateway 10.1.1.1
Related commands
gateway-list
dhcp relay information circuit-id
Use
dhcp relay information circuit-id
format for the Circuit ID sub-option of Option 82.
Use
undo dhcp relay information circuit-id
Syntax
dhcp relay information circuit-id { bas | srv6-opcode | string circuit-id
| { normal | verbose [ node-identifier { mac | sysname | user-defined
node-identifier } ] [ interface ] } [ format { ascii | hex } ] }
to specify the DHCP relay agent address to be padded to DHCP
: Specifies the DHCP relay agent address. It must be an IP address of the interface.
to restore the default.
to configure the padding mode and padding
65
to restore the default.