Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show dhcp-security binding

Syntax

Description

Display the DHCP snooping database information.

Options

detail (Optional) Display the DHCP snooping database information along with various DHCP client options. The option information associated with a binding is displayed in Code-Length-Value triplet. The option values are displayed as a hex dump.
interface interface-name

(Optional) Display the DHCP snooping database information for an interface.

ip-address ip-address

(Optional) Display the DHCP snooping database information for an IP address.

vlan vlan-name

(Optional) Display the DHCP snooping database information for a VLAN.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show dhcp-security binding command. Output fields are listed in the approximate order in which they appear.

Table 1: show dhcp-security binding Output Fields

Field Name

Field Description

Level of Output

IP Address

IP address of the network device; bound to the MAC address.

All levels

MAC address

MAC address of the network device; bound to the IP address.

All levels

VLAN

VLAN name of the network device whose MAC address is shown.

All levels

Expires

The time, in seconds, remaining before the lease of the IP address to the MAC address expires. This field is 0 for static entries.

All levels

State

State of the address binding:

  • BOUND: IP address is leased to the MAC address for a limited period of time.

  • INIT: Initial state.

  • RELEASE: Client is releasing IP address lease.

  • REQUESTING: Client is requesting a server.

  • SELECTING: Client is receiving offers from servers.

  • RENEWING: Client is sending a request to renew the IP address lease.

  • RECONFIGURE: Client has received a reconfigure message from the server.

  • STATIC: IP address is attached to a fixed MAC address.

All levels

Interface

Interface address (port).

All levels

Sample Output

show dhcp-security binding

show dhcp-security binding detail

show dhcp-security binding interface

show dhcp-security binding ip-address

show dhcp-security binding vlan

Release Information

Command introduced in Junos OS Release 12.1.

detail option introduced in Junos OS Release 23.1.