Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip dhcp use vrf connected

Can someone please tell me what exactly this command does?

ip dhcp use vrf connected

OR

no ip dhcp use vrf connected

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: ip dhcp use vrf connected

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

2 REPLIES
Hall of Fame Super Silver

Re: ip dhcp use vrf connected

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

Hall of Fame Super Blue

Re: ip dhcp use vrf connected

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

33084
Views
0
Helpful
2
Replies