C613-50170-01 Rev B
Command Reference for x510 Series
864
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
6 C
OMMANDS
IPV
6
ROUTE
ipv6 route
Overview
This command adds a static IPv6 route to the Routing Information Base (RIB). If this
route is the best route for the destination, then your device adds it to the
Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to
neighbors and forward packets.
The
no
variant of this command removes the static route.
Syntax
ipv6 route <
dest-prefix
> <
dest-prefix/length
>
{<
gateway-ip
>|<
gateway-name
>} [<
distvalue
>]
no ipv6 route <
dest-prefix
> <
dest-prefix/length
>
{<
gateway-ip
>|<
gateway-name
>} [<
distvalue
>]
Mode
Global Configuration
Usage
Administrative distance can be modified so static routes do not take priority over
other routes.
Example
awplus#
configure terminal
awplus(config)#
ipv6 route 2001:0db8::1/128 vlan2 32
Validation
Commands
Parameter
Description
<
dest-prefix/
length
>
Specifies the IP destination prefix.
The IPv6 address prefix uses the format X:X::/prefix-length.
The prefix-length is usually set between 0 and 64.
<
gateway-ip
>
Specifies the IP gateway (or next hop) address. The IPv6
address uses the format X:X::X:X/Prefix-Length. The
prefix-length is usually set between 0 and 64.
<
gateway-name
>
Specifies the name of the gateway (or next hop) interface.
<
distvalue
>
Specifies the administrative distance for the route. Valid
values are from 1 to 255.