11 ipv6 nd prefix, 12 ipv6 neighbor – Accton Technology ES4626 User Manual

Page 292

Advertising
background image

292

9.2.2.3.1.11 ipv6 nd prefix

Commandipv6 nd prefix <ipv6-prefix/prefix-length>

{ [<valid-lifetime> <preferred-lifetime>] [ no-autoconfig | off-link

[no-autoconfig] ]}

[no] ipv6 nd prefix <ipv6-prefix/prefix-length>

Function

Configure the address prefix and relative parameters for router

announcement.

Parameter

Parameter <ipv6-prefix> is the address prefix of the specified announcement,

parameter <prefix-length> is the length of the address prefix of the specified

announcement, parameter <valid-lifetime> is the valid lifetime of the prefix, parameter

<preferred-lifetime> is the preferred lifetime of the prefix, and the valid lifetime must be

no smaller than preferred lifetime. Parameter no-autoconfig says this prefix can not be

used to automatically configure IPv6 address on the host in local link. Parameter off-link

says the prefix specified by router announcement message is not assigned to local link,

the node which sends data to the address including this prefix consider local link as

unreachable.

Command Mode

Interface Configuration Mode

Default

The default value of valid-lifetime is 2592000 seconds (30 days), the default

value of preferred-lifetime is 604800 seconds (7 days). off-link is off by default,

no-autoconfig

is off by default.

Usage Guide

This command allows controlling the router announcement parameters of

every IPv6 prefix. Note that valid lifetime and preferred lifetime must be configured

simultaneously.

Example

Configure IPv6 announcement prefix as 2001:410:0:1::/64 on Vlan1, the valid

lifetime of this prefix is 8640 seconds, and its preferred lifetime is 4320 seconds.

Switch (Config-if-Vlan1)#ipv6 nd prefix 2001:410:0:1::/64 8640 4320

9.2.2.3.1.12 ipv6 neighbor

Commandipv6 neighbor <ipv6-address> <hardware-address> interface <

interface-type interface-number>

no ipv6 neighbor <ipv6-address>

Function

Set static neighbor table entry.

Parameters

Parameter ipv6-address is static neighbor IPv6 address, parameter

hardware-address

is static neighbor hardware address, interface-type is Ethernet type,

interface-number

is Layer 2 interface name.

Command Mode

Interface Configuration Mode

Default Situation

There is not static neighbor table entry.

Usage Guide

IPv6 address and multicast address for specific purpose and local address

Advertising
This manual is related to the following products: