Chapter 4 Service Configuration
the Relay Agent domain and allocates an IP address to the DHCP Client that is in the
same subnet as the IP address in accordance with the domain value. This means that
the allocated IP address and the IP address of the interface through which Relay receives
request messages are in the same network segment. At the same time, DHCP Relay
implements the forwarding of the responses from the DHCP Server to the Client.
Configuring the DHCP Relay
DHCP relay configuration includes the following commands:
Command
Function
zte(cfg)#
set dhcp relay
{
enable
|
disable
}
Globally enables/disables the DHCP
relay function.
zte(cfg)#
set dhcp relay option82
{
enable
|
disable
}
Globally enables/disables the DHCP
relay option82 function.
zte(cfg)#
set dhcp relay option82 sub-option device
{
ani
<
string
>|
remote-ID
{
cisco
|
manual
<
string
>}}
Sets the switch node device ID.
zte(cfg)#
set dhcp relay option82 sub-option port
<
1-28
>
circuit-ID
{
on
{
cisco
|
china-tel
|
dsl-forum
|
henan-rtf
|
manual
<
string
>}|
off
}
Sets the relay option82 suboption.
set dhcp relay option82 mode port
<
1-52
>{
default
|
drop
|
modify
|
append
}
Sets the mode in binding the dynamic
user information binding table options
for the port.
zte(cfg)#
set dhcp relay server mode
{
ipport
|
vclass-id
}
Sets the DHCP Relay mode, sets the
DHCP server depending on ipport or
vclass-id.
zte(cfg)#
set dhcp relay server retry
<
5-1000
>
Sets the DHCP Relay retry, that is,
the number of times that message
resending to the server is tried.
zte(cfg)#
set dhcp relay vclass-id
{
characters
<
string
>|
hex-numbers
<
hex-string
>}
server
<
A.B.C.D
>
Sets the server IP address
corresponding to the class-id domain of
the server.
zte(cfg)#
clear dhcp relay vclass-id
{
characters
<
string
>{
server A.B.C.D
}|
hex-numbers
<
hex-string
>{
server A.B.C.D
}}
Clears the configured dhcp relay
vclass-id.
clear dhcp relay option82 sub-option device ani
Clears the device ID information.
show dhcp relay
Displays the DHCP relay configuration.
show dhcp vclass-id
Displays the DHCP Relay option60
configuration.
zte(cfg)#
clear dhcp option82 sub-option device ani
Clears the device ID information.
show dhcp relay binding
[
port
<
1-28
>|
trunk
<
1-15
>](all configuration
modes)
Displays the DHCP relay binding
information.
4-151
SJ-20120409144109-002|2012-07-02(R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 2910E-PS
Страница 6: ...IV ...
Страница 8: ...II ...
Страница 264: ...Tables This page intentionally left blank ...