C613-50170-01 Rev B
Command Reference for x510 Series
2451
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
IP
DHCP
-
RELAY
AGENT
-
OPTION
CHECKING
ip dhcp-relay agent-option checking
Overview
This command enables the DHCP Relay Agent to check DHCP Relay Agent
Information Option (Option 82) information in response packets returned from
DHCP servers. If the information does not match the information it has for its own
client (downstream) interface then the DHCP Relay Agent drops the packet. Note
that
must be configured.
The DHCP Relay Agent Option 82 field is included in relayed client DHCP packets if:
•
DHCP Relay Agent Option 82 is enabled (
), and
•
DHCP Relay Agent is enabled on the device (
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information,
see the
DHCP Feature Overview and Configuration Guide
.
Syntax
ip dhcp-relay agent-option checking
no ip dhcp-relay agent-option checking
Mode
Interface Configuration for a VLAN interface.
Examples
To make the DHCP Relay Agent listening on vlan10 check the DHCP Relay Agent
Information Option (Option 82) field, use the commands:
awplus#
configure terminal
awplus(config)#
interface vlan10
awplus(config-if)#
ip dhcp-relay agent-option
awplus(config-if)#
ip dhcp-relay agent-option checking
To stop the DHCP Relay Agent on vlan10 from checking the DHCP Relay Agent
Information Option (Option 82) field, use the commands:
awplus#
configure terminal
awplus(config)#
interface vlan10
awplus(config-if)#
no ip dhcp-relay agent-option checking
Related
Commands
ip dhcp-relay agent-option remote-id