Ip dhcp-relay agent-option remote-id, Ip dhcp-relay agent-option remote-id Page 1710
Page 1710

Dynamic Host Configuration Protocol (DHCP) Commands
Software Reference for x310 Series Switches
64.12
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
ip dhcp-relay agent-option remote-id
Use this command to specify the Remote ID sub-option of the DHCP Relay Agent Option
82 field the DHCP Relay Agent inserts into clients’ request packets. The Remote ID
identifies the device that is inserting the DHCP Relay Agent 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 return the Remote ID for an interface.
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information, see
“DHCP Relay Agent Introduction” on page 63.7
.
Syntax
ip dhcp-relay agent-option remote-id <remote-id>
no ip dhcp-relay 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 relayed
client DHCP packets if:
■
DHCP Relay Agent Option 82 is enabled (
■
DHCP Relay Agent is enabled on the switch (
Examples
To set the Remote ID to myid for client DHCP packets received on vlan1, use the
commands:
To remove the Remote ID specified for vlan1, use the commands:
Related Commands
ip dhcp-relay agent-option
ip dhcp-relay agent-option checking
show ip dhcp-relay
Parameter
Description
<remote-id>
An alphanumeric (ASCII) string, 1 to 63 characters in length.
Additional characters allowed are hyphen (-), underscore (_)
and hash (#). Spaces are not allowed.
awplus#
configure terminal
awplus(config)#
interface vlan1
awplus(config-if)#
ip dhcp-relay agent-option remote-id myid
awplus#
configure terminal
awplus(config)#
interface vlan1
awplus(config-if)#
no ip dhcp-relay agent-option remote-id