howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / IP Address DHCP

IP Address DHCP

Command

IP Address DHCP

Use

This command is used to set an interface’s ip address via DHCP.

Syntax

Router(config)#ip address dhcp

Example

In this example, we will set 2611XM’s Fa0/0 interface to have its IP resolved by DHCP. First, lets check the current address.

2611XM(config)#do show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.2.5 YES TFTP up up

Now lets use ip address dhcp

2611XM(config-if)#ip address dhcp
*Jul 19 00:00:38.166: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.10.2.30, mask 255.255.255.0, hostname 2611XM

2611XM(config-if)#
2611XM(config-if)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.2.30 YES DHCP up up

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in