IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

PDF

IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

Enable a DHCP relay agent on an interface

Want to summarize with AI?

Log in

This topic describes how to enable the Cisco IOS XR DHCP relay agent on an interface on the Cisco 8000 Series Router.


The DHCP relay agent is disabled by default. Attach a relay profile to an interface to enable the DHCP relay agent on that interface.

Procedure

  1. Enter the global configuration mode and enter the DHCPv4 configuration submode.

    Example:

    Router# configure
    Router(config)# dhcp ipv4
  2. Attach a relay profile to an interface. To disable the DHCP relay on the interface, use the no interface HundredGigE 0/2/0/2 none command.

    Example:

    Router(config-dhcpv4)# interface HundredGigE 0/2/0/2 relay profile client
  3. Commit the configuration.

    Example:

    Router(config-dhcpv4-if)# commit