Can a Cisco switch be configured to have a management interface (or SVI, or VLAN interface) become a DHCP client, therefore obtaining its own IP address on the respective network?

This is out of curiousity, as I have not been able to come across the correct options in the CLI.

It may not be possible due to the same MAC address of the virtual interface being used in various transmissions on the switch, but please let me know!

2 Answers 2


You can configure an SVI as a dhcp client by using the following command within the SVI.

ip address dhcp

The same command is used on physical interfaces as well.

  • 2
    Note: not all switches support this. ('tho modern ones should)
    – Ricky
    Mar 21, 2014 at 1:30
  • I suppose it all depends on the IOS version and switch model.
    – eric
    Apr 8, 2014 at 18:23

Default configuration of a VLAN interface is no ip address. Thus, by default the switch is not a DHCP client. (it has no address at all.) ip address dhcp is the configuration to use DHCP.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.