Huawei S9300 Configuration Manual page 190

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
[SwitchA] ipv6 host RouterB 2001::2
[SwitchA] ipv6 host RouterC 2002::3
# Enable the DNS resolution function.
[SwitchA] dns resolve
# Configure the IPv6 address of the IPv6 DNS server.
[SwitchA] dns server ipv6 2003::2
# Set the domain name suffix to ".net".
[SwitchA] dns domain net
# Set the domain name suffix to ".com".
[SwitchA] dns domain com
[SwitchA] quit
Step 2 Verify the configuration.
# Run the ping ipv6 huawei.com command on Switch A. You can find that the Ping operation
succeeds, and the destination IP address is 2002::1.
<SwitchA> ping ipv6 huawei.com
Resolved Host ( huawei.com -> 2002::1)
PING huawei.com : 56
--- huawei.com ping statistics ---
# Run the display ipv6 host command on SwitchA. You can view the mapping relationships
between the host names in static IPv6 DNS entries and the IPv6 addresses.
<SwitchA> display ipv6 host
Host
SwitchB
SwitchC
Run the display dns ipv6 dynamic-host command on SwitchA. You can view information about
dynamic IPv6 DNS entries in the dynamic cache.
<SwitchA> display dns ipv6 dynamic-host
No
1
----End
Issue 01 (2012-03-15)
NOTE
To resolve the domain name, you also need to configure the route from Switch A to the IPv6 DNS server.
For details of how to configure the route, see Configuration example of IP static route in the
S9300&S9300E Terabit Routing Switch Configuration Guide - IP Routing.
Reply from 2002::1: bytes=56 Sequence=1 ttl=126 time=6 ms
Reply from 2002::1: bytes=56 Sequence=2 ttl=126 time=4 ms
Reply from 2002::1: bytes=56 Sequence=3 ttl=126 time=4 ms
Reply from 2002::1: bytes=56 Sequence=4 ttl=126 time=4 ms
Reply from 2002::1: bytes=56 Sequence=5 ttl=126 time=4 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/4/6 ms
Age
0
0
Domain-name
huawei.com
NOTE
TTL in the command output indicates the life time of the entry, in seconds.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
data bytes, press CTRL_C to break
Flags
IPv6Address (es)
static
2001::2
static
2002::3
Ipv6address
2002::1
10 IPv6 DNS Configuration
TTL
3579
179

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents