質問編集履歴
3
設定したipの変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
(config)#int vlan 1
|
54
54
|
|
55
|
-
(config)#ip add 192.168.11.10
|
55
|
+
(config)#ip add 192.168.11.103 255.255.255.0
|
56
56
|
|
57
57
|
(config)#no shutdown
|
58
58
|
|
2
ルータ設定の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,6 +38,8 @@
|
|
38
38
|
|
39
39
|
```
|
40
40
|
|
41
|
+
#show run 現在の設定
|
42
|
+
|
41
43
|
|
42
44
|
|
43
45
|
```
|
@@ -76,7 +78,297 @@
|
|
76
78
|
|
77
79
|
```
|
78
80
|
|
79
|
-
|
81
|
+
```
|
82
|
+
|
83
|
+
Current configuration : 1318 bytes
|
84
|
+
|
85
|
+
!
|
86
|
+
|
87
|
+
! Last configuration change at 05:33:14 UTC Tue Oct 13 2020
|
88
|
+
|
89
|
+
version 15.1
|
90
|
+
|
91
|
+
service timestamps debug datetime msec
|
92
|
+
|
93
|
+
service timestamps log datetime msec
|
94
|
+
|
95
|
+
no service password-encryption
|
96
|
+
|
97
|
+
!
|
98
|
+
|
99
|
+
hostname Router
|
100
|
+
|
101
|
+
!
|
102
|
+
|
103
|
+
boot-start-marker
|
104
|
+
|
105
|
+
boot-end-marker
|
106
|
+
|
107
|
+
!
|
108
|
+
|
109
|
+
!
|
110
|
+
|
111
|
+
!
|
112
|
+
|
113
|
+
no aaa new-model
|
114
|
+
|
115
|
+
!
|
116
|
+
|
117
|
+
crypto pki token default removal timeout 0
|
118
|
+
|
119
|
+
!
|
120
|
+
|
121
|
+
!
|
122
|
+
|
123
|
+
ip source-route
|
124
|
+
|
125
|
+
!
|
126
|
+
|
127
|
+
!
|
128
|
+
|
129
|
+
!
|
130
|
+
|
131
|
+
!
|
132
|
+
|
133
|
+
!
|
134
|
+
|
135
|
+
ip cef
|
136
|
+
|
137
|
+
no ipv6 cef
|
138
|
+
|
139
|
+
!
|
140
|
+
|
141
|
+
!
|
142
|
+
|
143
|
+
!
|
144
|
+
|
145
|
+
!
|
146
|
+
|
147
|
+
multilink bundle-name authenticated
|
148
|
+
|
149
|
+
!
|
150
|
+
|
151
|
+
!
|
152
|
+
|
153
|
+
!
|
154
|
+
|
155
|
+
!
|
156
|
+
|
157
|
+
!
|
158
|
+
|
159
|
+
!
|
160
|
+
|
161
|
+
license udi pid CISCO892-K9 sn FGL163825NN
|
162
|
+
|
163
|
+
!
|
164
|
+
|
165
|
+
!
|
166
|
+
|
167
|
+
!
|
168
|
+
|
169
|
+
!
|
170
|
+
|
171
|
+
!
|
172
|
+
|
173
|
+
!
|
174
|
+
|
175
|
+
!
|
176
|
+
|
177
|
+
interface BRI0
|
178
|
+
|
179
|
+
no ip address
|
180
|
+
|
181
|
+
encapsulation hdlc
|
182
|
+
|
183
|
+
shutdown
|
184
|
+
|
185
|
+
isdn termination multidrop
|
186
|
+
|
187
|
+
!
|
188
|
+
|
189
|
+
interface FastEthernet0
|
190
|
+
|
191
|
+
no ip address
|
192
|
+
|
193
|
+
!
|
194
|
+
|
195
|
+
interface FastEthernet1
|
196
|
+
|
197
|
+
no ip address
|
198
|
+
|
199
|
+
!
|
200
|
+
|
201
|
+
interface FastEthernet2
|
202
|
+
|
203
|
+
no ip address
|
204
|
+
|
205
|
+
!
|
206
|
+
|
207
|
+
interface FastEthernet3
|
208
|
+
|
209
|
+
no ip address
|
210
|
+
|
211
|
+
!
|
212
|
+
|
213
|
+
interface FastEthernet4
|
214
|
+
|
215
|
+
no ip address
|
216
|
+
|
217
|
+
!
|
218
|
+
|
219
|
+
interface FastEthernet5
|
220
|
+
|
221
|
+
no ip address
|
222
|
+
|
223
|
+
!
|
224
|
+
|
225
|
+
interface FastEthernet6
|
226
|
+
|
227
|
+
no ip address
|
228
|
+
|
229
|
+
!
|
230
|
+
|
231
|
+
interface FastEthernet7
|
232
|
+
|
233
|
+
no ip address
|
234
|
+
|
235
|
+
!
|
236
|
+
|
237
|
+
interface FastEthernet8
|
238
|
+
|
239
|
+
no ip address
|
240
|
+
|
241
|
+
shutdown
|
242
|
+
|
243
|
+
duplex auto
|
244
|
+
|
245
|
+
speed auto
|
246
|
+
|
247
|
+
!
|
248
|
+
|
249
|
+
interface GigabitEthernet0
|
250
|
+
|
251
|
+
no ip address
|
252
|
+
|
253
|
+
shutdown
|
254
|
+
|
255
|
+
duplex auto
|
256
|
+
|
257
|
+
speed auto
|
258
|
+
|
259
|
+
!
|
260
|
+
|
261
|
+
interface Vlan1
|
262
|
+
|
263
|
+
ip address 192.168.11.103 255.255.255.0
|
264
|
+
|
265
|
+
!
|
266
|
+
|
267
|
+
ip forward-protocol nd
|
268
|
+
|
269
|
+
!
|
270
|
+
|
271
|
+
!
|
272
|
+
|
273
|
+
no ip http server
|
274
|
+
|
275
|
+
no ip http secure-server
|
276
|
+
|
277
|
+
!
|
278
|
+
|
279
|
+
!
|
280
|
+
|
281
|
+
!
|
282
|
+
|
283
|
+
!
|
284
|
+
|
285
|
+
!
|
286
|
+
|
287
|
+
!
|
288
|
+
|
289
|
+
!
|
290
|
+
|
291
|
+
control-plane
|
292
|
+
|
293
|
+
!
|
294
|
+
|
295
|
+
!
|
296
|
+
|
297
|
+
!
|
298
|
+
|
299
|
+
!
|
300
|
+
|
301
|
+
mgcp profile default
|
302
|
+
|
303
|
+
!
|
304
|
+
|
305
|
+
!
|
306
|
+
|
307
|
+
!
|
308
|
+
|
309
|
+
!
|
310
|
+
|
311
|
+
!
|
312
|
+
|
313
|
+
line con 0
|
314
|
+
|
315
|
+
line aux 0
|
316
|
+
|
317
|
+
line vty 0 4
|
318
|
+
|
319
|
+
login
|
320
|
+
|
321
|
+
transport input all
|
322
|
+
|
323
|
+
!
|
324
|
+
|
325
|
+
end
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
- [ ]
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
```
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
```
|
338
|
+
|
339
|
+
Router#show interfaces description
|
340
|
+
|
341
|
+
Interface Status Protocol Description
|
342
|
+
|
343
|
+
BR0 admin down down
|
344
|
+
|
345
|
+
BR0:1 admin down down
|
346
|
+
|
347
|
+
BR0:2 admin down down
|
348
|
+
|
349
|
+
Fa0 down down
|
350
|
+
|
351
|
+
Fa1 down down
|
352
|
+
|
353
|
+
Fa2 down down
|
354
|
+
|
355
|
+
Fa3 down down
|
356
|
+
|
357
|
+
Fa4 down down
|
358
|
+
|
359
|
+
Fa5 down down
|
360
|
+
|
361
|
+
Fa6 down down
|
362
|
+
|
363
|
+
Fa7 up up
|
364
|
+
|
365
|
+
Fa8 admin down down
|
366
|
+
|
367
|
+
Gi0 admin down down
|
368
|
+
|
369
|
+
Vl1 up up
|
370
|
+
|
371
|
+
```
|
80
372
|
|
81
373
|
|
82
374
|
|
1
routerの設定を編集しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,21 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
+
#conf t
|
62
|
+
|
63
|
+
(config)#interface fastethernet 7
|
64
|
+
|
65
|
+
(config)#switchport mode access
|
66
|
+
|
67
|
+
(donfig)#switchport access vlan 1
|
68
|
+
|
69
|
+
(config)#exit
|
70
|
+
|
71
|
+
|
72
|
+
|
61
73
|
=>仮想インターフェースの作成とipアドレスの割り当て
|
74
|
+
|
75
|
+
=>vlanと物理インターフェースの紐付け
|
62
76
|
|
63
77
|
```
|
64
78
|
|