13 ipv6 route, 13 ipv6 route -179 – PLANET XGS3-24042 User Manual

Page 333

Advertising
background image

19-179

length of IPv6 address, which is between 3-128, eui-64 means IPv6 address is generated

automatically based on eui64 interface identifier of the interface.

Command Mode:

Interface Configuration Mode.

Usage Guide:

IPv6 address prefix can not be multicast address or any other specific IPv6 address, and different

layer 3 interfaces can not configure the same address prefix. For global unicast address, the length

of the prefix must be greater than or equal to 3. For site-local address and link-local address, the

length of the prefix must be greater than or equal to 10. For interface loopback port, the length of the

prefix must be equaled to 128.

Example:

Configure an IPv6 address on VLAN1 Layer 3 interface: the prefix is 2001:3f:ed8::99 and the length

of the prefix is 64.

Switch(Config-if-Vlan1)#ipv6 address 2001:3f:ed8::99/64

19.2.13 ipv6 route

Command:

ipv6 route <ipv6-prefix | prefix-length> {<ipv6address> | <interface-type interface-number> |

{<ipv6address> <interface-type interface-number>} | tunnel <tunnel no> } [<precedence>]

no ipv6 route <ipv6-prefix | prefix-length> {<ipv6address> | <interface-type

interface-number> | {<ipv6address> <interface-type interface-number>} | tunnel <tunnel no> }

[<precedence>]

Function:

Set IPv6 static route.

Parameters:

Parameter <ipv6-prefix> is the destination prefix of IPv6 static route, parameter <prefix-length> is

the length of IPv6 prefix, parameter <ipv6-address> is the next hop IPv6 address of the reachable

network, parameter <interface-type interface-number> is the name of interface from which to

reach the destination, <tunnel no> is the output tunnel number of the tunnel route, parameter

<precedence> is the weight of this route, the range is 1-255, the default is 1

Default:

There is not any IPv6 static route which is configured by default.

Command Mode:

Global Mode

Usage Guide:

When the next hop IPv6 address is link-local address, the interface name must be specified. When

Advertising
This manual is related to the following products: