Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring a DHCP Client on ACX Series

 

Minimum DHCP Client Configuration

The following sample output shows the minimum configuration you must use to configure an ACX Series router as a DHCP client. In this output, the interface is ge-0/0/0 and the logical unit is 0.

Note

To configure a DHCP client in a routing instance, add the interface in a routing instance using the [edit routing-instances] hierarchy.

Configuring Optional DHCP Client Attributes

For an ACX Series router to operate as a DHCP client, you configure a logical interface on the router to obtain an IP address from the DHCP local server in the network. You can then set the client-identifier, lease time, retransmission attempts, retransmission interval, preferred DHCP local server address, vendor class ID, and update server.

To configure optional DHCP client attributes:

  1. Configure the DHCP client identifier as the routing instance name.
    • DHCP client identifier as a user ID.

    • DHCP client identifier as the description of an interface.

    • DHCP client identifier as a prefix:

  2. Configure the DHCP client identifier prefix as the routing instance name.
  3. Set the DHCP lease time.
  4. Set the number of attempts allowed to retransmit a DHCP packet.
  5. Set the interval (in seconds) allowed between retransmission attempts. The range is 4 through 64. The default is 4 seconds.
  6. Set the IPv4 address of the preferred DHCP local server.
  7. Set the vendor class ID for the DHCP client.
  8. Propagate DHCP options received from an external DHCP server to a local DHCP server. By default, this option is not turned on.
Note

To configure the DHCP client in a routing instance, configure the interface in the [edit routing-instances] hierarchy.

Verifying and Managing DHCP Client Configuration

You can view or clear information about client address bindings and statistics for the DHCP client.

  • To display the address bindings in the client table on the DHCP client:

  • To display DHCP client statistics:

  • To clear the binding state of a DHCP client from the client table on the DHCP client:

  • To clear all DHCP client statistics:

  • To renew a DHCP client lease time:

Note

To clear or view information about client bindings and statistics in a routing instance, run the following commands:

  • show dhcp client binding routing-instance routing-instance name

  • show dhcp client statistics routing-instance routing-instance name

  • clear dhcp client binding routing-instance routing-instance name

  • clear dhcp client statistics routing-instance routing-instance name