show dhcpv6-server
Syntax
show dhcpv6-server [all-vrfs]
show dhcpv6-server leases {all-vrfs | vrf <VRF-NAME>}
show dhcpv6-server pool <POOL-NAME> [vrf <VRF-NAME>]
Description
Shows configuration settings for the DHCPv6 server.
Command context
Manager (#)
Parameters
all-vrfs
Shows DHCPv6 server configuration settings for all VRFs.
leases {all-vrfs | vrf <VRF-NAME>}
Shows DHCPv6 server lease configuration settings for all VRFs or a specific VRF.
pool <POOL-NAME> [vrf <VRF-NAME>]
Shows DHCPv6 server pool configuration settings for all VRFs or a specific VRF.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
Showing all DHCPv6 server configuration settings.
switch# show dhcpv6-server VRF Name : default DHCPv6 Server : enabled Operational State : operational Authoritative Mode : true Pool Name : test Lease Duration : 00:01:00 DHCPV6 dynamic IP allocation ----------------------------- Start-IPv6-Address End-IPv6-Address Prefix-Length ------------------ ---------------- ------------- 2001::2 2001::10 64 DHCPv6 Server options --------------------- Option-Number Option-Type Option-Value ------------- ----------- ------------ 7 ipv6 2001::15 DHCvP6 Server static IP allocation ----------------------------------- DHCPv6 Server static host is not configured.
Showing DHCPv6 server configuration settings for VRF primary-vrf.
switch# show dhcpv6-server vrf primary-vrf VRF Name : primary-vrf DHCPv6 Server : disabled Operational State : standby Authoritative Mode : false Pool Name : test Lease Duration : 00:01:00 DHCPV6 dynamic IP allocation ----------------------------- Start-IPv6-Address End-IPv6-Address Prefix-Length ------------------ ---------------- ------------- 2000::1 2000::20 * 2001::20 2001::50 * 2001::2 2001::10 64 2010::20 2010::40 * DHCPv6 Server options --------------------- Option-Number Option-Type Option-Value ------------- ----------- ------------ 7 ipv6 2001::15 23 ipv6 2001::30 30 ipv6 2001::10 DHCvP6 Server static IP allocation ----------------------------------- DHCPv6 Server static host is not configured. Pool Name : v6test Lease Duration : 00:01:00 DHCPv6 dynamic IP allocation ----------------------------- Start-IPv6-Address End-IPv6-Address Prefix-Length ------------------ ---------------- ------------- 2001::1 2001::20 64 2010::10 2010::30 * 2020::20 2020::60 * DHCPv6 Server options --------------------- Option-Number Option-Type Option-Value ------------- ----------- ----------------- 7 ipv6 2001::20 23 ipv6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 2001:0db8:85a3:0000:0000:8a2e:0370:7335 2001:0db8:85a3:0000:0000:8a2e:0370:7336 2001:0db8:85a3:0000:0000:8a2e:0370:7337 DHCPv6 Server static IP allocation ------------------------------------ IPv6-Address Client-Hostname State Client-Id ------------ --------------- ----------- --------- 2100::4 * OPERATIONAL 1:0:a0:24:ab:fb:9c