![Zte ZXR10 8900 Series Скачать руководство пользователя страница 79](http://html.mh-extra.com/html/zte/zxr10-8900-series/zxr10-8900-series_user-manual_941741079.webp)
Chapter 7 DHCP Configuration
Step Command
Function
4
ZXR10(config)#
ip dhcp server dns
<
mdns-address
>[<
sdns-address
>]
This sets DNS address
advertised by a DHCP server
to client.
5
ZXR10(config)#
interface vlan
<
vlan-number
>
This accesses VLAN L3
interface.
6
ZXR10(config-if)#
ip dhcp mode server
This enables DHCP on an
interface.
7
ZXR10(config-if)#
ip dhcp server gateway
<
ip-address
>
This configures default
gateway address for one
client.
8
ZXR10(config-if)#
peer default ip pool
<
pool-name
>
This applies defined IP
address pool on L3 interface.
Configuring DHCP Relay
To configure DHCP relay, perform the following steps.
Step Command
Function
1
ZXR10(config)#
ip dhcp enable
This enables DHCP process
2
ZXR10(config)#
interface vlan
<
vlan-number
>
This enters Layer 3 VLAN
interface configuration mode
3
ZXR10(config-if)#
ip dhcp mode relay
This configures DHCP relay on
an interface
4
ZXR10(config-if)#
ip dhcp relay server
<
ip-address
>
ip dhcp relay agent
<
ip-address
>
This configures DHCP relay
agent
5
ZXR10(config-if)#
ip dhcp relay server
<
ip-address
>{
security
|
standard
}
This configures IP address of
external DHCP server
Note:
In the command of Step 5, when the mode is set to
security
, the
address of DHCP server displayed on DHCP Client is the address
of relay agent. When the mode is set to
standar
d, the address of
DHCP server displayed on DHCP Client is actually the address of
the server. Therefore, the
security
mode can protect the server
from attack.
Configuring DHCP Snooping
To configure DHCP snooping, perform the following steps.
Confidential and Proprietary Information of ZTE CORPORATION
67