Ip dhcp snooping agent-option, No ip dhcp snooping agent-option – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1448
DHCP Snooping Commands
Software Reference for x310 Series Switches
56.10
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
ip dhcp snooping agent-option
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
DHCP snooping must also be enabled on the switch (
), and on the VLANs (
ip dhcp snooping command on page 56.9
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:
Related Commands
ip dhcp snooping
ip dhcp snooping agent-option allow-untrusted
ip dhcp snooping subscriber-id
service dhcp-snooping
show ip dhcp snooping
awplus#
configure terminal
awplus(config)#
no ip dhcp snooping agent-option