Advertisement
tacbliw

Chặng 1,2

May 3rd, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. enable
  2. conf t
  3. hostname R3
  4. enable secret class
  5. line con 0
  6. password cisco
  7. login
  8. exit
  9. line vty 0 4
  10. password cisco
  11. login
  12. exit
  13. no ip domain-lookup
  14. banner motd #
  15. *********************************
  16. * Day la router R3 *
  17. * (mang noi bo) *
  18. *********************************#
  19. exit
  20.  
  21. copy run start
  22.  
  23.  
  24.  
  25. ============================================
  26.  
  27. conf t
  28. interface range f0/1-24
  29. shutdown
  30. exit
  31.  
  32. interface range fa0/6, fa0/11, fa0/18
  33. switchport mode access
  34. no shut
  35. exit
  36.  
  37. vlan 10
  38. name faculty
  39. vlan 20
  40. name student
  41. vlan 30
  42. name guest
  43. vlan 99
  44. name management
  45. exit
  46.  
  47. interface range fa0/6-10
  48. switchport access vlan 30
  49. interface range fa0/11-17
  50. switchport access vlan 10
  51. interface range fa0/18-24
  52. switchport access vlan 20
  53. exit
  54.  
  55. int vlan 99
  56. ip address 172.17.99.11 255.255.255.0
  57. no shut
  58.  
  59. interface range fa0/1-5
  60. switchport mode trunk
  61. switchport trunk native vlan 99
  62. no shutdown
  63. end
  64. copy run start
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement