SaveText.Ru

Без имени
  1. enable
  2. conf ter
  3. no ip domain-lookup
  4. enable secret cisco
  5. line console 0
  6. password cisco
  7. login
  8. line vty 0 15
  9. password cisco
  10. login
  11. exit
  12. int g0/0.20
  13. encapsulation dot1Q 20
  14. ip address 172.16.20.254 255.255.255.0
  15. int g0/0.40
  16. encapsulation dot1Q 40
  17. ip address 172.16.40.254 255.255.255.0
  18. int g0/0.60
  19. encapsulation dot1Q 60
  20. ip address 172.16.60.254 255.255.255.0
  21. int g0/0.88
  22. encapsulation dot1Q 88
  23. ip address 172.16.88.254 255.255.255.0
  24. int g0/0
  25. no sh
  26. int g0/1.250
  27. encapsulation dot1Q 250
  28. ip address 172.16.250.254 255.255.255.0
  29. int g0/1.254
  30. encapsulation dot1Q 254
  31. ip address 172.16.254.254 255.255.255.0
  32. int g0/1
  33. no shutdown
  34. exit
  35. access-list 10 permit 172.16.60.0 0.0.0.255
  36. access-list 10 deny any
  37. ip access-list standard INT-WEB
  38. permit 172.16.40.0 0.0.0.255
  39. permit 172.16.60.0 0.0.0.255
  40. exit
  41. line vty 0 15
  42. access-class 10 in
  43. exit
  44. int g0/1.250
  45. ip access-group INT-WEB out
  46. exit
  47. -hostname HQ (or Atom)
  48.  
  49. ---Switch 1: Mgmt or Neutron
  50. -en-/-conf ter-/-hostname Mgmt (or Neutron)ф
  51. -no ip domain-lookup-/-enable secret cisco
  52. -line console 0-/-password cisco
  53. -login-/-line vty 0 15
  54. -password cisco-/-login-/-exit
  55. -service password-encryption
  56. -vlan 20-/-name Clerical-/-vlan 40
  57. -name Acct-/-vlan 60-/-name HR
  58. -vlan 88-/-name NetAdmin-/-exit
  59. -int vlan 88
  60. -ip add 172.16.88.253 255.255.255.0
  61. -no shutdown -/-exit
  62. -ip default-gateway 172.16.88.254
  63. -vtp domain School-/-int g0/1
  64. -switchport mode trunk
  65. -int range f0/23-24
  66. -switchport mode trunk
  67.  
  68. ---Switch 2: Acct or Proton---//---Switch 3: HR or Electron
  69. -en-/-conf ter
  70. -hostname Acct (or Proton)---//---HR (or Electron)
  71. -vlan 20-/-name Clerical-/-vlan 40
  72. -name Acct-/-vlan 60-/-name HR
  73. -vlan 88-/-name NetAdmin-/-exit
  74. -int range fastEthernet 0/1-5
  75. -switchport mode access
  76. -switchport access vlan 20
  77. -int range fastEthernet 0/6-10
  78. -switchport mode access
  79. -switchport access vlan 40
  80. -int range fastEthernet 0/11-15
  81. -switchport mode access
  82. -switchport access vlan 60
  83. -exit-/-int vlan 88
  84. -ip add 172.16.88.252 255.255.255.0
  85. -no shutdown -/-exit
  86. -ip default-gateway 172.16.88.254
  87. -vtp domain School
  88. -int f0/23---//---f0/24
  89. -switchport mode trunk
  90.  

Share with your friends:

Распечатать