Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. SWITCH
  2.  
  3. en
  4. conf t
  5. int fa0/1
  6. switchport access vlan 10
  7. vlan 10
  8. name nauczyciele
  9. exit
  10. int fa0/2
  11. switchport access vlan 20
  12. vlan 20
  13. name uczniowie
  14. exit
  15. int fa0/3
  16. switchport mode trunk
  17. switchport trunk allowed vlan add 10
  18. switchport trunk allowed vlan add 20
  19. exit
  20.  
  21. ROUTER
  22.  
  23. en
  24. conf t
  25. int fa0/0.10
  26. encapsulation dot1Q 10
  27. ip address 192.168.10.1 255.255.255.0
  28. exit
  29. int fa0/0.20
  30. encapsulation dot1Q 20
  31. ip address 192.168.20.1 255.255.255.0
  32. exit
  33. int fa0/0
  34. no sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement