Advertisement
koen_hendriks

Untitled

May 26th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. Router
  2.  
  3. erase start
  4. delete flash:vlan.dat
  5. reload
  6.  
  7. config terminal
  8.  
  9. line console 0
  10. password cisco
  11. login
  12. exit
  13.  
  14. line vty 0 15
  15. password cisco
  16. login
  17. exit
  18.  
  19. enable secret class
  20. service password-encryption
  21. exit
  22.  
  23. interface fastEthernet 0/0.150
  24. encapsulation dot1Q.150
  25. ip address 192.168.150.2 255.255.255.0
  26. exit
  27.  
  28. interface fastEthernet 0/0.153
  29. encapsulation dot1Q.153
  30. ip address 192.168.153.1 255.255.255.0
  31. exit
  32.  
  33. interface fastEthernet 0/0.154
  34. encapsulation dot1Q.154
  35. ip address 192.168.154.1 255.255.255.0
  36. exit
  37.  
  38. interface fastEthernet 0/0.155
  39. encapsulation dot1Q.155
  40. ip address 192.168.155.1 255.255.255.0
  41. exit
  42.  
  43. interface fastEthernet 0/0
  44. no shutdown
  45. exit
  46.  
  47. ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0.150 192.168.150.1
  48.  
  49.  
  50.  
  51.  
  52. Switch
  53.  
  54.  
  55. erase start
  56. delete flash:vlan.dat
  57. reload
  58.  
  59. config terminal
  60.  
  61. line console 0
  62. password cisco
  63. login
  64. exit
  65.  
  66. line vty 0 15
  67. password cisco
  68. login
  69. exit
  70.  
  71. enable secret class
  72. service password-encryption
  73.  
  74. do show run
  75.  
  76. vlan x
  77. name wan
  78. exit
  79.  
  80. vlan x+3
  81. name lan1
  82. exit
  83.  
  84. vlan x+4
  85. name lan2
  86. exit
  87.  
  88. vlan x+5
  89. name management
  90. exit
  91.  
  92. interface fastEthernet 0/1
  93. switchport mode access
  94. switchport access vlan 150
  95. exit
  96.  
  97. interface fastEthernet 0/3
  98. switchport mode access
  99. switchport access vlan 153
  100. exit
  101.  
  102. interface fastEthernet 0/4
  103. switchport mode access
  104. switchport access vlan 154
  105. exit
  106.  
  107. interface fastEthernet 0/5
  108. switchport mode access
  109. switchport access vlan 155
  110. exit
  111.  
  112. vlan 155
  113. ip address 192.168.155.100 255.255.255.0
  114. no shutdown
  115. exit
  116.  
  117. interface fastEthernet 0/6
  118. switchport mode trunk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement