ipv6 route (for VRF)

Configure a static route to destination IPv6 address prefixes. Use this command to:

Syntax

Command Parameters

cost <1-65535>
Specifies the cost or distance ratio to reach the destination for this node. The default cost is 1.
enable
Enables the static route on the port. The default state for a new static route is enable.
next-hop WORD<0-46>
Specifies the IPv6 address of the next hop on this route. You do not need to specify the next hop if the devices directly connect to one another. Configure the next hop if the two nodes do not share the same network prefix but reside on the same link.
port {slot/port[/sub-port]}
Specifies the port to which this entry applies. You must specify the port if the next hop is a link-local address.
preference <1-255>
Specifies the routing preference of the destination IPv6 address. The default preference is 5.
vlan <1-4059>
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. If you enable VRF scaling and SPBM mode, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.
WORD<0-46>
Specifies the IPv6 destination network address.

Default

The default state for a new static route is enable.

Command Mode

VRF Router Configuration