質問編集履歴

4

修正

2018/02/19 14:02

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -864,8 +864,6 @@
864
864
 
865
865
  ip address 192.168.2.2 255.255.255.0
866
866
 
867
- shutdown
868
-
869
867
  !
870
868
 
871
869
  interface FastEthernet1/3

3

更新

2018/02/19 14:02

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
 
56
56
 
57
- Current configuration : 1936 bytes
57
+ Current configuration : 2104 bytes
58
58
 
59
59
  !
60
60
 
@@ -102,6 +102,12 @@
102
102
 
103
103
  ip admission max-nodata-conns 3
104
104
 
105
+ ip sla monitor 1
106
+
107
+ type echo protocol ipIcmpEcho 192.168.2.2 source-interface FastEthernet1/2
108
+
109
+ ip sla monitor schedule 1 life forever start-time now
110
+
105
111
  !
106
112
 
107
113
  !
@@ -140,6 +146,10 @@
140
146
 
141
147
  !
142
148
 
149
+ track 1 rtr 1 reachability
150
+
151
+ !
152
+
143
153
  !
144
154
 
145
155
  !
@@ -286,10 +296,10 @@
286
296
 
287
297
  ip forward-protocol nd
288
298
 
289
- ip route 192.168.2.0 255.255.255.0 192.168.1.2 track 1
290
-
291
299
  ip route 192.168.20.0 255.255.255.0 192.168.1.2 track 1
292
300
 
301
+ ip route 192.168.2.0 255.255.255.0 192.168.1.2
302
+
293
303
  ip route 192.168.4.0 255.255.255.0 192.168.3.2 2
294
304
 
295
305
  ip route 192.168.20.0 255.255.255.0 192.168.3.2 2
@@ -370,7 +380,7 @@
370
380
 
371
381
 
372
382
 
373
- Current configuration : 2100 bytes
383
+ Current configuration : 1768 bytes
374
384
 
375
385
  !
376
386
 
@@ -418,18 +428,320 @@
418
428
 
419
429
  ip admission max-nodata-conns 3
420
430
 
