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

Release Information

Command introduced in Junos OS Release 12.1 for the QFX Series.

Command introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

Command introduced in Junos OS Release 14.1 for the MX Series.

Description

Display the DHCP snooping database information.

Options

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

List of Sample Output

show dhcp-security binding

show dhcp-security binding interface

show dhcp-security binding ip-address

show dhcp-security binding vlan

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

Specifies whether the IP address is:

  • BOUND: Leased to the MAC address for a limited period of time.

  • STATIC: Attached to a fixed MAC address.

All levels

Interface

Interface address (port).

All levels

Sample Output

show dhcp-security binding

user@device> show dhcp-security binding

show dhcp-security binding interface

user@device> show dhcp-security binding interface ge-0/0/6

show dhcp-security binding ip-address

user@device> show dhcp-security binding ip-address

show dhcp-security binding vlan

user@device> show dhcp-security binding vlan vlan20