Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configure DHCP Support for AGF

This example describes how to configure the Access Gateway Function (AGF) to support the use of Dynamic Host Configuration Protocol (DHCP) for subscriber authentication. In this example, we configure DHCP relay to forward the DHCP request and reply packets between the subscriber (DHCP client) and the DHCP server on the 5G core (5GC).


CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Step-by-Step Procedure

  1. Create a subscriber group with the authentication fields that will be passed to the access interface.

  2. Create an access profile (access-profile) for the group subscribers that will be authenticating in the 5GC and attach the profile to the DHCP relay agent.

  3. Configure the router to always accept the DHCP client packets that contain option 82 information.

  4. Specify the interface to which that the DHCP subscribers will connect.
  5. Set the access profile that the AGF will use to authenticate for the subscriber group to authenticate using Non-Access Stratum (NAS) signaling.

  6. Create the domain map and apply the domain map to the access profile.

  7. Configure the following options for NAS signaling between the AGF and the Access and Mobility Management Function (AMF).

    • Maximum number of outstanding request—The number of unanswered request messages from the AMF.

    • Number of retries—The number of attempts for a registration or deregistration request .

    • Timeout—The duration that the AGF waits for a response from the AMF.

  8. Configure the routing instance.

For more information on DHCP subscribers, see