Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show dhcp-security ipv6 binding

Syntax

Description

Display bindings between IPv6 addresses and MAC addresses (IP-MAC bindings) along with other DHCP lease information, also known as the DHCPv6 binding table or DHCPv6 snooping database.

Options

detail (Optional) Display the DHCPv6 snooping table 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.
Note:

DHCP client options are displayed for DHCPv6 only when the snoop entry type is IA_NA.

interface interface-name

(Optional) Display the DHCPv6 snooping table for the specified interface.

ipv6-address ipv6-address

(Optional) Display the DHCPv6 snooping table for the specified IPv6 address.

vlan vlan-name

(Optional) Display the DHCPv6 snooping table for a VLAN.

Required Privilege Level

view

Output Fields

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

The DHCPv6 binding table shows the untrusted access interfaces in VLANs that have been enabled for DHCPv6 snooping. The entries include the IPv6 addresses and MAC addresses that are bound to one another.

Table 1: show dhcp-security ipv6 binding Output Fields

Field Name

Field Description

Level of Output

IPv6 address

IPv6 addresses of the network device; bound to the MAC address. There are two entries added for each client: one with the link-local IPv6 address, which is used by the client for DHCP transactions, and another with the IPv6 address assigned by the server. The link-local address always has the prefix fe80::/10.

All levels

MAC address

MAC address of the network device; bound to the IPv6 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 IPv6 address to the MAC address expires. This field is 0 for static entries.

All levels

State

Specifies whether the IPv6 address is:

  • BOUND: Temporarily 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

Type

Shows the snoop entry type, whenever one is present. Snoop entry types can be one of the following:

  • IA_NA: The snoop entry related to the IA Address

  • IA_PD: The snoop entry related to the IA Prefix

  • Link-local: The snoop entry corresponding to the source address of the requesting client.

  • Static: The snoop entry created through configuration by a user or admin.

All levels

Sample Output

show dhcp-security ipv6 binding

show dhcp-security ipv6 binding detail

show dhcp-security ipv6 binding interface

Release Information

Command introduced in Junos OS Release 13.2X51-D20.

detail option introduced in Junos OS Release 23.1.