ip dhcp relay information option

Use this command to enable the device to insert and remove option 82 information in DHCP packets forwarded by the relay agent.

The option 82 suboption remote-id can be configured either as hostname or any string provided by the User.

Use the no form of this command to disable inserting and removing option-82 information.

Command Syntax

Copy
ip dhcp relay information option (|remote-id (hostname|WORD))
no ip dhcp relay information option (|remote-id)

Parameters

remote-id

Remote host Identifier, can either be the System’s hostname or a user-specified string.

WORD

Specify a string as remote-id (Maximum 255 alphanumeric characters).

Default

None

Command Mode

Configure mode and VRF mode

Applicability

This command was introduced before OcNOS version 1.3 and was changed in OcNOS version 1.3.8.

Examples

Copy
#configure terminal
(config)#ip vrf vrf1
(config-vrf)#ip dhcp relay information option remote-id hostname
 
#configure terminal
(config)#ip dhcp relay information option
 
#configure terminal
(config)#no ip dhcp relay information option