Advertisement
rmh

shRun of Practice no 6

rmh
Jul 27th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. The PKT file: http://www.4shared.com/file/BUl-B_VS/006VLAN1.html
  2.  
  3.  
  4. switch0
  5.  
  6. ena
  7. conf te
  8.  
  9. also can use command:
  10.  
  11. interface range fa0/1 ...
  12. example:
  13. interface range fa0/8-18
  14. switchport mode access
  15. switchport access vlan 7
  16.  
  17.  
  18.  
  19. interface fa0/1
  20. switchport mode access
  21. switchport access vlan 5
  22. interface fa0/2
  23. switchport mode access
  24. switchport access vlan 5
  25. interface fa0/3
  26. switchport mode access
  27. switchport access vlan 5
  28. interface fa0/4
  29. switchport mode access
  30. switchport access vlan 6
  31. interface fa0/5
  32. switchport mode access
  33. switchport access vlan 6
  34. interface fa0/6
  35. switchport mode access
  36. switchport access vlan 6
  37. interface fa0/7
  38. switchport mode access
  39. switchport access vlan 6
  40. interface fa0/8
  41. switchport mode access
  42. switchport access vlan 7
  43. interface fa0/9
  44. switchport mode access
  45. switchport access vlan 7
  46. interface fa0/10
  47. switchport mode access
  48. switchport access vlan 7
  49. interface fa0/11
  50. switchport mode access
  51. switchport access vlan 7
  52. interface fa0/12
  53. switchport mode access
  54. switchport access vlan 7
  55. interface fa0/13
  56. switchport mode access
  57. switchport access vlan 7
  58. interface fa0/14
  59. switchport mode access
  60. switchport access vlan 7
  61. interface fa0/15
  62. switchport mode access
  63. switchport access vlan 7
  64. interface fa0/16
  65. switchport mode access
  66. switchport access vlan 7
  67. interface fa0/17
  68. switchport mode access
  69. switchport access vlan 7
  70. interface fa0/18
  71. switchport mode access
  72. switchport access vlan 7
  73.  
  74. int fa0/19
  75. switchport mode trunk
  76. switchport trunk native vlan 1
  77. end
  78.  
  79. int vlan 1
  80. no shut
  81.  
  82.  
  83.  
  84.  
  85.  
  86. Router
  87.  
  88. int fa0/0
  89. no shut
  90.  
  91. int fa0/0.1
  92. encapsulation dot1Q 5
  93. ip address 192.168.10.6 255.255.255.248
  94.  
  95. int fa0/0.2
  96. encapsulation dot1Q 6
  97. ip address 192.168.10.14 255.255.255.248
  98.  
  99. int fa0/0.3
  100. encapsulation dot1Q 7
  101. ip address 192.168.10.30 255.255.255.240
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement