Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. ###AveiroEd1
  2.  
  3.  
  4. #SW1
  5.  
  6.  
  7. #Vlans
  8.  
  9. vlan database
  10. vlan 1
  11. vlan 9
  12. vlan 17
  13. vlan 101
  14. exit
  15. write
  16.  
  17. conf t
  18. int vlan 1
  19. no shut
  20. ip address 10.5.0.254 255.255.255.0
  21. no autostate
  22. ip ospf 1 area 0
  23. ipv6 enable
  24. ipv6 address 2100:1:1:1280::254/64
  25. ipv6 ospf 1 area 0
  26.  
  27.  
  28. int vlan 9
  29. no shut
  30. ip address 10.0.32.254 255.255.255.0
  31. no autostate
  32. ip ospf 1 area 0
  33. ipv6 enable
  34. ipv6 address 2100:1:1:32::255/64
  35. ipv6 ospf 1 area 0
  36.  
  37.  
  38. int vlan 17
  39. no shut
  40. ip address 10.0.72.254 255.255.255.0
  41. no autostate
  42. ip ospf 1 area 0
  43. ipv6 enable
  44. ipv6 address 2100:1:1:72::255/64
  45. ipv6 ospf 1 area 0
  46.  
  47. int vlan 101
  48. no shut
  49. ip address 10.5.101.0 255.255.255.0
  50. no autostate
  51. ip ospf 1 area 0
  52. ipv6 enable
  53. ipv6 address 2100:1:1:101::255/64
  54. ipv6 ospf 1 area 0
  55. end
  56. write
  57.  
  58. #confs
  59.  
  60. conf t
  61. ip routing
  62. ipv6 unicast-routing
  63. ipv6 router ospf 1
  64. router-id 1.1.1.1
  65. end
  66. write
  67.  
  68. ### confs trunk ports
  69. conf t
  70. ip routing
  71. int range f1/2 - 3
  72. no shut
  73. switchport mode trunk
  74. switchport trunk encapsulation dot1Q
  75.  
  76. ## confs core conec
  77. conf t
  78. int range f1/0 - 1
  79. no shut
  80. switchport mode trunk
  81. switchport trunk allowed vlan 1,101,1002-1005
  82. end
  83. write
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement