cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
37768
Views
5
Helpful
2
Replies

ip dhcp use vrf connected

ksohan4730
Level 1
Level 1

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

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Jon Marshall
Hall of Fame
Hall of Fame

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card