Chapter 4 Service Configuration
Command Mode
Layer-3 configuration mode
Syntax
set ipport
<
0-63
>
dhcp relay
{
agent
|
server
<
A.B.C.D
>}
Parameter Description
Parameter
Description
<
0-63
>
Layer-3 interface ID.
agent
Agent of the DHCP Relay.
server
Server IP address.
<
A.B.C.D
>
DHCP server address.
Example
The following example sets DHCP relay information on port 3:
zte(cfg-router)#set ipport 3 dhcp relay agent
zte(cfg-router)#set ipport 3 dhcp relay server 168.1.23.18
4.40.17 set dhcp relay server ip
Purpose
This command sets a global DHCP Relay server IP address.
Command Mode
Global configuration mode
Syntax
set dhcp relay server ip
<
A.B.C.D
>}
Parameter Description
Parameter
Description
<
A.B.C.D
>
IP address of a DHCP server. A maximum of eight IP addresses
can be set.
Example
The following example sets the DHCP Relay server address to 168.1.23.180:
zte(cfg)#set dhcp relay server ip 168.1.23.180
4-561
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential