Supported Platforms
show dhcp-security ipv6 binding
Syntax
Release Information
Command introduced in Junos OS Release 13.2X51-D20 for EX Series switches.
Description
Display IPv6 address to MAC address bindings, also known as the DHCPv6 binding table or DHCPv6 snooping table.
Options
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
List of Sample Output
show dhcp-security ipv6 bindingshow dhcp-security ipv6 binding interface ge-0/0/4.0
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. | All levels |
State | Specifies whether the IPv6 address is:
| All levels |
Interface | Interface address (port). | All levels |
Sample Output
show dhcp-security ipv6 binding
user@switch> show dhcp-security ipv6 binding
IPv6 address MAC address Vlan Expires State Interface 2001::10:10:0:1 00:10:94:00:55:0b vlan20 0 BOUND ge-0/0/1.0 fe80::210:94ff:fe00:550b 00:10:94:00:55:0b vlan20 0 BOUND ge-0/0/1.0 2000::10:10:0:2 00:10:94:00:00:34 vlan20 0 BOUND ge-0/0/2.0 fe80::210:94ff:fe00:0034 00:10:94:00:00:34 vlan20 0 BOUND ge-0/0/2.0 2000::10:10:0:3 00:10:94:00:00:55 vlan20 0 BOUND ge-0/0/3.0 fe80::210:94ff:fe00:0055 00:10:94:00:00:55 vlan20 0 BOUND ge-0/0/3.0
Sample Output
show dhcp-security ipv6 binding interface ge-0/0/4.0
user@switch> show dhcp-security ipv6 binding
interface ge-0/0/4.0
IPv6 address MAC address Vlan Expires State Interface 2001::1 00:10:00:20:00:01 vlan20 0 STATIC ge-0/0/4.0 fe80::210:00ff:fe20:0001 00:10:00:20:00:01 vlan20 0 STATIC ge-0/0/4.0