beautypg.com

Ipv6 host, Ipv6 neighbor, Ipv6 host ipv6 neighbor – Allied Telesis AT-S95 CLI User Manual

Page 151

background image

IPv6 Addressing Commands

Page 151

ipv6 host

The ipv6 host Global Configuration mode command defines a static host name-to-address mapping in the host
name cache. Use the no form of this command to remove the host name-to-address mapping.

Syntax

ipv6 host name ipv6-address1 [ipv6-address2…ipv6-address4]

no ipv6 host name

Parameters

name — Name of the host. (Range: 1 - 158 characters)

ipv6-address1 — Associated IPv6 address. The address is specified in hexadecimal using 16-bit values

between colons. When the IPv6 address is a Link-Local address (IPv6Z address), the outgoing interface
name must be specified. Refer to the usage guidelines for the interface name syntax.

ipv6-address2–4 (optional) — Additional IPv6 addresses that may be associated with the host name.

Default Configuration

No host is defined.

Command Mode

Global Configuration mode.

User Guidelines

The IPv6Z address format: <ipv6-link-local-address>%<interface-name>

interface-namevlan<integer> | ch<integer> | isatap<integer> | <physical-port-name> | 0

integer — <decimal-number> | <integer><decimal-number>

decimal-number — 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

physical-port-name — Designated port number, for example e1.

Example

The following example defines a static host name-to-address mapping in the host name cache.

ipv6 neighbor

The ipv6 neighbor Global Configuration mode command configures a static entry in the IPv6 neighbor discovery
cache. Use the no form of this command to remove a static IPv6 entry from the IPv6 neighbor discovery cache.

Syntax

ipv6 neighbor ipv6_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel number}

no ipv6 neighbor ipv6_addr {ethernet interface-number | vlan vlan-id | port-channel number}

console(config)# ipv6 host ABC fe80::11 fe80::22