< Home

display ipv6 host

Function

The display ipv6 host command displays the IPv6 static DNS entries.

Format

display ipv6 host [ vpn-instance vpn-instance-name | all ]

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Displays IPv6 static DNS entries of a specified VPN instance.

The value must be an existing VPN instance name.

all

Displays all IPv6 static DNS entries, including both public and private static DNS entries.

NOTE:

If neither vpn-instance vpn-instance-name nor all is specified, only public IPv6 static DNS entries are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After running the ipv6 host command to configure IPv6 static DNS entries, you can run this command to check whether mappings between host names and IPv6 addresses are correct.

Example

# Display IPv6 static DNS entries.

<HUAWEI> display ipv6 host
Host                 Age       Flags           IPv6Address(es)
www.huawei.com       0         static          FC00:1::8   
www.sohu.com         0         static          FC00:1::9   

# Display IPv6 static DNS entries of the VPN instance vpn1.

<HUAWEI> display ipv6 host vpn-instance vpn1
Host           Age        Flags       IPv6Address(es)         VPN-Instance
RTB            0          static      2001:db8::1             vpn1
Table 1 Description of the display ipv6 host command output

Item

Description

Host

Host name.

The value is set using the ipv6 host command.

Age

Aging time. The value 0 indicates that the entry is not aged out.

Flags

Identifiers. The value static indicates a static domain name.

IPv6Address(es)

IPv6 address mapping the domain name.

The value is set using the ipv6 host command.

VPN-Instance

VPN instance name.

The value is set using the ipv6 host command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >