I am trying to add a static default route on Ex-4500 with JunOS 12.3R3.4.
I have executed the following command
set routing-options rib inet6.0 static route ::/0 next-hop fe80::172:25:25:1
but when I have tried to commit the configuration I got the following message
RT: link-local next-hop must be configured with an interface using qualified-next-hop
then I did
set routing-options rib inet6.0 static route ::/0 qualified next-hop fe80::172:25:25:1 interface xe-0/0/37.0
same error message with commit command
The ipv6 route for the link-local address is
fe80::172:25:25:0/126 *[Direct/0] 2w6d 00:20:37 > via xe-0/0/37.0fe80::172:25:25:2/128 *[Local/0] 2w6d 00:20:37 Local via xe-0/0/37.0
Any suggestion to solve this issue is appreciated.
Thanks and best regard
Can you try in higher release?
test# set routing-options rib inet6.0 static route ::/0 next-hop fe80::172:25:25:2test# commit re0: [edit routing-options rib inet6.0 static route ::/0] 'next-hop fe80::172:25:25:2' RT: link-local next-hop must be configured with an interface using qualified-next-hoperror: configuration check-out failed
set routing-options rib inet6.0 static route ::/0 qualified-next-hop fe80::172:25:25:2 interface ge-0/1/7.0
#run show route table inet6.0
inet6.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
::/0 *[Static/5] 00:08:44 > to fe80::172:25:25:2 via ge-0/1/7.0fe80::172:25:25:0/126 *[Direct/0] 00:09:59 > via ge-0/1/7.0fe80::172:25:25:1/128 *[Local/0] 00:09:59 Local via ge-0/1/7.0ff02::2/128 *[INET6/0] 1w0d 03:11:04 MultiRecv
Thank you for the answer.
The command with "qualified-next-hop" worked also for me.
I guess, yesterday, I have executed the command in not clean configuration due to the previous "static route .... next-hop" command.