
C
HAPTER
46
| DHCP Commands
DHCP Relay
– 932 –
U
SAGE
G
UIDELINES
DHCP relay service applies to DHCP client requests received on any
configured VLAN, both the management VLAN and non-management
VLANs.
This command is used to configure DHCP relay for host devices
attached to the switch. If DHCP relay service is enabled (by specifying
the address for at least one DHCP server), and this switch sees a DHCP
request broadcast, it inserts its own IP address into the request so the
DHCP server will know the subnet where the client is located. Then, the
switch forwards the packet to a DHCP server on another network. When
the server receives the DHCP request, it allocates a free IP address for
the DHCP client from its defined scope for the DHCP client’s subnet, and
sends a DHCP response back to the DHCP relay agent (i.e., this switch).
This switch then passes the DHCP response received from the server to
the client.
You must specify the IP address for at least one DHCP server.
Otherwise, the switch’s DHCP relay agent will not forward client
requests to a DHCP server. Up to five DHCP servers can be specified in
order of preference.
To terminate DHCP relay service, all configured server addresses must
be cleared with the
no
form of this command.
E
XAMPLE
Console(config)#ip dhcp relay server 192.168.10.19
Console(config)#
ip dhcp relay
information option
This command enables DHCP Option 82 information relay, and specifies the
frame format to use for the remote-id when Option 82 information is
generated by the switch. Use the
no
form of this command to disable this
feature, the
no
form with the
encode no-subtype
keyword to enable use
of sub-type and sub-length in CID/RID fields, or the
no
form with the
remote-id
keyword to set the remote ID to the switch’s MAC address
encoded in hexadecimal.
S
YNTAX
ip dhcp relay information option
[
encode no-subtype
]
[
remote-id
{
ip-address
[
encode
{
ascii
|
hex
}] |
mac-address
[
encode
{
ascii
|
hex
}] |
string
string
}]
no
ip dhcp rely information option
[
encode no-subtype
]
[
remote-id
[
ip-address
encode
] | [
mac-address
encode
]]
encode
no-subtype
- Disables use of sub-type and sub-length
fields in circuit-ID (CID) and remote-ID (RID) Option 82
information.
Содержание DG-FS4528P
Страница 2: ......
Страница 4: ......
Страница 148: ...CHAPTER 5 Simple Network Management Protocol Configuring SNMPv3 Groups 148 ...
Страница 279: ...CHAPTER 8 Interface Configuration Showing Port or Trunk Statistics 279 Figure 130 Showing Port Statistics ...
Страница 289: ...CHAPTER 10 Address Table Settings Changing the Aging Time 289 4 Click Apply Figure 137 Setting the Address Aging Time ...
Страница 389: ...CHAPTER 17 VoIP Traffic Configuration Configuring Telephony OUI 389 ...
Страница 414: ...CHAPTER 18 Multicast Filtering Multicast VLAN Registration 414 Figure 216 Configuring Static MVR Receiver Group Members ...
Страница 515: ...CHAPTER 22 System Management Commands UPnP 515 TTL 20 Console ...
Страница 972: ......
Страница 973: ...DG FS4528P ...