display ipv6 host

Function

The display ipv6 host command displays static DNS entries.

Format

display ipv6 host [ vpn-instance vpn-name ]

Parameters

Parameter Description Value
vpn-instance vpn-name

Specifies the VPN to be displayed.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dns read

Usage Guidelines

Usage Scenario

After configuring static DNS entries, run the display ipv6 host command to check whether the mapping between host names and IPv6 addresses is correct.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the mappings between the domain names and IPv6 addresses in the VPN named vpn1.
<HUAWEI> display ipv6 host vpn-instance vpn1
Host          Age       Flags           Address
hw              0       static          2001:db8::1
# Display static DNS entries.
<HUAWEI> display ipv6 host
Host                 Age        Flags  Address
gww                  0          static 2001:db8::2
Table 1 Description of the display ipv6 host command output
Item Description
Host

Host name.

Age

Aging time.

The value 0 indicates that an entry is a static entry and does not age.

Flags

Flags.

Static indicates a static DNS entry.

Address

IPv6 address mapped to a domain name.

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