C613-50631-01 Rev A Command Reference for IE340 Series 2566
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DHCP SNOOPING COMMANDS
IP
DHCP SNOOPING AGENT-OPTION REMOTE-ID
ip dhcp snooping agent-option remote-id
Overview Use this command to specify the Remote ID sub-option of the DHCP Relay Agent
Option 82 field. The Remote ID identifies the device that inserted the Option 82
information. If a Remote ID is not specified, the Remote ID sub-option is set to the
switch’s MAC address.
Use the no variant of this command to set the Remote ID to the default, the
switch’s MAC address.
Syntax
ip dhcp snooping agent-option remote-id <remote-id>
no ip dhcp snooping agent-option remote-id
Default The Remote ID is set to the switch’s MAC address by default.
Mode Interface Configuration for a VLAN interface.
Usage The Remote ID sub-option is included in the DHCP Relay Agent Option 82 field of
forwarded client DHCP packets:
• DHCP snooping Option 82 information insertion is enabled (ip dhcp
snooping agent-option command; enabled by default), and
• DHCP snooping is enabled on the switch (service dhcp-snooping) and on the
VLAN to which the port belongs (ip dhcp snooping)
Examples To set the Remote ID to myid for client DHCP packets received on vlan1, use the
commands:
awplus# configure terminal
awplus(config)# interface vlan1
awplus(config-if)# ip dhcp snooping agent-option remote-id myid
To return the Remote ID format to the default for vlan1, use the commands:
awplus# configure terminal
awplus(config)# interface vlan1
awplus(config-if)# no ip dhcp snooping agent-option remote-id
Related
commands
ip dhcp snooping agent-option
ip dhcp snooping agent-option circuit-id vlantriplet
show ip dhcp snooping
show ip dhcp snooping agent-option
Parameter Description
<remote-id> An alphanumeric (ASCII) string, 1 to 63 characters in length. If
the Remote ID contains spaces, it must be enclosed in double
quotes. Wildcards are not allowed.