Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. (switche 1 od dolu)
  2. en
  3. conf t
  4. int fa0/1
  5. switchport access vlan 10
  6. vlan 10
  7. name nauczyciele
  8. exit
  9. int fa0/2
  10. switchport access vlan 20
  11. vlan 20
  12. name uczniowie
  13. exit
  14.  
  15. (switche 2 od dolu)
  16. en
  17. conf t
  18. int fa0/3
  19. switchport mode trunk
  20. switchport trunk allowed vlan add 10
  21. switchport trunk allowed vlan add 20
  22. exit
  23. do sh int trunk
  24.  
  25. (switche 3 od dolu)
  26. en
  27. conf t
  28. int fa0/4
  29. switchport mode trunk
  30. switchport trunk allowed vlan add 10
  31. switchport trunk allowed vlan add 20
  32. exit
  33. do sh int trunk
  34. end
  35.  
  36. (router)
  37. en
  38. conf t
  39. int fa0/0.10
  40. encapsulation dot1Q 10
  41. ip address 192.168.10.1 255.255.255.0
  42. exit
  43. int fa0/0.20
  44. encapsulation dot1Q 20
  45. ip address 192.168.20.1 255.255.255.0
  46. exit
  47. no sh
  48.  
  49. do sh vlan - pokazuje vlany przypisane
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement