show dhcp binding

Syntax

To display information for the specified binding ID:

show dhcp binding bindingId

To display information for DHCP client bindings on the specified subnet:

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] [ detail ] [ filter ]

To display information for DHCP client bindings for the specified IP prefix:

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] ip-prefix ipPrefix [ detail ] [ filter ]

To display information for DHCP client bindings for the specified interface string:

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] interface string [ detail ] [ filter ]

To display information for DHCP client bindings without a lower-layer interface:

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] no-interface [ detail ] [ filter ]

To display information for DHCP client bindings for the specified agent-circuit-id suboption (suboption 1) string of the DHCP relay agent information option (option 82):

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] circuit-id string [ detail ] [ filter ]

To display information for DHCP client bindings for the specified agent-remote-id suboption (suboption 2) string of the DHCP relay agent information option (option 82):

show dhcp binding [ local | external | relay-proxy ] [ subnetAddress ] remote-id string [ detail ] [ filter ]

Release Information

Command introduced in JunosE Release 8.1.0.

local, external, relay-proxy, interface, no-interface, ip-prefix, circuit-id, and remote-id keywords and subnetAddress, ipAddress, and string variables added in JunosE Release 9.3.0.

Description

Displays information for specified DHCP client bindings, with results ordered by binding ID.

Note: This command replaces the deprecated show ip dhcp-external binding, show ip dhcp-external binding-id, and show ip dhcp-local binding commands, which may be removed completely in a future release.

Options

Mode

Privileged Exec

Related Documentation