Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / How to delete the DHCP session that is stuck in terminating/terminated (Zombie interface)

How to delete the DHCP session that is stuck in terminating/terminated (Zombie interface)

May 24, 2016 by Marques Brownlee

This article provides information on how to delete a DHCP session that is stuck in terminating/terminated (Zombie interface).

Note:

  • ‘Zombie interface’ is not an official term and each symptom is different.
  • It is used to indicate that something has caused the DHCP session to be stuck in terminating/terminated, and it has not gone away.
  • To delete the Zombie interface that has not been released.

 

Zombie interface – type 1:

Juniper@Juniper> show dhcp relay binding 61.74.172.251 detail

Client IP Address: 61.74.172.251
Hardware Address: 88:c6:63:c0:9d:05
State: RELEASE(RELAY_STATE_WAIT_AUTH_REQ_RELEASE)
Lease Expires: 2012-02-17 09:36:23 KST
Lease Expires in: -696600 seconds <==========================
Lease Start: 2012-02-17 08:36:23 KST
Last Packet Received: 2012-02-24 23:27:26 KST
Incoming Client Interface: ae1.0
Demux Interface: demux0.1073819722
Server Ip Address: 121.138.7.26
Server Interface: none
Bootp Relay Address: 61.74.172.254
Session Id: 159949
Client Profile Name: DDI

Zombie interface – type 2:

Juniper@Juniper# run show dhcp relay binding interface ae6
Dec 08 08:30:20
IP address Session Id Hardware address Expires State Interface
106.0.33.214 2833412 00:00:02:86:61:d5 0 RELEASE ae6.0


Juniper@Juniper# run show dhcp relay binding 106.0.33.214
No binding for specified IP address. <================================


Juniper@Juniper# run show dhcp relay binding 00:00:02:86:61:d5
Dec 08 08:22:53
IP address Session Id Hardware address Expires State Interface
106.0.33.214 2833412 00:00:02:86:61:d5 0 RELEASE ae6.0


Juniper@Juniper# run show dhcp relay binding 00:00:02:86:61:d5 detail
Dec 08 08:22:57
Client IP Address: 106.0.33.214
Hardware Address: 00:00:02:86:61:d5
State: RELEASE(RELAY_STATE_WAIT_AUTH_REQ_DELETE)
Lease Expires: unknown
Lease Expires in: 0 seconds <=================================
Lease Start: unknown
Last Packet Received: 2011-12-08 07:13:30 KST
Incoming Client Interface: ae6.0
Server Ip Address: 100.0.0.3
Server Interface: none
Bootp Relay Address: 106.0.255.254
Session Id: 2833412
Client Profile Name: DDI


Juniper@Juniper# run show subscribers id 2833412
Dec 08 08:23:54
Type: DHCP
User Name: 0000.0286.61d5
Logical System: default
Routing Instance: default
Interface type: Static
Dynamic Profile Name: DDI
MAC Address: 00:00:02:86:61:d5
State: Init
DHCP Relay IP Address: 106.0.255.254
Radius Accounting ID: 2833412
Session ID: 2833412
Agent Circuit ID: ae6
Login Time: 2011-12-08 05:58:30 KST
DHCP Options: len 63
35 01 03 3d 07 01 00 00 02 86 61 d5 32 08 6a 00 21 d6 d6 21
00 6a 36 08 64 00 00 03 03 00 00 64 0c 05 4b 54 57 4f 4f 51
08 31 32 33 34 35 36 37 38 3c 00 37 0a 01 0f 03 06 2c 2e 2f
1f 21 2b

Zombie interface – type 3:

Juniper@Juniper> show subscribers
Interface IP Address/VLAN ID User Name LS:RI
demux0.1073741825 101.10.237.89
default:default
Juniper@Juniper> clear dhcp relay binding interface demux0.1073741825
Interface not found.


Juniper@Juniper> clear auto-configuration interfaces demux0.1073741825
error: Unable to find interface demux0.1073741825


Juniper@Juniper> show subscribers
Interface IP Address/VLAN ID User Name LS:RI
demux0.1073741825 101.10.237.89 default:default 

Juniper@Juniper> show subscribers extensive
Type: DHCP
IP Address: 101.10.237.89
Logical System: default
Routing Instance: default
Interface: demux0.1073741825
Interface type: Static
Dynamic Profile Name: DHCP-RELAY
Dynamic Profile Version: 1
MAC Address: 00:00:64:04:01:02
State: Terminating
DHCP Relay IP Address: 144.130.240.65
Radius Accounting ID: 275
Session ID: 275
Agent Circuit ID: AVC-01474832045-50M0
Agent Remote ID: remote0
Login Time: 2012-06-14 17:34:02 EST
DHCP Options: len 46
35 01 01 3d 08 00 63 6c 69 65 6e 74 30 52 1f 01 14 41 56 43
2d 30 31 34 37 34 38 33 32 30 34 35 2d 35 30 4d 30 02 07 72
65 6d 6f 74 65 30

To delete a zombie interface, perform the following procedure:

1. The committing sequence is very important. If the order is changed, for example 1, 3, 2…, the Jdhcpd core-dump file is created. After that, it cannot be deleted:

  • clear dhcp relay binding force x.x.x.x (add the IP address here)

Use this command at least 3 times. If it does not go away, proceed with the next command.

  • dynamic-configuration profile delete client session-id XXX “Dynamic-profile”
  • dynamic-configuration session delete session-id

Related

Filed Under: Juniper Tagged With: DHCP session

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in