Is there a method to view directly connected routes within JUNOS?.
I recall in Cisco there was 'show ip route connected' ...
You could use show route protocol direct
here is an example
labroot@vienne-re0> show route protocol direct
inet.0: 622 destinations, 629 routes (622 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
10.85.161.128/25 *[Direct/0] 1d 19:24:11> via fxp0.0[Direct/0] 1d 19:23:56> via fxp0.0184.108.40.206/30 *[Direct/0] 1d 19:21:28> via xe-0/3/0.100220.127.116.11/32 *[Direct/0] 1d 19:24:11> via lo0.018.104.22.168/31 *[Direct/0] 00:03:31> via irb.3429
Please check this tech pubs link :
You need to use the command : show route protocol protocol direct
labroot@sun-re0> show route protocol direct
inet.0: 4 destinations, 5 routes (4 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both
10.85.160.0/25 *[Direct/0] 3w0d 06:38:37> via fxp0.0[Direct/0] 3w0d 06:38:32> via fxp0.0
© 1999 - 2019 Juniper Networks, Inc.
All rights reserved