質問するログイン新規登録

質問編集履歴

4

誤字

2017/08/20 14:37

投稿

pussade
pussade

スコア13

title CHANGED
File without changes
body CHANGED
@@ -505,7 +505,7 @@
505
505
  privilege level 15
506
506
  logging synchronous
507
507
  line vty 0 4
508
- password 87zpg6a7
508
+ password *******
509
509
  login
510
510
  !
511
511
  !

3

誤字

2017/08/20 14:37

投稿

pussade
pussade

スコア13

title CHANGED
File without changes
body CHANGED
@@ -264,7 +264,7 @@
264
264
  privilege level 15
265
265
  logging synchronous
266
266
  line vty 0 4
267
- password 87zpg6a7
267
+ password ******
268
268
  login
269
269
  !
270
270
  !

2

追記

2017/08/20 14:36

投稿

pussade
pussade

スコア13

title CHANGED
File without changes
body CHANGED
@@ -19,4 +19,496 @@
19
19
 
20
20
  このとき、ESW1かESW2で通信の重複を抑える方法が知りたいのですが、
21
21
  調べてもいまいちやり方がわかりません。
22
- ご存知の方おられましたらご回答お願いいたします。
22
+ ご存知の方おられましたらご回答お願いいたします。
23
+
24
+ =========
25
+ ご回答に対して
26
+ 少し長くなりますが、、ESW1とESW2のshow run結果について添付します、
27
+
28
+
29
+ ```ここに言語を入力
30
+ #############ESW1###############
31
+ !
32
+ !
33
+ !
34
+ !
35
+
36
+ !
37
+ version 12.4
38
+ service timestamps debug datetime msec
39
+ service timestamps log datetime msec
40
+ no service password-encryption
41
+ no service dhcp
42
+ !
43
+ hostname ESW1
44
+ !
45
+ boot-start-marker
46
+ boot-end-marker
47
+ !
48
+ !
49
+ no aaa new-model
50
+ memory-size iomem 5
51
+ no ip icmp rate-limit unreachable
52
+ ip cef
53
+ !
54
+ !
55
+ !
56
+ !
57
+ no ip domain lookup
58
+ !
59
+ multilink bundle-name authenticated
60
+ !
61
+ !
62
+ !
63
+ !
64
+ !
65
+ !
66
+ !
67
+ !
68
+ !
69
+ !
70
+ !
71
+ !
72
+ !
73
+ !
74
+ !
75
+ !
76
+ !
77
+ !
78
+ !
79
+ !
80
+ macro name add_vlan
81
+ end
82
+ vlan database
83
+ vlan $v
84
+ exit
85
+ @
86
+ macro name del_vlan
87
+ end
88
+ vlan database
89
+ no vlan $v
90
+ exit
91
+ @
92
+ !
93
+ vtp file nvram:vlan.dat
94
+ archive
95
+ log config
96
+ hidekeys
97
+ !
98
+ !
99
+ !
100
+ !
101
+ ip tcp synwait-time 5
102
+ !
103
+ !
104
+ !
105
+ !
106
+ interface Port-channel1
107
+ switchport trunk allowed vlan 1,10,20,1002-1005
108
+ switchport mode trunk
109
+ !
110
+ interface FastEthernet0/0
111
+ description *** Unused for Layer2 EtherSwitch ***
112
+ no ip address
113
+ shutdown
114
+ duplex auto
115
+ speed auto
116
+ !
117
+ interface FastEthernet0/1
118
+ description *** Unused for Layer2 EtherSwitch ***
119
+ no ip address
120
+ shutdown
121
+ duplex auto
122
+ speed auto
123
+ !
124
+ interface FastEthernet1/0
125
+ switchport access vlan 10
126
+ duplex full
127
+ speed 100
128
+ !
129
+ interface FastEthernet1/1
130
+ switchport access vlan 20
131
+ duplex full
132
+ speed 100
133
+ !
134
+ interface FastEthernet1/2
135
+ duplex full
136
+ speed 100
137
+ !
138
+ interface FastEthernet1/3
139
+ duplex full
140
+ speed 100
141
+ !
142
+ interface FastEthernet1/4
143
+ duplex full
144
+ speed 100
145
+ !
146
+ interface FastEthernet1/5
147
+ duplex full
148
+ speed 100
149
+ !
150
+ interface FastEthernet1/6
151
+ duplex full
152
+ speed 100
153
+ !
154
+ interface FastEthernet1/7
155
+ duplex full
156
+ speed 100
157
+ !
158
+ interface FastEthernet1/8
159
+ duplex full
160
+ speed 100
161
+ !
162
+ interface FastEthernet1/9
163
+ duplex full
164
+ speed 100
165
+ !
166
+ interface FastEthernet1/10
167
+ duplex full
168
+ speed 100
169
+ !
170
+ interface FastEthernet1/11
171
+ duplex full
172
+ speed 100
173
+ !
174
+ interface FastEthernet1/12
175
+ duplex full
176
+ speed 100
177
+ !
178
+ interface FastEthernet1/13
179
+ switchport trunk allowed vlan 1,10,20,1002-1005
180
+ switchport mode trunk
181
+ channel-group 1 mode on
182
+ !
183
+ interface FastEthernet1/14
184
+ switchport trunk allowed vlan 1,10,20,1002-1005
185
+ switchport mode trunk
186
+ channel-group 1 mode on
187
+ !
188
+ interface FastEthernet1/15
189
+ description ### administration ###
190
+ switchport access vlan 2
191
+ duplex full
192
+ speed 100
193
+ !
194
+ interface Vlan1
195
+ no ip address
196
+ shutdown
197
+ !
198
+ interface Vlan2
199
+ description ### administration ###
200
+ ip address 192.168.11.51 255.255.255.0
201
+ !
202
+ interface Vlan10
203
+ description ### test vlan #1 ###
204
+ ip address 192.168.100.1 255.255.255.0
205
+ !
206
+ interface Vlan20
207
+ description ### test vlan #2 ###
208
+ ip address 192.168.101.1 255.255.255.0
209
+ !
210
+ ip forward-protocol nd
211
+ ip route 0.0.0.0 0.0.0.0 192.168.51.1
212
+ ip route 0.0.0.0 0.0.0.0 192.168.11.1
213
+ ip route 0.0.0.0 0.0.0.0 192.168.11.2
214
+ !
215
+ !
216
+ no ip http server
217
+ no ip http secure-server
218
+ !
219
+ no cdp log mismatch duplex
220
+ !
221
+ !
222
+ !
223
+ !
224
+ !
225
+ !
226
+ control-plane
227
+ !
228
+ !
229
+ !
230
+ !
231
+ !
232
+ !
233
+ !
234
+ !
235
+ !
236
+ banner exec 
237
+
238
+ ***************************************************************
239
+ This is a normal Router with a Switch module inside (NM-16ESW)
240
+ It has been pre-configured with hard-coded speed and duplex
241
+
242
+ To create vlans use the command "vlan database" in exec mode
243
+ After creating all desired vlans use "exit" to apply the config
244
+
245
+ To view existing vlans use the command "show vlan-switch brief"
246
+
247
+ Alias(exec) : vl - "show vlan-switch brief" command
248
+ Alias(configure): va X - macro to add vlan X
249
+ Alias(configure): vd X - macro to delete vlan X
250
+ ***************************************************************
251
+
252
+ 
253
+ alias configure va macro global trace add_vlan $v
254
+ alias configure vd macro global trace del_vlan $v
255
+ alias exec vl show vlan-switch brief
256
+ !
257
+ line con 0
258
+ exec-timeout 0 0
259
+ privilege level 15
260
+ password *****
261
+ logging synchronous
262
+ line aux 0
263
+ exec-timeout 0 0
264
+ privilege level 15
265
+ logging synchronous
266
+ line vty 0 4
267
+ password 87zpg6a7
268
+ login
269
+ !
270
+ !
271
+ end
272
+
273
+ ```
274
+
275
+ ```ここに言語を入力
276
+ ###########ESW2##############
277
+ !
278
+ !
279
+ !
280
+
281
+ !
282
+ version 12.4
283
+ service timestamps debug datetime msec
284
+ service timestamps log datetime msec
285
+ no service password-encryption
286
+ no service dhcp
287
+ !
288
+ hostname ESW2
289
+ !
290
+ boot-start-marker
291
+ boot-end-marker
292
+ !
293
+ !
294
+ no aaa new-model
295
+ memory-size iomem 5
296
+ no ip icmp rate-limit unreachable
297
+ ip cef
298
+ !
299
+ !
300
+ !
301
+ !
302
+ no ip domain lookup
303
+ !
304
+ multilink bundle-name authenticated
305
+ !
306
+ !
307
+ !
308
+ !
309
+ !
310
+ !
311
+ !
312
+ !
313
+ !
314
+ !
315
+ !
316
+ !
317
+ !
318
+ !
319
+ !
320
+ !
321
+ !
322
+ !
323
+ !
324
+ !
325
+ macro name add_vlan
326
+ end
327
+ vlan database
328
+ vlan $v
329
+ exit
330
+ @
331
+ macro name del_vlan
332
+ end
333
+ vlan database
334
+ no vlan $v
335
+ exit
336
+ @
337
+ !
338
+ vtp file nvram:vlan.dat
339
+ archive
340
+ log config
341
+ hidekeys
342
+ !
343
+ !
344
+ !
345
+ !
346
+ ip tcp synwait-time 5
347
+ !
348
+ !
349
+ !
350
+ !
351
+ interface Port-channel1
352
+ switchport trunk allowed vlan 1,10,20,1002-1005
353
+ switchport mode trunk
354
+ !
355
+ interface FastEthernet0/0
356
+ description *** Unused for Layer2 EtherSwitch ***
357
+ no ip address
358
+ shutdown
359
+ duplex auto
360
+ speed auto
361
+ !
362
+ interface FastEthernet0/1
363
+ description *** Unused for Layer2 EtherSwitch ***
364
+ no ip address
365
+ shutdown
366
+ duplex auto
367
+ speed auto
368
+ !
369
+ interface FastEthernet1/0
370
+ switchport access vlan 10
371
+ duplex full
372
+ speed 100
373
+ !
374
+ interface FastEthernet1/1
375
+ duplex full
376
+ speed 100
377
+ !
378
+ interface FastEthernet1/2
379
+ duplex full
380
+ speed 100
381
+ !
382
+ interface FastEthernet1/3
383
+ duplex full
384
+ speed 100
385
+ !
386
+ interface FastEthernet1/4
387
+ duplex full
388
+ speed 100
389
+ !
390
+ interface FastEthernet1/5
391
+ duplex full
392
+ speed 100
393
+ !
394
+ interface FastEthernet1/6
395
+ duplex full
396
+ speed 100
397
+ !
398
+ interface FastEthernet1/7
399
+ duplex full
400
+ speed 100
401
+ !
402
+ interface FastEthernet1/8
403
+ duplex full
404
+ speed 100
405
+ !
406
+ interface FastEthernet1/9
407
+ duplex full
408
+ speed 100
409
+ !
410
+ interface FastEthernet1/10
411
+ duplex full
412
+ speed 100
413
+ !
414
+ interface FastEthernet1/11
415
+ duplex full
416
+ speed 100
417
+ !
418
+ interface FastEthernet1/12
419
+ duplex full
420
+ speed 100
421
+ !
422
+ interface FastEthernet1/13
423
+ switchport trunk allowed vlan 1,10,20,1002-1005
424
+ switchport mode trunk
425
+ channel-group 1 mode on
426
+ !
427
+ interface FastEthernet1/14
428
+ switchport trunk allowed vlan 1,10,20,1002-1005
429
+ switchport mode trunk
430
+ channel-group 1 mode on
431
+ !
432
+ interface FastEthernet1/15
433
+ description ### administration ###
434
+ switchport access vlan 2
435
+ duplex full
436
+ speed 100
437
+ !
438
+ interface Vlan1
439
+ no ip address
440
+ shutdown
441
+ !
442
+ interface Vlan2
443
+ description ### administration ###
444
+ ip address 192.168.11.52 255.255.255.0
445
+ !
446
+ interface Vlan10
447
+ description ### test vlan #1 ###
448
+ ip address 192.168.100.11 255.255.255.0
449
+ !
450
+ interface Vlan20
451
+ description ### test vlan #2 ###
452
+ ip address 192.168.101.11 255.255.255.0
453
+ !
454
+ ip forward-protocol nd
455
+ !
456
+ !
457
+ no ip http server
458
+ no ip http secure-server
459
+ !
460
+ no cdp log mismatch duplex
461
+ !
462
+ !
463
+ !
464
+ !
465
+ !
466
+ !
467
+ control-plane
468
+ !
469
+ !
470
+ !
471
+ !
472
+ !
473
+ !
474
+ !
475
+ !
476
+ !
477
+ banner exec 
478
+
479
+ ***************************************************************
480
+ This is a normal Router with a Switch module inside (NM-16ESW)
481
+ It has been pre-configured with hard-coded speed and duplex
482
+
483
+ To create vlans use the command "vlan database" in exec mode
484
+ After creating all desired vlans use "exit" to apply the config
485
+
486
+ To view existing vlans use the command "show vlan-switch brief"
487
+
488
+ Alias(exec) : vl - "show vlan-switch brief" command
489
+ Alias(configure): va X - macro to add vlan X
490
+ Alias(configure): vd X - macro to delete vlan X
491
+ ***************************************************************
492
+
493
+ 
494
+ alias configure va macro global trace add_vlan $v
495
+ alias configure vd macro global trace del_vlan $v
496
+ alias exec vl show vlan-switch brief
497
+ !
498
+ line con 0
499
+ exec-timeout 0 0
500
+ privilege level 15
501
+ password ******
502
+ logging synchronous
503
+ line aux 0
504
+ exec-timeout 0 0
505
+ privilege level 15
506
+ logging synchronous
507
+ line vty 0 4
508
+ password 87zpg6a7
509
+ login
510
+ !
511
+ !
512
+ end
513
+
514
+ ```

1

文法

2017/08/20 14:29

投稿

pussade
pussade

スコア13

title CHANGED
File without changes
body CHANGED
@@ -14,7 +14,7 @@
14
14
  ・CentOS7-1 → ESW1 → CentOS7-3
15
15
  の経路で届いているものと、
16
16
  ・CentOS7-1 → ESW1 → ESW2 → ESW1 → CentOS7-3
17
- という経路の二つで届いてり、
17
+ という経路で届いているものの二つがあり、
18
18
  結果としてPingが二つReplyされている状況のようです。
19
19
 
20
20
  このとき、ESW1かESW2で通信の重複を抑える方法が知りたいのですが、