root@olive1> show configuration ## Last commit: 2009-08-01 13:25:56 UTC by root version 8.5R1.14; system { root-authentication { encrypted-password "$1$QMUQmbNW$AXTPc.NdEe0olxI1.4nrC."; ## SECRET-DATA } services { ssh; } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } interfaces { em0 { unit 0 { family inet { address 172.16.24.1/30; } family mpls; } } em1 { vlan-tagging; unit 30 { vlan-id 30; family inet { address 192.168.30.1/24; } family mpls; } unit 40 { vlan-id 40; family inet { address 192.168.40.1/30; } family mpls; } unit 50 { vlan-id 50; family inet { address 192.168.50.1/30; } family mpls; } } em4 { unit 0 { family inet { address 192.168.255.1/24; } } } lo0 { unit 0 { family inet { address 192.168.1.2/32; } } } } routing-options { rib-groups { group1 { import-rib [ telenor.inet.0 inet.0 ]; } } autonomous-system 64512; } protocols { mpls { interface all; } bgp { local-address 192.168.1.2; group internal { type internal; family inet-vpn { unicast; } neighbor 192.168.2.2; } } ospf { area 0.0.0.0 { interface lo0.0; interface em0.0; interface em1.30; } } ldp { interface all; } } routing-instances { telenor { instance-type vrf; interface em1.40; interface em1.50; route-distinguisher 64512:16; vrf-target target:64512:16; vrf-table-label; routing-options { interface-routes { rib-group inet group1; } static { rib-group group1; route 0.0.0.0/0 next-table inet.0; } } } } root@olive1> show configuration telenor.inet.0 ^ syntax error. root@olive1> show route table telenor.inet.0 telenor.inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 00:10:16 to table inet.0 [BGP/170] 00:06:24, localpref 100, from 192.168.2.2 AS path: I > to 172.16.24.2 via em0.0, Push 16 172.16.40.0/30 *[BGP/170] 00:10:16, localpref 100, from 192.168.2.2 AS path: I > to 172.16.24.2 via em0.0, Push 16 172.16.50.0/30 *[BGP/170] 00:10:16, localpref 100, from 192.168.2.2 AS path: I > to 172.16.24.2 via em0.0, Push 16 192.168.40.0/30 *[Direct/0] 02:19:01 > via em1.40 192.168.40.1/32 *[Local/0] 02:19:01 Local via em1.40 192.168.50.0/30 *[Direct/0] 01:54:08 > via em1.50 192.168.50.1/32 *[Local/0] 01:54:08 Local via em1.50 root@olive1> show route table inet.0 inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 00:10:28 to table inet.0 172.16.24.0/30 *[Direct/0] 02:48:20 > via em0.0 172.16.24.1/32 *[Local/0] 02:48:20 Local via em0.0 172.16.30.0/24 *[OSPF/10] 00:17:21, metric 2 > to 172.16.24.2 via em0.0 192.168.1.2/32 *[Direct/0] 02:40:33 > via lo0.0 192.168.2.2/32 *[OSPF/10] 00:17:21, metric 1 > to 172.16.24.2 via em0.0 192.168.30.0/24 *[Direct/0] 02:45:00 > via em1.30 192.168.30.1/32 *[Local/0] 02:45:00 Local via em1.30 192.168.40.0/30 *[Direct/0] 00:12:21 > via em1.40 192.168.40.1/32 *[Local/0] 00:10:28 Local via em1.40 192.168.50.0/30 *[Direct/0] 00:12:21 > via em1.50 192.168.50.1/32 *[Local/0] 00:10:28 Local via em1.50 192.168.255.0/24 *[Direct/0] 00:26:35 > via em4.0 192.168.255.1/32 *[Local/0] 00:26:35 Local via em4.0 224.0.0.5/32 *[OSPF/10] 02:41:04, metric 1 MultiRecv root@olive1> ssh 192.168.2.2 root@192.168.2.2's password: --- JUNOS 8.5R1.14 built 2007-12-08 07:38:33 UTC root@r2% cli root@r2> show configuration ## Last commit: 2009-08-05 07:33:22 UTC by root version 8.5R1.14; system { root-authentication { encrypted-password "$1$sGAMWz7t$OWYe8w1LUbNXD9JsESv1g0"; ## SECRET-DATA } services { ssh; telnet; } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } interfaces { em0 { unit 0 { family inet { address 172.16.24.2/30; } family mpls; } } em1 { vlan-tagging; unit 30 { vlan-id 30; family inet { address 172.16.30.1/24; } family mpls; } unit 40 { vlan-id 40; family inet { address 172.16.40.1/30; } family mpls; } unit 50 { vlan-id 50; family inet { address 172.16.50.1/30; } family mpls; } } lo0 { unit 0 { family inet { address 192.168.2.2/32; } } } } routing-options { rib-groups { group1 { import-rib [ telenor.inet.0 inet.0 ]; } } autonomous-system 64512; } protocols { mpls { interface all; } bgp { local-address 192.168.2.2; group internal { type internal; neighbor 192.168.1.2 { family inet-vpn { unicast; } } } } ospf { area 0.0.0.0 { interface lo0.0; interface em0.0; interface em1.30; } } ldp { interface all; } } routing-instances { telenor { instance-type vrf; interface em1.40; interface em1.50; route-distinguisher 64512:16; vrf-target target:64512:16; vrf-table-label; routing-options { interface-routes { rib-group inet group1; } static { rib-group group1; route 0.0.0.0/0 next-table inet.0; } } } } root@r2> show route table telenor.inet.0 telenor.inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 00:03:51 to table inet.0 [BGP/170] 00:03:51, localpref 100, from 192.168.1.2 AS path: I > to 172.16.24.1 via em0.0, Push 16 172.16.40.0/30 *[Direct/0] 01:57:52 > via em1.40 172.16.40.1/32 *[Local/0] 01:57:52 Local via em1.40 172.16.50.0/30 *[Direct/0] 01:57:52 > via em1.50 172.16.50.1/32 *[Local/0] 01:57:52 Local via em1.50 192.168.40.0/30 *[BGP/170] 00:03:51, localpref 100, from 192.168.1.2 AS path: I > to 172.16.24.1 via em0.0, Push 16 192.168.50.0/30 *[BGP/170] 00:03:51, localpref 100, from 192.168.1.2 AS path: I > to 172.16.24.1 via em0.0, Push 16 root@r2> show route table inet.0 inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 00:04:01 to table inet.0 172.16.24.0/30 *[Direct/0] 02:18:39 > via em0.0 172.16.24.2/32 *[Local/0] 02:18:39 Local via em0.0 172.16.30.0/24 *[Direct/0] 02:13:43 > via em1.30 172.16.30.1/32 *[Local/0] 02:13:43 Local via em1.30 172.16.40.0/30 *[Direct/0] 00:04:01 > via em1.40 172.16.40.1/32 *[Local/0] 00:04:01 Local via em1.40 172.16.50.0/30 *[Direct/0] 00:04:01 > via em1.50 172.16.50.1/32 *[Local/0] 00:04:01 Local via em1.50 192.168.1.2/32 *[OSPF/10] 02:11:20, metric 1 > to 172.16.24.1 via em0.0 192.168.2.2/32 *[Direct/0] 02:19:19 > via lo0.0 192.168.30.0/24 *[OSPF/10] 02:11:20, metric 2 > to 172.16.24.1 via em0.0 224.0.0.5/32 *[OSPF/10] 02:11:30, metric 1 MultiRecv root@r2> run ^ unknown command. root@r2> ping count 5 routing-instance telenor.inet.0 192.168.40.1 ping: invalid routing instance `telenor.inet.0' root@r2> ping count 5 routing-instance telenor 192.168.40.1 PING 192.168.40.1 (192.168.40.1): 56 data bytes 64 bytes from 192.168.40.1: icmp_seq=0 ttl=64 time=113.292 ms 64 bytes from 192.168.40.1: icmp_seq=1 ttl=64 time=1.386 ms 64 bytes from 192.168.40.1: icmp_seq=2 ttl=64 time=0.981 ms 64 bytes from 192.168.40.1: icmp_seq=3 ttl=64 time=0.902 ms 64 bytes from 192.168.40.1: icmp_seq=4 ttl=64 time=1.216 ms --- 192.168.40.1 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.902/23.555/113.292/44.869 ms root@r2> ping count 5 routing-instance telenor 192.168.30.1 PING 192.168.30.1 (192.168.30.1): 56 data bytes --- 192.168.30.1 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss