Advertisement
worms005

2b sieci

Mar 12th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. *************************************************************************
  2. Laboratorium 2
  3. Ćw. 2.3.3.5 konfiguracja adresu zarządzania przełącznika
  4. *************************************************************************
  5. -------------------------------------------------------------------------
  6. Pytanie: Wynik działania komendy ping wydanej na adres przełącznika 192.168.1.2
  7. Odpowiedź:
  8. C:\Settings\Student>ping 192.168.1.2
  9.  
  10. Badanie 192.168.1.2 z użyciem 32 bajtów danych:
  11.  
  12. Odpowiedź z 192.168.1.2: bajtów=32 czas<1 ms TTL=255
  13. Odpowiedź z 192.168.1.2: bajtów=32 czas<1 ms TTL=255
  14. Odpowiedź z 192.168.1.2: bajtów=32 czas<1 ms TTL=255
  15. Odpowiedź z 192.168.1.2: bajtów=32 czas<1 ms TTL=255
  16.  
  17. Statystyka badania ping dla 192.168.1.2:
  18. Pakiety: Wysłane = 4, Odebrane = 4, Utracone = 0 (0% straty),
  19. Szacunkowy czas błądzenia pakietów w millisekundach:
  20. Minimum = 0 ms, Maksimum = 0 ms, Czas średni = 0 ms
  21.  
  22. C:\Settings\Student>
  23.  
  24. -------------------------------------------------------------------------
  25. Pytanie: Dlaczego musisz użyć połączenia konsolowego do wstępnej konfiguracji przełącznika? Dlaczego nie używa się od razu połączenia przy użyciu Telnetu lub SSH?
  26. Odpowiedź: Poniewaz nie ma konfiguracji w tym ustawionego adresu IP, przez który mozna by się połączyć przy uzyciu tych protokołów.
  27. -------------------------------------------------------------------------
  28. Pytanie: Konfiguracja przełącznika
  29. Odpowiedź:
  30. S1E#show run
  31. Building configuration...
  32.  
  33. Current configuration : 1436 bytes
  34. !
  35. version 12.2
  36. no service pad
  37. service timestamps debug uptime
  38. service timestamps log uptime
  39. no service password-encryption
  40. !
  41. hostname S1E
  42. !
  43. enable secret 5 $1$Xonv$X9qzfmRdZXZJGGtRaG6vy/
  44. !
  45. no aaa new-model
  46. system mtu routing 1500
  47. ip subnet-zero
  48. !
  49. no ip domain-lookup
  50. !
  51. !
  52. !
  53. no file verify auto
  54. spanning-tree mode pvst
  55. spanning-tree extend system-id
  56. !
  57. vlan internal allocation policy ascending
  58. !
  59. interface FastEthernet0/1
  60. !
  61. interface FastEthernet0/2
  62. !
  63. interface FastEthernet0/3
  64. !
  65. interface FastEthernet0/4
  66. !
  67. interface FastEthernet0/5
  68. !
  69. interface FastEthernet0/6
  70. !
  71. interface FastEthernet0/7
  72. !
  73. interface FastEthernet0/8
  74. !
  75. interface FastEthernet0/9
  76. !
  77. interface FastEthernet0/10
  78. !
  79. interface FastEthernet0/11
  80. !
  81. interface FastEthernet0/12
  82. !
  83. interface FastEthernet0/13
  84. !
  85. interface FastEthernet0/14
  86. !
  87. interface FastEthernet0/15
  88. !
  89. interface FastEthernet0/16
  90. !
  91. interface FastEthernet0/17
  92. !
  93. interface FastEthernet0/18
  94. !
  95. interface FastEthernet0/19
  96. !
  97. interface FastEthernet0/20
  98. !
  99. interface FastEthernet0/21
  100. !
  101. interface FastEthernet0/22
  102. !
  103. interface FastEthernet0/23
  104. !
  105. interface FastEthernet0/24
  106. !
  107. interface GigabitEthernet0/1
  108. !
  109. interface GigabitEthernet0/2
  110. !
  111. interface Vlan1
  112. ip address 192.168.1.2 255.255.255.0
  113. no ip route-cache
  114. !
  115. ip http server
  116. !
  117. control-plane
  118. !
  119. banner motd ^C
  120. Nieutaoryzowany dostep jest zabroniony. To jest baner do zadania 2 ! ^C
  121. !
  122. line con 0
  123. password cisco
  124. login
  125. line vty 0 4
  126. password cisco
  127. login
  128. line vty 5 15
  129. login
  130. !
  131. end
  132.  
  133.  
  134. -------------------------------------------------------------------------
  135. *************************************************************************
  136. Nr_indeksu: 200619
  137. *************************************************************************
  138. Ocena:
  139. *************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement