![D-Link DGS-1510 Series Скачать руководство пользователя страница 169](http://html.mh-extra.com/html/d-link/dgs-1510-series/dgs-1510-series_reference-manual_76530169.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
166
This example shows how a DHCP
relay pool “pool2” is created. In the relay pool, the subnet
172.19.18.0.0/255.255.255.0 is specified as the source subnet and 10.2.1.10 is specified as the relay
destination address.
Switch# configure terminal
Switch(config)# ip dhcp pool pool2
Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0
Switch(config-dhcp-pool)# relay destination 10.2.1.10
Switch(config-dhcp-pool)#
17-21
relay target
This command is used to specify a DHCP relay target for relaying packets that matches the value
pattern of the option defined in the class. Use the
no
form of this command to delete a relay target.
relay target
IP-ADDRESS
no relay target
IP-ADDRESS
Parameters
IP-ADDRESS
Specifies the relay target server IP address for the class.
Default
None.
Command Mode
DHCP Pool Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
In a DHCP relay pool, administrators can further use the
class
command and the
relay target
command to associate a list of relay target addresses with a DHCP class. When the client request
matches a relay pool and the DHCP relay pool is defined with classes, the client request must match
a class specified in the pool in order to be relayed. If the packet does not match any class in the pool,
the packet will not be replayed. If the matched relay pool has no class defined, then the request will
be relayed to the relay destination of the matched relay pool. Multiple relay target commands can be
specified for a class. If a packet matches the class, the packet will be forwarded to all of the relay
targets.
If the
relay target
command is not configured for a class, the relay target follows the relay destination
specified for the pool. The DHCP packet will not be relayed, if the interface that receives the packet
has no IP address configured.
Example
This example shows how to configure a DHCP relay target for relaying packets that matches the
value pattern of the option defined in the class.
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...