05-Layer 3 - IP Services Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10305-Layer 3 - IP Services Command Reference
11-IPv6 DNS Commands
Title Size Download
11-IPv6 DNS Commands 61.94 KB

 

display dns ipv6 server

Syntax

display dns ipv6 server [ dynamic ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

dynamic: Displays IPv6 DNS server information acquired dynamically through DHCP or other protocols.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display dns ipv6 server command to display IPv6 DNS server information.

Examples

# Display IPv6 DNS server information.

<Sysname> display dns ipv6 server

 Type:

  D:Dynamic    S:Static

 

DNS Server  Type  IPv6 Address                                  (Interface Name)

     1        S      1::1

     2        S      FE80:1111:2222:3333:4444:5555:6666:7777  Vlan2

Table 1 Output description

Field

Description

DNS Server

Sequence number of the DNS server, which is assigned automatically by the system, starting from 1.

Type

Type of the DNS server: “S” represents a statically configured DNS server, and “D” represents a DNS server obtained dynamically through DHCP or other protocols.

IPv6 Address

IPv6 address of the DNS server.

Interface Name

Interface name, which is available only for a DNS server with an IPv6 link-local address configured.

 

display ipv6 host

Syntax

display ipv6 host [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display ipv6 host command to display the mappings between host names and IPv6 addresses in the static domain name resolution table.

Related commands: ipv6 host.

Examples

# Display the mappings between host names and IPv6 addresses in the static domain name resolution table.

<Sysname> display ipv6 host

Host                 Age           Flags           IPv6Address

aaa                  0             static           2002::1

bbb                  0             static           2002::2

Table 2 Output description

Field

Description

Host

Host name.

Age

Time for the entry to live. “0” is displayed in the case of static configuration.

Flags

Type of the mapping. Static indicates a static mapping.

IPv6Address

IPv6 address of a host.

 

dns server ipv6

Syntax

dns server ipv6 ipv6-address [ interface-type interface-number ]

undo dns server ipv6 ipv6-address [ interface-type interface-number ]

View

System view

Default level

2: System level

Parameters

ipv6-address: IPv6 address of a DNS server.

interface-type interface-number: Specifies an interface. When the IPv6 address of the DNS server is a link-local address, the two arguments must be specified.

Description

Use the dns server ipv6 command to specify a DNS server.

Use the undo dns server ipv6 command to remove the specified DNS server.

By default, no DNS server is configured.

You can configure a maximum of six DNS servers, including those with IPv4 addresses.

Examples

# Specify a DNS server at 2002::1.

<Sysname> system-view

[Sysname] dns server ipv6 2002::1

ipv6 host

Syntax

ipv6 host hostname ipv6-address

undo ipv6 host hostname [ ipv6-address ]

View

System view

Default level

2: System level

Parameters

hostname: Host name, a string of up to 255 characters. The character string can contain letters, numbers, underscores (_), hyphens (-), or dots (.) and must contain at least one letter.

ipv6-address: IPv6 address.

Description

Use the ipv6 host command to configure a mapping between host name and IPv6 address.

Use the undo ipv6 host command to remove a mapping between host name and IPv6 address.

No mappings are created by default.

Each host name can correspond to only one IPv6 address. The IPv6 address you last assign to the host name will overwrite the previous one if there is any.

Related commands: display ipv6 host.

Examples

# Configure the mapping between a host name and an IPv6 address.

<Sysname> system-view

[Sysname] ipv6 host aaa 2001::1

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网