IPv6 Configuration Guide K/KA/KB.15.15

For example, suppose you want to configure the following on the switch:
the address 2001:db8::127:10 which identifies a DNS server in the domain named
mygroup.hpnetworking.net
a priority of 1 for the above server
the domain suffix mygroup.hpnetworking.net
Assume that the above, configured DNS server supports an IPv6 device having a host name of
mars-1” (and an IPv6 address of fe80::215:60ff:fe7a:adc0) in the “mygroup.hpnetworking.net”
domain. In this case you can use the device's host name alone to ping the device because the
mygroup.hpnetworking.net domain has been configured as the domain name on the switch and
the address of a DNS server residing in that domain is also configured on the switch. The commands
for these steps are as follows:
Example 210 Configuring for a Local DNS Server and Pinging a Registered Device
HP Switch(config)# ip dns server priority 1 2001:db8::127:10
HP Switch(config)# ip dns domain-name mygroup.hpnetworking.net
HP Switch(config)# ping6 mars-1
fe80::215:60ff:fe7a:adc0 is alive, time = 1 ms
However, for the same “mars-1” device, if mygroup.hpnetworking.net was not the configured
domain name, you would have to use the fully qualified domain name for the device named mars-1:
HP Switch# ping6 mars-1.mygroup.hpnetworking.net
For further information and examples on using the DNS feature, see “DNS Resolver” in the
Troubleshooting appendix, in the current Management and Configuration Guide for your switch.
Viewing the Current Configuration
Use the show ip dns command to view the current DNS server configuration.
Use the show run command to view both the current DNS server addresses and the current DNS
domain name in the active configuration.
Operating Notes
In software release K.13.01, DNS addressing is not configurable from a DHCPv6 server.
Debug/Syslog for IPv6
The Debug/System logging (Syslog) for IPv6 feature provides logging functions similar to those of
the IPv4 version, allowing you to record IPv4 and IPv6 Event Log and debug messages on a remote
device to troubleshoot switch or network operation. For example, you can send messages about
routing mis-configurations and other network protocol details to an external device, and later use
them to debug network-level problems.
NOTE: This section describes the commands for Debug/Syslog configuration in an IPv6
environment. For information on using the Debug/Syslog feature in an IPv4 environment, see
“Debug/Syslog Operation” in the Troubleshooting appendix in the current Management and
Configuration Guide for your switch.
Debug/Syslog for IPv6 283