C613-50631-01 Rev A Command Reference for IE340 Series 2563
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DHCP SNOOPING COMMANDS
IP
DHCP SNOOPING AGENT-OPTION
ip dhcp snooping agent-option
Overview Use this command to enable DHCP Relay Agent Option 82 information insertion on
the switch. When this is enabled, the switch:
• inserts DHCP Relay Agent Option 82 information into DHCP packets that it
receives on untrusted ports
• removes DHCP Relay Agent Option 82 information from DHCP packets that
it sends to untrusted ports.
Use the no variant of this command to disable DHCP Relay Agent Option 82
insertion.
Syntax
ip dhcp snooping agent-option
no ip dhcp snooping agent-option
Default DHCP Relay Agent Option 82 insertion is enabled by default when DHCP snooping
is enabled.
Mode Global Configuration
Usage notes DHCP snooping must also be enabled on the switch (service dhcp-snooping
command), and on the VLANs (ip dhcp snooping command).
If a subscriber ID is configured for the port (ip dhcp snooping subscriber-id
command), the switch includes this in the DHCP Relay Agent Option 82
information it inserts into DHCP packets received on the port.
Example To disable DHCP Relay Agent Option 82 on the switch, use the commands:
awplus# configure terminal
awplus(config)# no ip dhcp snooping agent-option
Related
commands
ip dhcp snooping
ip dhcp snooping agent-option allow-untrusted
ip dhcp snooping subscriber-id
service dhcp-snooping
show ip dhcp snooping