431
+ !
432
+
433
+ !
434
+
435
+ !
436
+
437
+ !
438
+
439
+ !
440
+
441
+ !
442
+
443
+ !
444
+
445
+ !
446
+
447
+ !
448
+
449
+ !
450
+
451
+ !
452
+
453
+ !
454
+
455
+ !
456
+
457
+ !
458
+
459
+ !
460
+
461
+ !
462
+
463
+ !
464
+
465
+ ip tcp synwait-time 5
466
+
467
+ !
468
+
469
+ !
470
+
471
+ !
472
+
473
+ !
474
+
475
+ !
476
+
477
+ interface FastEthernet0/0
478
+
479
+ no ip address
480
+
481
+ shutdown
482
+
483
+ duplex auto
484
+
485
+ speed auto
486
+
487
+ !
488
+
489
+ interface Serial0/0
490
+
491
+ no ip address
492
+
493
+ shutdown
494
+
495
+ clock rate 2000000
496
+
497
+ !
498
+
499
+ interface FastEthernet0/1
500
+
501
+ no ip address
502
+
503
+ shutdown
504
+
505
+ duplex auto
506
+
507
+ speed auto
508
+
509
+ !
510
+
511
+ interface Serial0/1
512
+
513
+ no ip address
514
+
515
+ shutdown
516
+
517
+ clock rate 2000000
518
+
519
+ !
520
+
521
+ interface Serial0/2
522
+
523
+ no ip address
524
+
525
+ shutdown
526
+
527
+ clock rate 2000000
528
+
529
+ !
530
+
531
+ interface FastEthernet1/0
532
+
533
+ !
534
+
535
+ interface FastEthernet1/1
536
+
537
+ !
538
+
539
+ interface FastEthernet1/2
540
+
541
+ no switchport
542
+
543
+ ip address 192.168.1.2 255.255.255.0
544
+
545
+ !
546
+
547
+ interface FastEthernet1/3
548
+
549
+ !
550
+
551
+ interface FastEthernet1/4
552
+
553
+ no switchport
554
+
555
+ ip address 192.168.2.1 255.255.255.0
556
+
557
+ !
558
+
559
+ interface FastEthernet1/5
560
+
561
+ !
562
+
563
+ interface FastEthernet1/6
564
+
565
+ !
566
+
567
+ interface FastEthernet1/7
568
+
569
+ !
570
+
571
+ interface FastEthernet1/8
572
+
573
+ !
574
+
575
+ interface FastEthernet1/9
576
+
577
+ !
578
+
579
+ interface FastEthernet1/10
580
+
581
+ !
582
+
583
+ interface FastEthernet1/11
584
+
585
+ !
586
+
587
+ interface FastEthernet1/12
588
+
589
+ !
590
+
591
+ interface FastEthernet1/13
592
+
593
+ !
594
+
595
+ interface FastEthernet1/14
596
+
597
+ !
598
+
599
+ interface FastEthernet1/15
600
+
601
+ !
602
+
603
+ interface Vlan1
604
+
605
+ no ip address
606
+
607
+ !
608
+
609
+ ip forward-protocol nd
610
+
611
+ ip route 192.168.10.0 255.255.255.0 192.168.1.1
612
+
613
+ ip route 192.168.20.0 255.255.255.0 192.168.2.2
614
+
615
+ !
616
+
617
+ !
618
+
619
+ no ip http server
620
+
621
+ no ip http secure-server
622
+
623
+ !
624
+
625
+ no cdp log mismatch duplex
626
+
627
+ !
628
+
629
+ !
630
+
631
+ !
632
+
633
+ control-plane
634
+
635
+ !
636
+
637
+ !
638
+
639
+ !
640
+
641
+ !
642
+
643
+ !
644
+
645
+ !
646
+
647
+ !
648
+
649
+ !
650
+
651
+ !
652
+
653
+ !
654
+
655
+ line con 0
656
+
657
+ exec-timeout 0 0
658
+
659
+ privilege level 15
660
+
661
+ logging synchronous
662
+
663
+ line aux 0
664
+
665
+ exec-timeout 0 0
666
+
667
+ privilege level 15
668
+
669
+ logging synchronous
670
+
671
+ line vty 0 4
672
+
673
+ login
674
+
675
+ !
676
+
677
+ !
678
+
679
+ end
680
+
681
+ ```
682
+
683
+ ```
684
+
685
+ R4#show run
686
+
687
+ Building configuration...
688
+
689
+
690
+
691
+ Current configuration : 2114 bytes
692
+
693
+ !
694
+
695
+ version 12.4
696
+
697
+ service timestamps debug datetime msec
698
+
699
+ service timestamps log datetime msec
700
+
701
+ no service password-encryption
702
+
703
+ !
704
+
705
+ hostname R4
706
+
707
+ !
708
+
709
+ boot-start-marker
710
+
711
+ boot-end-marker
712
+
713
+ !
714
+
715
+ !
716
+
717
+ no aaa new-model
718
+
719
+ memory-size iomem 5
720
+
721
+ no ip icmp rate-limit unreachable
722
+
723
+ ip cef
724
+
725
+ !
726
+
727
+ !
728
+
729
+ !
730
+
731
+ !
732
+
733
+ no ip domain lookup
734
+
735
+ ip auth-proxy max-nodata-conns 3
736
+
737
+ ip admission max-nodata-conns 3
738
+
421
739
  ip sla monitor 1
422
740
 
423
- type echo protocol ipIcmpEcho 192.168.2.2
741
+ type echo protocol ipIcmpEcho 192.168.1.1 source-interface FastEthernet1/2
424
742
 
425
743
  ip sla monitor schedule 1 life forever start-time now
426
744
 
427
- ip sla monitor 2
428
-
429
- type echo protocol ipIcmpEcho 192.168.1.1
430
-
431
- ip sla monitor schedule 2 life forever start-time now
432
-
433
745
  !
434
746
 
435
747
  !
@@ -470,14 +782,6 @@
470
782
 
471
783
  track 1 rtr 1 reachability
472
784
 
473
- delay down 10
474
-
475
- !
476
-
477
- track 2 rtr 2 reachability
478
-
479
- delay down 10
480
-
481
785
  !
482
786
 
483
787
  !
@@ -548,26 +852,32 @@
548
852
 
549
853
  interface FastEthernet1/1
550
854
 
855
+ no switchport
856
+
857
+ ip address 192.168.20.1 255.255.255.0
858
+
551
859
  !
552
860
 
553
861
  interface FastEthernet1/2
554
862
 
555
863
  no switchport
556
864
 
557
- ip address 192.168.1.2 255.255.255.0
865
+ ip address 192.168.2.2 255.255.255.0
866
+
867
+ shutdown
558
868
 
559
869
  !
560
870
 
561
871
  interface FastEthernet1/3
562
872
 
873
+ no switchport
874
+
875
+ ip address 192.168.4.2 255.255.255.0
876
+
563
877
  !
564
878
 
565
879
  interface FastEthernet1/4
566
880
 
567
- no switchport
568
-
569
- ip address 192.168.2.1 255.255.255.0
570
-
571
881
  !
572
882
 
573
883
  interface FastEthernet1/5
@@ -622,9 +932,13 @@
622
932
 
623
933
  ip forward-protocol nd
624
934
 
625
- ip route 192.168.10.0 255.255.255.0 192.168.1.1 track 1
935
+ ip route 192.168.10.0 255.255.255.0 192.168.2.1 track 1
936
+
626
-
937
+ ip route 192.168.1.0 255.255.255.0 192.168.2.1
938
+
939
+ ip route 192.168.3.0 255.255.255.0 192.168.4.1 2
940
+
627
- ip route 192.168.20.0 255.255.255.0 192.168.2.2 track 2
941
+ ip route 192.168.10.0 255.255.255.0 192.168.4.1 2
628
942
 
629
943
  !
630
944
 
@@ -694,322 +1008,6 @@
694
1008
 
