ip dhcp use vrf connected

Answered Question
Dec 16th, 2009

Can someone please tell me what exactly this command does?


ip dhcp use vrf connected


OR


no ip dhcp use vrf connected

Correct Answer by Jon Marshall about 7 years 2 months ago

ksohan4730 wrote:


Can someone please tell me what exactly this command does?


ip dhcp use vrf connected


OR


no ip dhcp use vrf connected


I can't explain this any better than Peter did in a previous post -


https://supportforums.cisco.com/message/631964#631964


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Giuseppe Larosa Wed, 12/16/2009 - 13:44

Hello Ksohan4730,


I see in our newer ISR routers with IOS release 12.4 or 12.4T that the global command:

no ip dhcp use vrf connected


is present by default in the configuration.


What is to be noted is that the command is not present in the command reference in IP addressing services


http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc2.html#wp1013858


We never had the need to change the default settings also on routers acting as DHCP servers that we use in some cases.


The command looks like to be related to VRFs, virtual routing and forwarding that are defined for VRF lite or MPLS L3 VPN.


the possible effect is to consider the interfaces mapped in VRFs for DHCP commands (server activity or DHCP relaying function).


By default when an interface is associated to a VRF it is removed from the list of connected interfaces that are in the normal routing table (Global routing table).


so the command no ip dhcp use vrf connected should leave interfaces in VRF not considered by DHCP activity.


Hope to help

Giuseppe

Actions

This Discussion