You are here: Home > CLI Commands > Just_CLI_Topics > ipv6 route

ipv6 route

ipv6 route {X:X:X:X::X/<0-128>}|ipv6-next-hop|null|vlan[vlanid]|link-local-next-hop}|cost

Description

This command configures static IPv6 routes on the managed device.

Syntax

Parameter

Description

X:X:X:X::X/<0-128>

Specify the IPv6 address and the prefix length of the destination.

<ipv6-next-hop>

Specify the next-hop IPv6 address or null 0 to terminate or discard the packets. Listed below are the following options:

X:X:X:X::X-IPv6 address of next-hop. The address should only be a Global IPv6 address.

null-Null interface

vlanVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.-VlanVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. for link local for next-hop

<vlanid>-VlanVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.-id for link local next-hop

X:X:X:X::X-IPv6 link local address of next-hop

<cost>

Specify the distance metric to select the routing protocol that determines the way to learn the route.

Usage Guidelines

You can configure static IPv6 routes on the managed device.

Example

The following command configures a static IPv6 route on the managed device:

(host) [/md/X.X.X.X.X.X] (config) #ipv6 route 2cce:205:160:100::/<64> 2001:205:160:100::ff 1

(host) [/md/X.X.X.X.X.X] (config) #ipv6 route 2000:eab::/64 vlan 1 fe80::1a:1e00:a00:9f0

The following example displays the use of extended scope of address range:

(host) [/md/X.X.X.X.X.X] (config) #ipv6 route 2002::/64 2004::2

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

Available on all platforms

Available in the base operating system.

Config mode on Mobility Master.

/*]]>*/