R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference
113
Related commands
dns proxy enable
ipv6 host
Use ipv6 host to create a host name-to-IPv6 address mapping.
Use undo ipv6 host to remove a mapping.
Syntax
ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ]
undo ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ]
Default
No mappings are created.
Views
System view
Predefined user roles
network-admin
Parameters
host-name: Specifies a host name. It is a dot-separated case-insensitive string including letters, digits,
hyphens (-), underscores (_), and dots (.) (for example, aabbcc.com). The host name can contain at most
253 characters, and each separated string contains no more than 63 characters.
ipv6-address: Specifies the IPv6 address of the host.
vpn-instance vpn-instance-name: Specifies the name of an MPLS L3VPN, a case -sensitive string of 1 to 31
characters. To create a host name-to-IPv6 address mapping on the public network, do not use this option.
Usage guidelines
You can configure host name-to-IPv6 address mappings for the public network and up to 1024 VPNs,
and configure a maximum of 1024 host name-to-IPv6 address mappings for the public network or each
VPN.
For the public network or a VPN, each host name maps to only one IPv6 address. If you use the command
multiple times, the most recent configuration takes effect.
Examples
# Map IPv6 address 2001::1 to host name aaa on the public network.
<Sysname> system-view
[Sysname] ipv6 host aaa 2001::1
Related commands
ip host










