1 | nasir@thirdday:~$ ssh lrouter_0_2@64.57.19.142 |
---|
2 | --- JUNOS 10.2R1.8 built 2010-05-27 20:51:51 UTC |
---|
3 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> show run |
---|
4 | ^ |
---|
5 | syntax error, expecting <command>. |
---|
6 | |
---|
7 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> show configuration |
---|
8 | interfaces { |
---|
9 | ge-0/0/0 { |
---|
10 | unit 323 { |
---|
11 | description "Logical Interface wash0if0| llink_0_5"; |
---|
12 | vlan-id 323; |
---|
13 | family inet { |
---|
14 | address 10.10.3.2/24; |
---|
15 | } |
---|
16 | } |
---|
17 | } |
---|
18 | gr-1/2/0 { |
---|
19 | unit 4 { |
---|
20 | description "Logical Interface wash0if1"; |
---|
21 | tunnel { |
---|
22 | source 10.1.0.1; |
---|
23 | destination 10.2.0.1; |
---|
24 | } |
---|
25 | family inet { |
---|
26 | address 192.168.100.2/24; |
---|
27 | } |
---|
28 | } |
---|
29 | unit 5 { |
---|
30 | description "Logical Interface wash0if2"; |
---|
31 | tunnel { |
---|
32 | source 10.1.0.1; |
---|
33 | destination 10.3.0.1; |
---|
34 | } |
---|
35 | family inet { |
---|
36 | address 192.168.102.2/24; |
---|
37 | } |
---|
38 | } |
---|
39 | } |
---|
40 | lt-1/2/0 { |
---|
41 | unit 0 { |
---|
42 | description "GATEWAY"; |
---|
43 | encapsulation ethernet; |
---|
44 | peer-unit 1; |
---|
45 | family inet { |
---|
46 | address 10.1.0.1/30; |
---|
47 | } |
---|
48 | } |
---|
49 | } |
---|
50 | lo0 { |
---|
51 | unit 1 { |
---|
52 | description "LOOPBACK INTERFACE"; |
---|
53 | } |
---|
54 | } |
---|
55 | } |
---|
56 | routing-options { |
---|
57 | static { |
---|
58 | route 0.0.0.0/0 next-hop 10.1.0.2; |
---|
59 | } |
---|
60 | } |
---|
61 | |
---|
62 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> show route |
---|
63 | |
---|
64 | inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden) |
---|
65 | + = Active Route, - = Last Active, * = Both |
---|
66 | |
---|
67 | 0.0.0.0/0 *[Static/5] 21:02:01 |
---|
68 | > to 10.1.0.2 via lt-1/2/0.0 |
---|
69 | 10.1.0.0/30 *[Direct/0] 21:02:01 |
---|
70 | > via lt-1/2/0.0 |
---|
71 | 10.1.0.1/32 *[Local/0] 21:02:01 |
---|
72 | Local via lt-1/2/0.0 |
---|
73 | 10.10.3.2/32 *[Local/0] 21:00:37 |
---|
74 | Reject |
---|
75 | 192.168.100.0/24 *[Direct/0] 21:00:54 |
---|
76 | > via gr-1/2/0.4 |
---|
77 | 192.168.100.2/32 *[Local/0] 21:00:54 |
---|
78 | Local via gr-1/2/0.4 |
---|
79 | 192.168.102.0/24 *[Direct/0] 21:00:45 |
---|
80 | > via gr-1/2/0.5 |
---|
81 | 192.168.102.2/32 *[Local/0] 21:00:45 |
---|
82 | Local via gr-1/2/0.5 |
---|
83 | |
---|
84 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> |
---|
85 | |
---|
86 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> edit |
---|
87 | Entering configuration mode |
---|
88 | |
---|
89 | [edit] |
---|
90 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2# set routing-options static route 10.10.1.0/24 next-hop 192.168.100.1 |
---|
91 | |
---|
92 | [edit] |
---|
93 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2# set routing-options static route 10.10.2.0/24 next-hop 192.168.102.1 |
---|
94 | |
---|
95 | [edit] |
---|
96 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2# commit |
---|
97 | commit complete |
---|
98 | |
---|
99 | |
---|
100 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2# exit |
---|
101 | Exiting configuration mode |
---|
102 | |
---|
103 | lrouter_0_2@shadowbox-washington-1:lrouter_0_2> show route |
---|
104 | |
---|
105 | inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) |
---|
106 | + = Active Route, - = Last Active, * = Both |
---|
107 | |
---|
108 | 0.0.0.0/0 *[Static/5] 21:05:28 |
---|
109 | > to 10.1.0.2 via lt-1/2/0.0 |
---|
110 | 10.1.0.0/30 *[Direct/0] 21:05:28 |
---|
111 | > via lt-1/2/0.0 |
---|
112 | 10.1.0.1/32 *[Local/0] 21:05:28 |
---|
113 | Local via lt-1/2/0.0 |
---|
114 | 10.10.1.0/24 *[Static/5] 00:00:16 |
---|
115 | > to 192.168.100.1 via gr-1/2/0.4 |
---|
116 | 10.10.2.0/24 *[Static/5] 00:00:16 |
---|
117 | > to 192.168.102.1 via gr-1/2/0.5 |
---|
118 | 10.10.3.2/32 *[Local/0] 21:04:04 |
---|
119 | Reject |
---|
120 | 192.168.100.0/24 *[Direct/0] 21:04:21 |
---|
121 | > via gr-1/2/0.4 |
---|
122 | 192.168.100.2/32 *[Local/0] 21:04:21 |
---|
123 | Local via gr-1/2/0.4 |
---|
124 | 192.168.102.0/24 *[Direct/0] 21:04:12 |
---|
125 | > via gr-1/2/0.5 |
---|
126 | 192.168.102.2/32 *[Local/0] 21:04:12 |
---|
127 | Local via gr-1/2/0.5 |
---|
128 | |
---|
129 | |
---|
130 | |
---|