To display automatic client bindings from the Dynamic Host Configuration Protocol (DHCP) for IPv6 server binding table, use
the show
ipv6
dhcp
binding command in user EXEC or privileged EXEC mode.
show ipv6 dhcp binding [ipv6-address] [vrf vrf-name]
Syntax Description
ipv6-address
|
(Optional) The address of a DHCP for IPv6 client.
|
vrf
vrf-name
|
(Optional) Specifies a virtual routing and forwarding (VRF) configuration.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
|
This command was introduced.
|
Usage Guidelines
The show
ipv6
dhcp
binding command displays all automatic client bindings from the DHCP for IPv6 server binding table if the ipv6-address argument is not specified. When the ipv6-address argument is specified, only the binding for the specified client is displayed.
If the vrf
vrf-name keyword and argument combination is specified, all bindings that belong to the specified VRF are displayed.
Note |
The ipv6 dhcp server vrf enable command must be enabled for the configured VRF to work. If the command is not configured, the output of the show ipv6 dhcp binding command will not display the configured VRF; it will only display the default VRF details.
|
Examples
The following sample output displays all automatic client bindings from the DHCP for IPv6 server binding table:
# show ipv6 dhcp binding
Client: FE80::A8BB:CCFF:FE00:300
DUID: 00030001AABBCC000300
Username : client_1
Interface: Virtual-Access2.1
IA PD: IA ID 0x000C0001, T1 75, T2 135
Prefix: 2001:380:E00::/64
preferred lifetime 150, valid lifetime 300
expires at Dec 06 2007 12:57 PM (262 seconds)
Client: FE80::A8BB:CCFF:FE00:300 (Virtual-Access2.2)
DUID: 00030001AABBCC000300
IA PD: IA ID 0x000D0001, T1 75, T2 135
Prefix: 2001:0DB8:E00:1::/64
preferred lifetime 150, valid lifetime 300
expires at Dec 06 2007 12:58 PM (288 seconds)
The table below describes the significant fields shown in the display.
Table 1. show ipv6 dhcp binding Field Descriptions
Field
|
Description
|
Client
|
Address of a specified client.
|
DUID
|
DHCP unique identifier (DUID).
|
Virtual-Access2.1
|
First virtual client. When an IPv6 DHCP client requests two prefixes with the same DUID but a different identity association
for prefix delegation (IAPD ) on two different interfaces, these prefixes are considered to be for two different clients,
and interface information is maintained for both.
|
Username : client_1
|
The username associated with the binding.
|
IA PD
|
Collection of prefixes assigned to a client.
|
IA ID
|
Identifier for this IAPD.
|
Prefix
|
Prefixes delegated to the indicated IAPD on the specified client.
|
preferred lifetime, valid lifetime
|
The preferred lifetime and valid lifetime settings, in seconds, for the specified client.
|
Expires at
|
Date and time at which the valid lifetime expires.
|
Virtual-Access2.2
|
Second virtual client. When an IPv6 DHCP client requests two prefixes with the same DUID but different IAIDs on two different
interfaces, these prefixes are considered to be for two different clients, and interface information is maintained for both.
|
When the DHCPv6 pool on the Cisco IOS DHCPv6 server is configured to obtain prefixes for delegation from an authentication,
authorization, and accounting (AAA) server, it sends the PPP username from the incoming PPP session to the AAA server for
obtaining the prefixes. The PPP username is associated with the binding is displayed in output from the show
ipv6
dhcp
binding command. If there is no PPP username associated with the binding, this field value is displayed as "unassigned."
The following example shows that the PPP username associated with the binding is "client_1":
# show ipv6 dhcp binding
Client: FE80::2AA:FF:FEBB:CC
DUID: 0003000100AA00BB00CC
Username : client_1
Interface : Virtual-Access2
IA PD: IA ID 0x00130001, T1 75, T2 135
Prefix: 2001:0DB8:1:3::/80
preferred lifetime 150, valid lifetime 300
expires at Aug 07 2008 05:19 AM (225 seconds)
The following example shows that the PPP username associated with the binding is unassigned:
# show ipv6 dhcp binding
Client: FE80::2AA:FF:FEBB:CC
DUID: 0003000100AA00BB00CC
Username : unassigned
Interface : Virtual-Access2
IA PD: IA ID 0x00130001, T1 150, T2 240
Prefix: 2001:0DB8:1:1::/80
preferred lifetime 300, valid lifetime 300
expires at Aug 11 2008 06:23 AM (233 seconds)