This article provides information on how to add static routes for IPv6 under routing instances.
How to add static routes for IPv6 under routing instances.
The following setup uses a routing instance (type: Virtual Router) to add a static route for IPv6. . In this example, test is assumed as the routing instance:
root@J-4350-1# show routing-instances test instance-type virtual-router; routing-options { rib test.inet6.0 { static route 0::0/0 next-hop c:c:c:c::4; } } } root@# run show route test.inet6.0: 3 destinations, 4 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Bothc:c:c:c::2/128 *[Direct/0] 00:00:53 > via ge-0/0/0.0 [Local/0] 22:35:29 Local via ge-0/0/0.0fe80::/64 *[Direct/0] 00:00:53 > via ge-0/0/0.0fe80::b2c6:9aff:fe8a:c00/128 *[Local/0] 22:35:29 Local via ge-0/0/0.0
root@J-4350-1# show routing-instances test instance-type virtual-router; routing-options { rib test.inet6.0 { static route 0::0/0 next-hop c:c:c:c::4; } } }
root@# run show route test.inet6.0: 3 destinations, 4 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Bothc:c:c:c::2/128 *[Direct/0] 00:00:53 > via ge-0/0/0.0 [Local/0] 22:35:29 Local via ge-0/0/0.0fe80::/64 *[Direct/0] 00:00:53 > via ge-0/0/0.0fe80::b2c6:9aff:fe8a:c00/128 *[Local/0] 22:35:29 Local via ge-0/0/0.0