This command displays DHCPv6 information for all relevant interfaces or the specified interface. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/port format. If you specify an interface, you can use the optional statistics parameter to view statistics for the specified interface.
| Format | show ipv6 dhcp interface {unit/slot/port|vlan 1-4093} [statistics] |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| IPv6 Interface | The interface name in unit/slot/port format. |
| Mode | Shows whether the interface is a IPv6 DHCP relay or server. |
If the interface mode is server, the following information displays.
| Term | Definition |
|---|---|
| Pool Name | The pool name specifying information for DHCPv6 server distribution to DHCPv6 clients. |
| Server Preference | The preference of the server. |
| Option Flags | Shows whether rapid commit is enabled. |
If the interface mode is relay, the following information displays.
| Term | Definition |
|---|---|
| Relay Address | The IPv6 address of the relay server. |
| Relay Interface Number | The relay server interface in unit/slot/port format. |
| Relay Remote ID | If configured, shows the name of the relay remote. |
| Option Flags | Shows whether rapid commit is configured. |
If you use the statistics parameter, the command displays the IPv6 DHCP statistics for the specified interface. See show ipv6 dhcp statistics for information about the output.
Example:
(Routing) # show ipv6 dhcp interface vlan 10 DHCPv6 Interface 3/1 Statistics ------------------------------------ DHCPv6 Client Statistics ------------------------------ DHCPv6 Advertisement Packets Received.......... 2 DHCPv6 Reply Packets Received.................. 3 Received DHCPv6 Advertisement Packets Discard.. 0 Received DHCPv6 Reply Packets Discarded........ 0 DHCPv6 Malformed Packets Received.............. 0 Total DHCPv6 Packets Received.................. 5 DHCPv6 Solicit Packets Transmitted............. 2 DHCPv6 Request Packets Transmitted............. 2 DHCPv6 Renew Packets Transmitted............... 0 DHCPv6 Rebind Packets Transmitted.............. 0 DHCPv6 Release Packets Transmitted............. 0 DHCPv6 Decline Packets Transmitted............. 1 DHCPv6 Confirm Packets Transmitted............. 0 Total DHCPv6 Packets Transmitted............... 5 DHCPv6 Server/Relay Statistics ------------------------------ DHCPv6 Solicit Packets Received................ 0 DHCPv6 Request Packets Received................ 0 DHCPv6 Confirm Packets Received................ 0 DHCPv6 Renew Packets Received.................. 0 DHCPv6 Rebind Packets Received................. 0 DHCPv6 Release Packets Received................ 0 DHCPv6 Decline Packets Received................ 0 DHCPv6 Inform Packets Received................. 0 DHCPv6 Relay-forward Packets Received.......... 0 DHCPv6 Relay-reply Packets Received............ 0 DHCPv6 Malformed Packets Received.............. 0 Received DHCPv6 Packets Discarded.............. 0 Total DHCPv6 Packets Received.................. 0 DHCPv6 Advertisement Packets Transmitted....... 0 DHCPv6 Reply Packets Transmitted............... 0 DHCPv6 Reconfig Packets Transmitted............ 0 DHCPv6 Relay-reply Packets Transmitted......... 0 DHCPv6 Relay-forward Packets Transmitted....... 0 Total DHCPv6 Packets Transmitted............... 0