C613-50631-01 Rev A Command Reference for IE340 Series 3060
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
IP
DHCP-RELAY AGENT-OPTION SUBSCRIBER-ID
ip dhcp-relay agent-option subscriber-id
Overview Use this command to set an ASCII string as a subscriber identifier for a port.
Use the no variant of this command to unset the string as a subscriber identifier for
a port.
Syntax
ip dhcp-relay agent-option subscriber-id <subscriber-id>
no ip dhcp-relay agent-option subscriber-id
Default No string is set.
Mode Interface Configuration
Usage notes The subscriber identifier is used by the relay agent to add a subscriber identifier
sub-option to the relay-agent information option added by the relay-agent before
forwarding the client packets coming from the switch port to the server. The agent
option fields in responses sent from the servers to clients are stripped before
forwarding such responses back to the client.
Example To set subscriber identifier ‘office-1’ to packets coming from the client directly
connected to port1.0.1, use the commands:
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# ip dhcp-relay agent-option subscriber-id
office-1
Parameter Description
<subscriber-id> An alphanumeric string to use as a client identifier. It is from 1 to
63 characters in length. This string may also contain special
characters ‘#’, ‘-’, ‘_’ and’.’.