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 / Show DHCP Lease

Show DHCP Lease

Command

Show DHCP Lease

Use

This command shows DHCP lease information for interfaces that are configured with DHCP on the router.

Syntax

Router#show dhcp lease

Example

simple

In the below example we configure R1’s Fa0/0 to use DHCP.

R1(config)#int fa0/0
R1(config-if)#ip address dhcp
R1(config-if)#
*Mar 1 01:39:29.295: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down
R1(config-if)#
*Mar 1 01:39:40.455: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.1.1.1, mask 255.255.255.0, hostname R1

R1(config-if)#
*Mar 1 01:39:42.143: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is up: new adjacency

Then we verify the lease information with show dhcp lease.

R1(config)#do show dhcp lease
Temp IP addr: 10.1.1.1 for peer on Interface: FastEthernet0/0
Temp sub net mask: 255.255.255.0
DHCP Lease server: 10.1.1.2, state: 3 Bound
DHCP transaction id: 937
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
Temp default-gateway addr: 10.10.2.1
Next timer fires after: 11:59:38
Retry count: 0 Client-ID: cisco-cc01.0750.0000-Fa0/0
Client-ID hex dump: 636973636F2D636330312E303735302E
303030302D4661302F30
Hostname: R1

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