ip-dhcp-relay-server-select

Use this command to attach the DHCPClosed Dynamic Host Configuration Protocol IPv4 server group to the DHCP relay uplink interface.

DHCP Server Group

Use the no form of this command to remove the DHCP IPv4 server group attached to the DHCP relay interface.

Attach the groups only to the DHCP relay uplink interfaces.

Command Syntax

Copy
ip dhcp relay server-select GROUP_NAME
no ip dhcp relay server-select

Parameters

GROUP_NAME

Name of the DHCP server group (specify a maximum 63 alphanumeric characters).

Command Mode

Interface mode

Applicability

This command was introduced in OcNOS version 6.4.1

Examples

The below example shows attaching the DHCP IPv4 server group to the DHCP relay uplink interface:

Copy
OcNOS#configure terminal
OcNOS(config)#interface xe1
OcNOS(config-if)#ip dhcp relay server-select group1