# DHCP Client Profile Configuration Mode Commands

The Dynamic Host Configuration Protocol (DHCP) Client Profile Configuration Mode is used to create and manage DHCP client profile parameters. DHCP client profiles are associated with APNs.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
client-identifier

Configures the client-identifier which is sent to the external DHCP server.
Platform:

ASR 5000

ASR 5500
Product:

GGSN, P-GW, SAEGW
Privilege:

Security Administrator, Administrator
Syntax

    client-identifier { imsi | msisdn }

    default dhcp client-identifier

default

Specifies that the subscriber’s IMSI be included in the client-identifier option of relevant DHCP messages.
imsi

Specifies that the subscriber’s IMSI be included in the client-identifier option of relevant DHCP messages.
msisdn

Specifies that the subscriber’s MSISDN be included in the client-identifier option of relevant DHCP messages.
Usage:

Use this command to configure which information is included in the DHCP client-identifier option of DHCP messages to external DHCP servers.
Example:
The following command specifies that a subscriber’s MSISDN be included in the DHCP client-identifier option of DHCP messages to external DHCP servers:

    client-identifier msisdn

disable

Disables the specified options on the DHCP client.
Platform:

ASR 5000

ASR 5500
Product:

GGSN, P-GW, SAEGW
Privilege:

Security Administrator, Administrator
Syntax

    disable { dhcp-message-spray | rapid-commit-dhcpv4 | rapid-commit-dhcpv6 }

dhcp-message-spray

Disables DHCP client from spraying a DHCP message to all configured DHCP servers in the PDN.
rapid-commit-dhcpv4

Disables support of the rapid commit feature for DHCPv4 client functionality.
rapid-commit-dhcpv6

Disables support of the rapid commit feature for DHCPv6 client functionality.
Usage:

Use this command to disable options on the DHCP client.
Example:
The following command disables support of the rapid commit feature for DHCPv6 client functionality:

    disable rapid-commit-dhcpv6

enable

Enables the specified options on the DHCP client.
Platform:

ASR 5000

ASR 5500
Product:

GGSN, P-GW, SAEGW
Privilege:

Security Administrator, Administrator
Syntax

    enable { dhcp-message-spray | rapid-commit-dhcpv4 | rapid-commit-dhcpv6 }

dhcp-message-spray

Enables DHCP client to spray a DHCP message to all configured DHCP servers in the PDN.

By default, this is disabled. With rapid commit, there can only be one server to which this can be sent.
rapid-commit-dhcpv4

Enables support of the rapid commit feature for DHCPv4 client functionality.

By default, this is enabled.
rapid-commit-dhcpv6

Enables support of the rapid commit feature for DHCPv6 client functionality.

By default, this is enabled.
Usage:

Use this command to enable options on the DHCP client.
Example:
The following command enables support of the rapid commit feature for DHCPv6 client functionality:

    enable rapid-commit-dhcpv6

end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
request

Configures DHCP options which can be requested by the DHCP client.
Platform:

ASR 5000

ASR 5500
Product:

GGSN, P-GW, SAEGW
Privilege:

Security Administrator, Administrator
Syntax

    [ default ] request
    dhcp-option { dns-address | netbios-server-address | sip-server-address }no { dns-address | netbios-server-address | sip-server-address }

default

Returns the command to its default setting.
no

Disables a DHCP option requested by the DHCP client.
dhcp-option { dns-address | netbios-server-address | sip-server-address }

The following DHCP options can be requested by the DHCP client:

- dns-address: request for DNS address
- netbios-server-address: request for NetBIOS server address
- sip-server-address: request for SIP server address

Usage:

Use this command to enable/disable options which can be requested by the DHCP client.
Example:
The following command enables the DHCP client to request DNS address:

    request dhcp-option
    dns-address