695
1009
  ```
696
1010
 
697
- ```
698
-
699
- R4#show run
700
-
701
- Building configuration...
702
-
703
-
704
-
705
- Current configuration : 1936 bytes
706
-
707
- !
708
-
709
- version 12.4
710
-
711
- service timestamps debug datetime msec
712
-
713
- service timestamps log datetime msec
714
-
715
- no service password-encryption
716
-
717
- !
718
-
719
- hostname R4
720
-
721
- !
722
-
723
- boot-start-marker
724
-
725
- boot-end-marker
726
-
727
- !
728
-
729
- !
730
-
731
- no aaa new-model
732
-
733
- memory-size iomem 5
734
-
735
- no ip icmp rate-limit unreachable
736
-
737
- ip cef
738
-
739
- !
740
-
741
- !
742
-
743
- !
744
-
745
- !
746
-
747
- no ip domain lookup
748
-
749
- ip auth-proxy max-nodata-conns 3
750
-
751
- ip admission max-nodata-conns 3
752
-
753
- !
754
-
755
- !
756
-
757
- !
758
-
759
- !
760
-
761
- !
762
-
763
- !
764
-
765
- !
766
-
767
- !
768
-
769
- !
770
-
771
- !
772
-
773
- !
774
-
775
- !
776
-
777
- !
778
-
779
- !
780
-
781
- !
782
-
783
- !
784
-
785
- !
786
-
787
- ip tcp synwait-time 5
788
-
789
- !
790
-
791
- !
792
-
793
- !
794
-
795
- !
796
-
797
- !
798
-
799
- interface FastEthernet0/0
800
-
801
- no ip address
802
-
803
- shutdown
804
-
805
- duplex auto
806
-
807
- speed auto
808
-
809
- !
810
-
811
- interface Serial0/0
812
-
813
- no ip address
814
-
815
- shutdown
816
-
817
- clock rate 2000000
818
-
819
- !
820
-
821
- interface FastEthernet0/1
822
-
823
- no ip address
824
-
825
- shutdown
826
-
827
- duplex auto
828
-
829
- speed auto
830
-
831
- !
832
-
833
- interface Serial0/1
834
-
835
- no ip address
836
-
837
- shutdown
838
-
839
- clock rate 2000000
840
-
841
- !
842
-
843
- interface Serial0/2
844
-
845
- no ip address
846
-
847
- shutdown
848
-
849
- clock rate 2000000
850
-
851
- !
852
-
853
- interface FastEthernet1/0
854
-
855
- !
856
-
857
- interface FastEthernet1/1
858
-
859
- no switchport
860
-
861
- ip address 192.168.20.1 255.255.255.0
862
-
863
- !
864
-
865
- interface FastEthernet1/2
866
-
867
- no switchport
868
-
869
- ip address 192.168.2.2 255.255.255.0
870
-
871
- !
872
-
873
- interface FastEthernet1/3
874
-
875
- no switchport
876
-
877
- ip address 192.168.4.2 255.255.255.0
878
-
879
- !
880
-
881
- interface FastEthernet1/4
882
-
883
- !
884
-
885
- interface FastEthernet1/5
886
-
887
- !
888
-
889
- interface FastEthernet1/6
890
-
891
- !
892
-
893
- interface FastEthernet1/7
894
-
895
- !
896
-
897
- interface FastEthernet1/8
898
-
899
- !
900
-
901
- interface FastEthernet1/9
902
-
903
- !
904
-
905
- interface FastEthernet1/10
906
-
907
- !
908
-
909
- interface FastEthernet1/11
910
-
911
- !
912
-
913
- interface FastEthernet1/12
914
-
915
- !
916
-
917
- interface FastEthernet1/13
918
-
919
- !
920
-
921
- interface FastEthernet1/14
922
-
923
- !
924
-
925
- interface FastEthernet1/15
926
-
927
- !
928
-
929
- interface Vlan1
930
-
931
- no ip address
932
-
933
- !
934
-
935
- ip forward-protocol nd
936
-
937
- ip route 192.168.1.0 255.255.255.0 192.168.2.1 track 2
938
-
939
- ip route 192.168.10.0 255.255.255.0 192.168.2.1 track 2
940
-
941
- ip route 192.168.3.0 255.255.255.0 192.168.4.1 2
942
-
943
- ip route 192.168.10.0 255.255.255.0 192.168.4.1 2
944
-
945
- !
946
-
947
- !
948
-
949
- no ip http server
950
-
951
- no ip http secure-server
952
-
953
- !
954
-
955
- no cdp log mismatch duplex
956
-
957
- !
958
-
959
- !
960
-
961
- !
962
-
963
- control-plane
964
-
965
- !
966
-
967
- !
968
-
969
- !
970
-
971
- !
972
-
973
- !
974
-
975
- !
976
-
977
- !
978
-
979
- !
980
-
981
- !
982
-
983
- !
984
-
985
- line con 0
986
-
987
- exec-timeout 0 0
988
-
989
- privilege level 15
990
-
991
- logging synchronous
992
-
993
- line aux 0
994
-
995
- exec-timeout 0 0
996
-
997
- privilege level 15
998
-
999
- logging synchronous
1000
-
1001
- line vty 0 4
1002
-
1003
- login
1004
-
1005
- !
1006
-
1007
- !
1008
-
1009
- end
1010
-
1011
- ```
1012
-
1013
1011
  ###疑問点
1014
1012
 
1015
1013
  ip slaとtrackの番号の使い分けや、どの機器に何のコマンドを入れればいいのか良く分かりません。

2

誤字修正

2018/02/19 13:49

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  【R1】
34
34
 
35
- fa1/3断→×
35
+ fa1/2断→×
36
36
 
37
37
 
38
38
 

1

修正

2018/02/19 13:46

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ###実現したいこと
12
12
 
13
- R1のfa1/3とR4のfa1/2をshutdownして主系から副系に切り替わるように設定したい。
13
+ R1のfa1/3とR4のfa1/2をshutdownして主系から副系に切り替わるように設定したい。
14
14
 
15
15
  主系:R1→R2→R4
16
16
 
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- ###切り替わり結果
21
+ ###現時点での切り替わり結果
22
22
 
23
23
  【R2】
24
24