Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. vlan 100(10.10.10.0/24)
  2. vlan 501(10.50.1.0/24)
  3.  
  4. Switch#show running-config
  5. Building configuration...
  6.  
  7. Current configuration : 1427 bytes
  8. !
  9. version 12.2(37)SE1
  10. no service timestamps log datetime msec
  11. no service timestamps debug datetime msec
  12. no service password-encryption
  13. !
  14. hostname Switch
  15.  
  16. !
  17. spanning-tree mode pvst
  18. !
  19. !
  20. !
  21. !
  22. !
  23. !
  24. interface FastEthernet0/1
  25. ...
  26. interface FastEthernet0/24
  27. !
  28. interface GigabitEthernet0/1
  29. switchport trunk encapsulation dot1q
  30. switchport mode trunk
  31. !
  32. interface GigabitEthernet0/2
  33. switchport trunk encapsulation dot1q
  34. switchport mode trunk
  35. !
  36. interface Vlan1
  37. no ip address
  38. shutdown
  39. !
  40. interface Vlan100
  41. mac-address 0005.5ed1.7601
  42. ip address 10.10.10.1 255.255.255.0
  43. !
  44. interface Vlan501
  45. mac-address 0005.5ed1.7602
  46. ip address 10.50.1.254 255.255.255.0
  47. !
  48. ip classless
  49. !
  50. ip flow-export version 9
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. !
  58. !
  59. line con 0
  60. !
  61. line aux 0
  62. !
  63. line vty 0 4
  64. login
  65. !
  66. !
  67. !
  68. !
  69. end
  70.  
  71. Switch#show running-config
  72. Building configuration...
  73.  
  74. Current configuration : 1341 bytes
  75. !
  76. version 12.2(37)SE1
  77. no service timestamps log datetime msec
  78. no service timestamps debug datetime msec
  79. no service password-encryption
  80. !
  81. hostname Switch
  82. !
  83.  
  84. !
  85. spanning-tree mode pvst
  86. !
  87. !
  88. !
  89. !
  90. !
  91. !
  92. interface FastEthernet0/1
  93. ...
  94. interface FastEthernet0/24
  95. !
  96. interface GigabitEthernet0/1
  97. switchport trunk encapsulation dot1q
  98. switchport mode trunk
  99. !
  100. interface GigabitEthernet0/2
  101. switchport trunk encapsulation dot1q
  102. switchport mode trunk
  103. !
  104. interface Vlan1
  105. no ip address
  106. shutdown
  107. !
  108. interface Vlan100
  109. mac-address 00d0.ff83.b201
  110. ip address 10.10.10.2 255.255.255.0
  111. !
  112. ip classless
  113. !
  114. ip flow-export version 9
  115. !
  116. !
  117. !
  118. !
  119. !
  120. !
  121. !
  122. !
  123. line con 0
  124. !
  125. line aux 0
  126. !
  127. line vty 0 4
  128. login
  129. !
  130. !
  131. !
  132. !
  133. end
  134.  
  135. Switch#show running-config
  136. Building configuration...
  137.  
  138. Current configuration : 1459 bytes
  139. !
  140. version 12.2(37)SE1
  141. no service timestamps log datetime msec
  142. no service timestamps debug datetime msec
  143. no service password-encryption
  144. !
  145. hostname Switch
  146. !
  147. !
  148. spanning-tree mode pvst
  149. !
  150. !
  151. !
  152. !
  153. !
  154. !
  155. interface FastEthernet0/1
  156. switchport access vlan 501
  157. !
  158. interface FastEthernet0/2
  159. ...
  160. !
  161. interface FastEthernet0/24
  162. !
  163. interface GigabitEthernet0/1
  164. switchport trunk encapsulation dot1q
  165. switchport mode trunk
  166. !
  167. interface GigabitEthernet0/2
  168. switchport access vlan 501
  169. switchport trunk encapsulation dot1q
  170. switchport mode access
  171. switchport nonegotiate
  172. !
  173. interface Vlan1
  174. no ip address
  175. shutdown
  176. !
  177. interface Vlan100
  178. mac-address 0002.179a.3701
  179. ip address 10.10.10.3 255.255.255.0
  180. !
  181. ip classless
  182. ip route 0.0.0.0 0.0.0.0 10.10.10.1
  183. !
  184. ip flow-export version 9
  185. !
  186. !
  187. !
  188. line con 0
  189. !
  190. line aux 0
  191. !
  192. line vty 0 4
  193. login
  194. !
  195. !
  196. !
  197. !
  198. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement