12 ipv6 redirect – PLANET XGS3-24040 User Manual

Page 255

Advertising
background image

17-13

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

the next hop IPv6 address is global aggregatable unicast address and site-local address, if no

interface name of the exit is specified, it must be assured that the IP address of the next hop and the

address of some interface of the switch must be in the same network segment. As for tunnel route,

interface name can be directly specified.

Example:

Configure static route 1 with destination address 3ffe:589:dfc::88, prefix length 64 and next hop

2001:8fd:c32::99 (the router has been configured IPv6 address of 2001:8fd:c32::34/64).

Switch(config)#ipv6 route 3ffe:589:dfc::88/64 2001:8fd:c32::99

Configure static route 2 with destination 3ffe:ff7:123::55, prefix length 64, next hop

fe80::203:ff:89fd:46ac and exit interface name Vlan1.

Switch(config)#ipv6 route 3ffe:ff7:123::55/64 fe80::203:ff:89fd:46ac Vlan1

17.2.12 ipv6 redirect

Command:

ipv6 redirect

no ipv6 redirect

Function:

Enable IPv6 router redirect function. The no operation of this command will disable the function.

Parameters:

None.

Command Mode:

Global Configuration Mode.

Default Settings:

IPv6 router redirect function is disabled by default.

Advertising