This topic describes how to configure and enable the DHCP relay agent on the Cisco 8000 Series Router.
Configure a DHCP relay profile and attach it to a BVI interface to forward DHCP packets between clients and DHCP servers.
IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases
Is this content helpful?
Thank you for your feedback. Your response has been recorded.
AI responses are currently only available to logged in users. Log in
Only ask questions about this document. To ask questions about this product as a whole, go to Technical Documentation .
Suggestions
Sorry, we couldn't generate a response for this query.
IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases
Updated: August 12, 2026
Want to summarize with AI?
Log inThis topic describes how to configure and enable the DHCP relay agent on the Cisco 8000 Series Router.
Configure a DHCP relay profile and attach it to a BVI interface to forward DHCP packets between clients and DHCP servers.
Enter the global configuration mode, and enter the DHCP IPv4 configuration submode.
Router# configure
Router(config)# dhcp ipv4
Enable the DHCP relay profile.
Router(config-dhcpv4)# profile r1 relay
Configure VRF addresses for forwarding UDP broadcasts, including DHCP.
Router(config-dhcpv4-relay-profile)# helper-address vrf A 10.10.7.1 giaddr 10.10.7.2
Router(config-dhcpv4-relay-profile)# broadcast-flag policy check
Insert the DHCP relay agent information option (option-82 field) in forwarded BOOTREQUEST messages to a DHCP server.
Router(config-dhcpv4-relay-profile)# relay information option vpn
Router(config-dhcpv4-relay-profile)# relay information option vpn-mode rfc
(Optional) Configure the DHCP IPv4 Relay not to discard BOOTREQUEST packets that have an existing relay information option and the giaddr set to zero.
Router(config-dhcpv4-relay-profile)# relay information option allow-untrusted
Router(config-dhcpv4-relay-profile)# exit
Configure DHCP relay on a BVI interface and commit the configuration.
Router(config-dhcpv4)# interface BVI 1 relay profile r1
Router(config-dhcpv4)# commit
Need help?
(Requires a Cisco Service Contract)
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.