Guest User

switch lvl 2 droit

a guest
Dec 17th, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. !
  2. version 12.2
  3. no service timestamps log datetime msec
  4. no service timestamps debug datetime msec
  5. no service password-encryption
  6. !
  7. hostname Switch
  8. !
  9. !
  10. !
  11. no ip domain-lookup
  12. !
  13. !
  14. spanning-tree mode rapid-pvst
  15. !
  16. interface FastEthernet0/1
  17. switchport access vlan 20
  18. switchport mode access
  19. !
  20. interface FastEthernet0/2
  21. switchport access vlan 20
  22. switchport mode access
  23. !
  24. interface FastEthernet0/3
  25. switchport access vlan 20
  26. switchport mode access
  27. !
  28. interface FastEthernet0/4
  29. switchport access vlan 20
  30. switchport mode access
  31. !
  32. interface FastEthernet0/5
  33. switchport access vlan 20
  34. switchport mode access
  35. !
  36. interface FastEthernet0/6
  37. switchport access vlan 20
  38. switchport mode access
  39. !
  40. interface FastEthernet0/7
  41. switchport access vlan 20
  42. switchport mode access
  43. !
  44. interface FastEthernet0/8
  45. switchport access vlan 20
  46. switchport mode access
  47. !
  48. interface FastEthernet0/9
  49. !
  50. interface FastEthernet0/10
  51. switchport trunk allowed vlan 2-1002
  52. !
  53. interface FastEthernet0/11
  54. !
  55. interface FastEthernet0/12
  56. !
  57. interface FastEthernet0/13
  58. !
  59. interface FastEthernet0/14
  60. !
  61. interface FastEthernet0/15
  62. !
  63. interface FastEthernet0/16
  64. !
  65. interface FastEthernet0/17
  66. !
  67. interface FastEthernet0/18
  68. !
  69. interface FastEthernet0/19
  70. !
  71. interface FastEthernet0/20
  72. !
  73. interface FastEthernet0/21
  74. !
  75. interface FastEthernet0/22
  76. !
  77. interface FastEthernet0/23
  78. !
  79. interface FastEthernet0/24
  80. !
  81. interface GigabitEthernet0/1
  82. switchport trunk allowed vlan 2-1001
  83. switchport mode trunk
  84. !
  85. interface GigabitEthernet0/2
  86. switchport trunk allowed vlan 2-1001
  87. switchport mode trunk
  88. !
  89. interface Vlan1
  90. no ip address
  91. shutdown
  92. !
  93. interface Vlan10
  94. no ip address
  95. !
  96. interface Vlan20
  97. no ip address
  98. !
  99. ip default-gateway 192.168.2.1
  100. !
  101. !
  102. !
  103. !
  104. line con 0
  105. !
  106. line vty 0 4
  107. login
  108. line vty 5 15
  109. login
  110. !
  111. !
  112. end
Add Comment
Please, Sign In to add comment