0

I am reading a preparation book for the CCNA Test 200-301. Currently, I am reading a section about DHCP and VLAN interfaces in a switch. The book shows an example of configuring this.

switch# configure terminal
switch# interface vlan 1
switch# ip address dhcp
switch# no shutdown
switch# end

To practice, I am using GNS3 and vIOS-L2. However, when I try the subcommand ip address dhcp, I get the following message:

% Invalid input detected at '^' marker.

I think this happens because vIOS does not have this command due to the version. So, how can I configure this in vIOS?

Thank you.

0

1 Answer 1

2

That feature is not available in the L2 version. You need the L3 version.

1
  • Thank you. With your answer I tie up loose ends Jan 20 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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