juniper@R2# set routing-instances VR instance-type v ^ 'v' is ambiguous. Possible completions: virtual-router Virtual routing instance vpls VPLS routing instance vrf Virtual routing forwarding instance juniper@R2# set routing-instances VR instance-type virtual-router [edit] juniper@R2# set routing-instances VR interface ge-0/0/0 [edit] juniper@R2# edit routing-instances VR [edit routing-instances VR] juniper@R2# set pro ^ 'pro' is ambiguous. Possible completions: > protocols Routing protocol configuration > provider-tunnel Provider tunnel configuration juniper@R2# set pro ^ 'pro' is ambiguous. Possible completions: > protocols Routing protocol configuration > provider-tunnel Provider tunnel configuration juniper@R2# set protocols ospf area 0 interface ge-0/0/0 [edit routing-instances VR] juniper@R2# show | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 [edit routing-instances VR] juniper@R2# top [edit] juniper@R2# set routing-instances VR st ^ syntax error. juniper@R2# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 12.1.1.2/24 set interfaces ge-0/0/3 unit 0 family inet address 192.168.128.145/24 [edit] juniper@R2# set interfaces ge-0/0/1 unit 0 family inet address 23.1.1.2/24 [edit] juniper@R2# set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 [edit] juniper@R2# commit commit complete [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# set policy-options ? Possible completions: + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > as-path BGP autonomous system path regular expression > as-path-group Group a set of AS paths > community BGP community information > condition Define a route advertisement condition > damping BGP route flap damping properties > policy-statement Routing policy > prefix-list Define a named set of address prefixes [edit] juniper@R2# set policy-options policy-statement OSPF ? Possible completions: + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups dynamic-db Object may exist in dynamic database > from Conditions to match the source of a route > term Policy term > then Actions to take if 'from' and 'to' conditions match > to Conditions to match the destination of a route [edit] juniper@R2# set policy-options policy-statement OSPF from statpro ^ syntax error. juniper@R2# set policy-options policy-statement OSPF from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF teh ^ syntax error. juniper@R2# set policy-options policy-statement OSPF tehex ^ syntax error. juniper@R2# delete policy-options [edit] juniper@R2# set policy-options policy-statement OSPF term 1 m ^ syntax error. juniper@R2# set policy-options policy-statement OSPF term 1 mpro ^ syntax error. juniper@R2# set policy-options policy-statement OSPF term 1 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then external type 1 me ^ syntax error. juniper@R2# set policy-options policy-statement OSPF term 1 then external me ^ syntax error. juniper@R2# set policy-options policy-statement OSPF term 1 then metric 11 [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact [edit] juniper@R2# show pl ^ syntax error. juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# show routing-instances | display set | match 1.1.1 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 [edit] juniper@R2# set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 [edit] juniper@R2# show | display set | match static set policy-options policy-statement OSPF term 1 from protocol static set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 [edit] juniper@R2# commit commit complete [edit] juniper@R2# run show route inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 23.1.1.2/32 *[Local/0] 00:05:24 Reject 192.168.128.0/24 *[Direct/0] 00:10:24 > via ge-0/0/3.0 192.168.128.145/32 *[Local/0] 00:10:24 Local via ge-0/0/3.0 VR.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.1.1.0/24 *[OSPF/10] 00:00:27, metric 2 > to 12.1.1.1 via ge-0/0/0.0 12.1.1.0/24 *[Direct/0] 00:05:24 > via ge-0/0/0.0 12.1.1.2/32 *[Local/0] 00:05:24 Local via ge-0/0/0.0 224.0.0.5/32 *[OSPF/10] 00:05:24, metric 1 MultiRecv [edit] juniper@R2# runs ^ unknown command. juniper@R2# runsh ^ unknown command. juniper@R2# runshin ^ unknown command. juniper@R2# run show interfaces terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up inet 12.1.1.2/24 gr-0/0/0 up up ip-0/0/0 up up ls-0/0/0 up up lt-0/0/0 up up mt-0/0/0 up up pd-0/0/0 up up pe-0/0/0 up up ge-0/0/1 up down ge-0/0/1.0 up down inet 23.1.1.2/24 ge-0/0/2 up up ge-0/0/3 up up ge-0/0/3.0 up up inet 192.168.128.145/24 dsc up up gre up up ipip up up lo0 up up lo0.16384 up up inet 127.0.0.1 --> 0/0 lo0.16385 up up inet 10.0.0.1 --> 0/0 10.0.0.16 --> 0/0 128.0.0.1 --> 0/0 128.0.1.16 --> 0/0 inet6 fe80::205:86ff:fe71:1400 lo0.32768 up up lsi up up mtun up up pimd up up pime up up pp0 up up st0 up up tap up up vlan up up [edit] juniper@R2# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 12.1.1.2/24 set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.2/24 set interfaces ge-0/0/1 unit 0 family inet address 23.1.1.2/24 set interfaces ge-0/0/3 unit 0 family inet address 192.168.128.145/24 [edit] juniper@R2# replace pattern ? Possible completions: Regular expression that matches value to be replaced [edit] juniper@R2# replace pattern ge-0/0/1 with ge-0/0/2 [edit] juniper@R2# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 12.1.1.2/24 set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.2/24 set interfaces ge-0/0/2 unit 0 family inet address 23.1.1.2/24 set interfaces ge-0/0/3 unit 0 family inet address 192.168.128.145/24 set interfaces lo0 unit 0 family inet address 2.2.2.2/32 [edit] juniper@R2# commit commit complete [edit] juniper@R2# delete interfaces lo0 [edit] juniper@R2# commit commit complete [edit] juniper@R2# exit Exiting configuration mode juniper@R2> configure Entering configuration mode Users currently editing the configuration: juniper terminal d0 (pid 10021) on since 2011-06-02 10:03:19 HKT, idle 05:32:58 [edit] juniper terminal p0 (pid 10751) on since 2011-06-02 15:35:37 HKT, idle 00:01:21 [edit] [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# show | display set | match ospf set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 [edit] juniper@R2# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 12.1.1.2/24 set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.2/24 set interfaces ge-0/0/2 unit 0 family inet address 23.1.1.2/24 set interfaces ge-0/0/3 unit 0 family inet address 192.168.128.145/24 [edit] juniper@R2# delete interfaces ge-0/0/0 unit 0 family inet address 10.1.1.2/24 [edit] juniper@R2# commit commit complete [edit] juniper@R2# exit Exiting configuration mode juniper@R2> configure exclusive warning: uncommitted changes will be discarded on exit Entering configuration mode Users currently editing the configuration: juniper terminal d0 (pid 10021) on since 2011-06-02 10:03:19 HKT, idle 05:34:00 [edit] juniper terminal p0 (pid 10751) on since 2011-06-02 15:35:37 HKT, idle 00:02:23 [edit] [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# show routing-instances \ d services [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 [edit] juniper@R2# set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# commit commit complete [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# set routing-instances VR pro ^ 'pro' is ambiguous. Possible completions: > protocols Routing protocol configuration > provider-tunnel Provider tunnel configuration juniper@R2# set routing-instances VR proos ^ syntax error. juniper@R2# set routing-instances VR proos ^ syntax error. juniper@R2# set routing-instances VR prto ^ syntax error. juniper@R2# set routing-instances VR pro ^ 'pro' is ambiguous. Possible completions: > protocols Routing protocol configuration > provider-tunnel Provider tunnel configuration juniper@R2# set routing-instances VR protocols ospf ex ^ 'ex' is ambiguous. Possible completions: + export Export policy external-preference Preference of external routes juniper@R2# set routing-instances VR protocols ospf ex ^ 'ex' is ambiguous. Possible completions: + export Export policy external-preference Preference of external routes juniper@R2# set routing-instances VR protocols ospf ex ^ 'ex' is ambiguous. Possible completions: + export Export policy external-preference Preference of external routes juniper@R2# set routing-instances VR protocols ospf ex ^ 'ex' is ambiguous. Possible completions: + export Export policy external-preference Preference of external routes juniper@R2# set routing-instances VR protocols ospf ex ^ 'ex' is ambiguous. Possible completions: + export Export policy external-preference Preference of external routes juniper@R2# set routing-instances VR protocols ospf export OSPF [edit] juniper@R2# commit commit complete [edit] juniper@R2# show o ^ syntax error. juniper@R2# show o| ^ syntax error. juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# run show ospf database instance VR OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router 1.1.1.1 1.1.1.1 0x80000005 271 0x22 0x7567 48 Router 10.1.1.1 10.1.1.1 0x8000000e 170 0x22 0x9c25 48 Router 10.1.1.2 10.1.1.2 0x8000000c 262 0x22 0xb807 48 Router 12.1.1.1 12.1.1.1 0x8000000e 32 0x22 0x4486 48 Router *12.1.1.2 12.1.1.2 0x80000013 31 0x22 0x348d 48 [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# run show route inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 23.1.1.0/24 *[Direct/0] 00:05:44 > via ge-0/0/2.0 23.1.1.2/32 *[Local/0] 00:05:44 Local via ge-0/0/2.0 192.168.128.0/24 *[Direct/0] 00:17:26 > via ge-0/0/3.0 192.168.128.145/32 *[Local/0] 00:17:26 Local via ge-0/0/3.0 VR.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 12.1.1.0/24 *[Direct/0] 00:12:26 > via ge-0/0/0.0 12.1.1.2/32 *[Local/0] 00:12:26 Local via ge-0/0/0.0 224.0.0.5/32 *[OSPF/10] 00:12:26, metric 1 MultiRecv [edit] juniper@R2# set routing-instances VR in ^ 'in' is ambiguous. Possible completions: instance-type Type of routing instance > interface Interface name for this routing instance juniper@R2# set routing-instances VR inge ^ syntax error. juniper@R2# set routing-instances VR interface ge-0/0/2 [edit] juniper@R2# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 12.1.1.2/24 set interfaces ge-0/0/2 unit 0 family inet address 23.1.1.2/24 set interfaces ge-0/0/3 unit 0 family inet address 192.168.128.145/24 [edit] juniper@R2# commit commit complete [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# run show route inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.128.0/24 *[Direct/0] 00:18:30 > via ge-0/0/3.0 192.168.128.145/32 *[Local/0] 00:18:30 Local via ge-0/0/3.0 VR.inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1.1.1.1/32 *[Static/5] 00:00:08 > to 23.1.1.13 via ge-0/0/2.0 2.2.2.2/32 *[Static/5] 00:00:08 > to 23.1.1.13 via ge-0/0/2.0 12.1.1.0/24 *[Direct/0] 00:13:30 > via ge-0/0/0.0 12.1.1.2/32 *[Local/0] 00:13:30 Local via ge-0/0/0.0 23.1.1.0/24 *[Direct/0] 00:00:08 > via ge-0/0/2.0 23.1.1.2/32 *[Local/0] 00:00:08 Local via ge-0/0/2.0 224.0.0.5/32 *[OSPF/10] 00:13:30, metric 1 MultiRecv [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# protocol ^ unknown command. juniper@R2# protocolstatic ^ unknown command. [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from instance VR [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# rollback 1 load complete [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 2 then metric 50 [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then metric 144 [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# [edit] juniper@R2# run show ospf database instance VR OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router 1.1.1.1 1.1.1.1 0x80000005 643 0x22 0x7567 48 Router 10.1.1.1 10.1.1.1 0x8000000e 542 0x22 0x9c25 48 Router 10.1.1.2 10.1.1.2 0x8000000c 634 0x22 0xb807 48 Router 12.1.1.1 12.1.1.1 0x80000012 14 0x22 0x3c8a 48 Router *12.1.1.2 12.1.1.2 0x8000001b 13 0x22 0x2495 48 OSPF AS SCOPE link state database Type ID Adv Rtr Seq Age Opt Cksum Len Extern *1.1.1.1 12.1.1.2 0x80000001 274 0x22 0xb9d9 36 [edit] juniper@R2# runs ^ unknown command. juniper@R2# runsh ^ unknown command. juniper@R2# runshro ^ unknown command. juniper@R2# run show route inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.128.0/24 *[Direct/0] 00:23:04 > via ge-0/0/3.0 192.168.128.145/32 *[Local/0] 00:23:04 Local via ge-0/0/3.0 VR.inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1.1.1.1/32 *[Static/5] 00:04:42 > to 23.1.1.13 via ge-0/0/2.0 2.2.2.2/32 *[Static/5] 00:04:42 > to 23.1.1.13 via ge-0/0/2.0 12.1.1.0/24 *[Direct/0] 00:18:04 > via ge-0/0/0.0 12.1.1.2/32 *[Local/0] 00:18:04 Local via ge-0/0/0.0 23.1.1.0/24 *[Direct/0] 00:04:42 > via ge-0/0/2.0 23.1.1.2/32 *[Local/0] 00:04:42 Local via ge-0/0/2.0 224.0.0.5/32 *[OSPF/10] 00:18:04, metric 1 MultiRecv [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# show routipo ^ syntax error. juniper@R2# show routipo ^ syntax error. juniper@R2# show routipo ^ syntax error. [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then accept set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then external type 1 [edit] juniper@R2# delete policy-options l ^ syntax error. juniper@R2# delete policy-options [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then metric 11 [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then external type 1 [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 2 then metric 50 [edit] juniper@R2# set policy-options policy-statement OSPF term 2 then external type 1 [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then metric 144 [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then external type 1 [edit] juniper@R2# set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 2 then external type 1 set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then external type 1 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# [edit] juniper@R2# commit commit complete [edit] juniper@R2# run show ospf database instance VR OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router 1.1.1.1 1.1.1.1 0x80000005 900 0x22 0x7567 48 Router 10.1.1.1 10.1.1.1 0x8000000e 799 0x22 0x9c25 48 Router 10.1.1.2 10.1.1.2 0x8000000c 891 0x22 0xb807 48 Router 12.1.1.1 12.1.1.1 0x80000016 10 0x22 0x348e 48 Router *12.1.1.2 12.1.1.2 0x80000020 9 0x22 0x1a9a 48 [edit] juniper@R2# run show ospf database external extensive instance VR [edit] juniper@R2# show ol ^ syntax error. juniper@R2# showpol ^ unknown command. juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 2 then external type 1 set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then external type 1 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# show routing-n ^ syntax error. juniper@R2# show routing-n| ^ syntax error. juniper@R2# show routing-n|d ^ syntax error. juniper@R2# show routing-n|ds ^ syntax error. juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then next-t ^ syntax error. juniper@R2# set policy-options policy-statement OSPF term 1 then ? Possible completions: accept Accept a route + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > as-path-expand Prepend AS numbers prior to adding local-as (BGP only) as-path-prepend Prepend AS numbers to an AS path (BGP only) class Set class-of-service parameters > color Color (preference) value > color2 Color (preference) value 2 > community BGP community properties associated with a route cos-next-hop-map Set CoS-based next-hop map in forwarding table damping Define BGP route flap damping parameters default-action Set default policy action destination-class Set destination class in forwarding table > external External route forwarding-class Set source or destination class in forwarding table > install-nexthop Choose the next hop to be used for forwarding > load-balance Type of load balancing in forwarding table > local-preference Local preference associated with a route > metric Metric value > metric2 Metric value 2 > metric3 Metric value 3 > metric4 Metric value 4 next Skip to next policy or term > next-hop Set the address of the next-hop router origin BGP path origin > preference Preference value > preference2 Preference value 2 priority Set priority for route installation reject Reject a route source-class Set source class in forwarding table > tag Tag string > tag2 Tag string 2 trace Log matches to a trace file [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then next ? Possible completions: policy Skip to next policy filter term Skip to next term in a policy filter [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then next term ? Possible completions: <[Enter]> Execute this command accept Accept a route + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > as-path-expand Prepend AS numbers prior to adding local-as (BGP only) as-path-prepend Prepend AS numbers to an AS path (BGP only) class Set class-of-service parameters > color Color (preference) value > color2 Color (preference) value 2 > community BGP community properties associated with a route cos-next-hop-map Set CoS-based next-hop map in forwarding table damping Define BGP route flap damping parameters default-action Set default policy action destination-class Set destination class in forwarding table > external External route forwarding-class Set source or destination class in forwarding table > install-nexthop Choose the next hop to be used for forwarding > load-balance Type of load balancing in forwarding table > local-preference Local preference associated with a route > metric Metric value > metric2 Metric value 2 > metric3 Metric value 3 > metric4 Metric value 4 > next-hop Set the address of the next-hop router origin BGP path origin > preference Preference value > preference2 Preference value 2 priority Set priority for route installation reject Reject a route source-class Set source class in forwarding table > tag Tag string > tag2 Tag string 2 trace Log matches to a trace file | Pipe through a command [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then next term [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 1 then next term set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 2 then external type 1 set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then external type 1 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# set policy-options policy-statement OSPF term 2 then next term [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 1 then next term set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 2 then external type 1 set policy-options policy-statement OSPF term 2 then next term set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then external type 1 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# run show ospf database exte ^ 'exte' is ambiguous. Possible completions: extensive Display extensive output external External link-state advertisements juniper@R2# run show ospf database exteex ^ syntax error, expecting . juniper@R2# run show ospf database exteex ^ syntax error, expecting . juniper@R2# run show ospf database external extensive OSPF instance is not running [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# run show ospf database external extensive instance VR [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 1 then next term set policy-options policy-statement OSPF term 2 from instance VR set policy-options policy-statement OSPF term 2 from protocol static set policy-options policy-statement OSPF term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 2 then metric 50 set policy-options policy-statement OSPF term 2 then external type 1 set policy-options policy-statement OSPF term 2 then next term set policy-options policy-statement OSPF term 3 from instance VR set policy-options policy-statement OSPF term 3 from protocol static set policy-options policy-statement OSPF term 3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF term 3 then metric 144 set policy-options policy-statement OSPF term 3 then external type 1 set policy-options policy-statement OSPF term 3 then accept [edit] juniper@R2# delete policy-options [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then metric 11 [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then external type 1 [edit] juniper@R2# set policy-options policy-statement OSPF term 1 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# set policy-options policy-statement OSPF term 1 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# commit commit complete [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# set routing-instances VR protocols ospf export OSPF-2 [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf export OSPF-2 set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 from instance VR [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 then metric 50 [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 then external type 1 [edit] juniper@R2# set policy-options policy-statement OSPF-2 term 2 then accept [edit] juniper@R2# show policy-options } ^ syntax error. juniper@R2# show policy-options }d ^ syntax error. juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 1 then accept set policy-options policy-statement OSPF-2 term 2 from instance VR set policy-options policy-statement OSPF-2 term 2 from protocol static set policy-options policy-statement OSPF-2 term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF-2 term 2 then metric 50 set policy-options policy-statement OSPF-2 term 2 then external type 1 set policy-options policy-statement OSPF-2 term 2 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# delete policy-options policy-statement OSPF term 1 from route-filter 2.2.2.2/32 exact [edit] juniper@R2# commit commit complete [edit] juniper@R2# set policy-options policy-statement OSPF-3 from protocol static [edit] juniper@R2# set policy-options policy-statement OSPF-3 from fo ^ syntax error. juniper@R2# set policy-options policy-statement OSPF-3 fromro ^ syntax error. juniper@R2# set policy-options policy-statement OSPF-3 fromrofi ^ syntax error. juniper@R2# set policy-options policy-statement OSPF-3 from route-filter 0/0 exact [edit] juniper@R2# set policy-options policy-statement OSPF-3 then metric 100 [edit] juniper@R2# set policy-options policy-statement OSPF- ^ 'OSPF-' is ambiguous. Possible completions: Name to identify a policy filter OSPF-2 Name to identify a policy filter OSPF-3 Name to identify a policy filter [edit] juniper@R2# set policy-options policy-statement OSPF-3 then accept [edit] juniper@R2# show policy-options | display set set policy-options policy-statement OSPF term 1 from instance VR set policy-options policy-statement OSPF term 1 from protocol static set policy-options policy-statement OSPF term 1 from route-filter 1.1.1.1/32 exact set policy-options policy-statement OSPF term 1 then metric 11 set policy-options policy-statement OSPF term 1 then external type 1 set policy-options policy-statement OSPF term 1 then accept set policy-options policy-statement OSPF-2 term 2 from instance VR set policy-options policy-statement OSPF-2 term 2 from protocol static set policy-options policy-statement OSPF-2 term 2 from route-filter 2.2.2.2/32 exact set policy-options policy-statement OSPF-2 term 2 then metric 50 set policy-options policy-statement OSPF-2 term 2 then external type 1 set policy-options policy-statement OSPF-2 term 2 then accept set policy-options policy-statement OSPF-3 from protocol static set policy-options policy-statement OSPF-3 from route-filter 0.0.0.0/0 exact set policy-options policy-statement OSPF-3 then metric 100 set policy-options policy-statement OSPF-3 then accept [edit] juniper@R2# commit commit complete [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf export OSPF-2 set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# set routing-instances VR protocols ospf export OSPF-3 [edit] juniper@R2# commit commit complete [edit] juniper@R2# set routing-instances VR routing-options static route 0/0 next-hop 23.1.1.13 [edit] juniper@R2# show routing-instances | display set set routing-instances VR instance-type virtual-router set routing-instances VR interface ge-0/0/0.0 set routing-instances VR interface ge-0/0/2.0 set routing-instances VR routing-options static route 1.1.1.1/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 2.2.2.2/32 next-hop 23.1.1.13 set routing-instances VR routing-options static route 0.0.0.0/0 next-hop 23.1.1.13 set routing-instances VR protocols ospf export OSPF set routing-instances VR protocols ospf export OSPF-2 set routing-instances VR protocols ospf export OSPF-3 set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p [edit] juniper@R2# commit commit complete [edit] juniper@R2# run show ospf database external extensive instance VR OSPF AS SCOPE link state database Type ID Adv Rtr Seq Age Opt Cksum Len Extern *0.0.0.0 12.1.1.2 0x80000001 20 0x22 0x65d8 36 mask 0.0.0.0 Topology default (ID 0) Type: 2, Metric: 100, Fwd addr: 0.0.0.0, Tag: 0.0.0.0 Gen timer 00:49:39 Aging timer 00:59:39 Installed 00:00:20 ago, expires in 00:59:40, sent 00:00:20 ago Last changed 00:00:20 ago, Change count: 1, Ours Extern *1.1.1.1 12.1.1.2 0x80000001 344 0x22 0x36dd 36 mask 255.255.255.255 Topology default (ID 0) Type: 1, Metric: 11, Fwd addr: 0.0.0.0, Tag: 0.0.0.0 Gen timer 00:13:53 Aging timer 00:54:16 Installed 00:05:44 ago, expires in 00:54:16, sent 00:05:44 ago Last changed 00:05:44 ago, Change count: 1, Ours Extern *2.2.2.2 12.1.1.2 0x80000002 178 0x22 0x8d5a 36 mask 255.255.255.255 Topology default (ID 0) Type: 1, Metric: 50, Fwd addr: 0.0.0.0, Tag: 0.0.0.0 Gen timer 00:47:01 Aging timer 00:57:01 Installed 00:02:58 ago, expires in 00:57:02, sent 00:02:58 ago Last changed 00:02:58 ago, Change count: 2, Ours [edit]