C613-50631-01 Rev A Command Reference for IE340 Series 3058
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
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 VLAN interfaces.
Examples To make the DHCP Relay Agent listening on vlan2 check the DHCP Relay Agent
Information Option (Option 82) field, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# ip dhcp-relay agent-option
awplus(config-if)# ip dhcp-relay agent-option checking
To stop the DHCP Relay Agent on vlan2 from checking the DHCP Relay Agent
Information Option (Option 82) field, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
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