ip dhcp relay information source-ip

Use this command to enable DHCP relay option 82 link selection.

Use the no form of this command to disable DHCP relay option 82 link selection.

To configure link-selection, enable DHCP Relay Option 82 globally using the ip dhcp relay information option command. If Option 82 is not enabled, the relay will not insert the link selection sub-option into the DHCP request.

Additionally, DHCP relay information options are not supported on downlink (relay-client-facing) interfaces.

Command Syntax

Copy
ip dhcp relay information source-ip A.B.C.D
no ip dhcp relay information source-ip

Parameters

A.B.C.D

IPv4 address

Default

None

Command Mode

Configure mode and VRF mode

Applicability

This command was introduced before OcNOS version 1.3.6.

Example

Copy
#configure terminal
(config)#ip vrf vrf1
(config-vrf)#ip dhcp relay information option source-ip 2.2.2.2
 
#configure terminal
(config)#ip dhcp relay information option source-ip 3.3.3.3