O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.4. Displaying the Routes in the Forwarding Table

Problem

You want to see the routes that RPD has installed in the forwarding table and that the router is actually using to forward packets.

Solution

Use the show route forwarding-table command to see the active routes in the Routing Engine's forwarding table:

	aviva@RouterA>  
show route forwarding-table Routing table: inet Internet: Destination Type RtRef Next hop Type Index NhRef Netif default user 1 0:10:db:ff:20:80 ucst 335 3 fe-0/0/0.0 default perm 0 rjct 14 1 10.17.214.0/26 intf 0 rslv 329 1 fe-0/0/1.0 10.17.214.0/32 dest 0 10.17.214.0 recv 327 1 fe-0/0/1.0 10.17.214.27/32 intf 0 10.17.214.27 locl 328 2 10.17.214.27/32 dest 0 10.17.214.27 locl 328 2 10.17.214.63/32 dest 0 10.17.214.63 bcst 320 1 fe-0/0/1.0 172.19.121.0/24 intf 0 rslv 326 1 fe-0/0/0.0 172.19.121.0/32 dest 0 172.19.121.0 recv 324 1 fe-0/0/0.0 172.19.121.1/32 dest 0 0:10:db:ff:20:80 ucst 335 3 fe-0/0/0.0 172.19.121.113/32 intf 0 172.19.121.113 locl 325 2 172.19.121.113/32 dest 0 172.19.121.113 locl 325 2 172.19.121.142/32 dest 0 0:5:85:ca:dd:60 ucst 336 1 fe-0/0/0.0 172.19.121.255/32 dest 0 172.19.121.255 bcst 323 1 fe-0/0/0.0 192.168.10.7/32 intf 0 192.168.10.7 locl 330 1 224.0.0.0/4 perm 0 mdsc 13 1 224.0.0.1/32 perm 0 224.0.0.1 mcst 9 1 255.255.255.255/32 perm 0 bcst 10 1 Routing table: __juniper_private1__.inet Internet: Destination Type RtRef Next hop Type Index NhRef Netif default perm 0 rjct 46 1 10.0.0.1/32 intf 1 10.0.0.1 locl 321 2 10.0.0.16/32 intf 0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required