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

15.2. Viewing the VPN Routing Tables

Problem

You want to check the routing tables on the PE routers to determine that they contain all the expected routes.

Solution

The show route command displays the contents of all routing tables on the PE router:

	aviva@RouterG> show route
	inet.0: 12 destinations, 13 routes (12 active, 0 holddown, 0 hidden)
	+ = Active Route, - = Last Active, * = Both
	0.0.0.0/0          *[Static/5] 1w1d 21:04:56
	                    > to 172.19.121.1 via fe-0/0/0.0
	10.0.0.0/24        *[Direct/0] 3d 02:34:48
	                    > via t1-4/0/0.0
	                    [OSPF/10] 00:40:32, metric 65
	                    > via t1-4/0/0.0
	10.0.0.1/32        *[Local/0] 3d 02:40:27
	                      Local via t1-4/0/0.0
	10.0.1.0/24        *[Direct/0] 00:40:32
	                    > via fe-1/0/1.0
	10.0.1.2/32        *[Local/0] 00:40:32
	                      Local via fe-1/0/1.0
	10.0.8.0/24        *[OSPF/10] 00:40:32, metric 66
	                    > via t1-4/0/0.0
	172.19.121.0/24    *[Direct/0] 1w1d 21:04:56
	                    > via fe-0/0/0.0
	172.19.121.119/32  *[Local/0] 5w1d 21:55:41
	                      Local via fe-0/0/0.0
	192.168.16.1/32    *[OSPF/10] 00:40:32, metric 66
	                    > via t1-4/0/0.0
	192.168.17.1/32    *[OSPF/10] 00:40:32, metric 65
	                    > via t1-4/0/0.0
	192.168.19.1/32    *[Direct/0] 3d 02:40:27
	                    > via lo0.0
	224.0.0.5/32       *[OSPF/10] 1d 20:46:09, metric 1
	                      MultiRecv

	inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
	+ = Active Route, - = Last Active, * = Both

	192.168.16.1/32    *[RSVP/7] 1d 17:45:11, metric 66
	                    > via t1-4/0/0.0, label-switched-path RouterG-PE-to-RouterF-PE
	__juniper_private1__.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.0.0.1/32 *[Direct/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