C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1561
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
IP
DHCP
-
RELAY
AGENT
-
OPTION
REMOTE
-
ID
ip dhcp-relay agent-option remote-id
Overview
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
device’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 the
DHCP Feature Overview and Configuration Guide
.
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 device’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 (
ip dhcp-relay agent-option
), and
•
DHCP Relay Agent is enabled on the device (
service dhcp-relay
)
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-relay agent-option remote-id myid
To remove the Remote ID specified for
vlan1
, use the commands:
awplus#
configure terminal
awplus(config)#
interface vlan1
awplus(config-if)#
no ip dhcp-relay agent-option remote-id
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.