1560
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.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
ip dhcp-relay agent-option
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 (
ip dhcp-relay agent-option
), and
•
DHCP Relay Agent is enabled on the device (
service dhcp-relay
)
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
ip dhcp-relay agent-option remote-id
ip dhcp-relay information policy
service dhcp-relay