Teaching how to use the COSI switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

280 lines
6.0 KiB

  1. ## Last changed: 2018-09-12 23:03:34 EDT
  2. version 15.1R6.7;
  3. system {
  4. host-name swf-1;
  5. domain-name cslabs.clarkson.edu;
  6. time-zone America/New_York;
  7. root-authentication {
  8. encrypted-password ""; ## SECRET-DATA
  9. }
  10. name-server {
  11. 128.153.145.3;
  12. 8.8.8.8;
  13. }
  14. login {
  15. user jared {
  16. full-name jared;
  17. uid 100;
  18. class super-user;
  19. authentication {
  20. encrypted-password ""; ## SECRET-DATA
  21. }
  22. }
  23. user xperia64 {
  24. uid 101;
  25. class super-user;
  26. authentication {
  27. encrypted-password ""; ## SECRET-DATA
  28. }
  29. }
  30. }
  31. services {
  32. ssh {
  33. protocol-version v2;
  34. }
  35. netconf {
  36. ssh;
  37. }
  38. web-management {
  39. https {
  40. system-generated-certificate;
  41. }
  42. }
  43. }
  44. ntp {
  45. server 128.153.2.253;
  46. }
  47. }
  48. chassis {
  49. aggregated-devices {
  50. ethernet {
  51. device-count 64;
  52. }
  53. }
  54. auto-image-upgrade;
  55. }
  56. security {
  57. certificates {
  58. local {
  59. priv {
  60. ""; ## SECRET-DATA
  61. }
  62. pub {
  63. "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxdq5kegGdG1O/W6Ny0QN\nIo1M0s6mShDQ8EX4K7GFi5iu8Log76VJ3VQVVmsBb3u682N3jKkrGeLx4J+EYHeL\nIFievk+7ZF7eW2VQyL+ckQf0EPtygpKozmnJu/l6brC3vLeJxWLaI3xaJewazr8B\niYxs29Sc0ttUjrz5OJMUz87wBzmKqGcBFhqj8IP3FbJ3sCXO+5/6rZ5ng7tAY5K9\nuVVOsuK4P6ehI/gbxvyiNq9mgWMOO4mSUZn/F9unG3XmVrQ48ywggx5Dm1EDVoXf\nuouNRaJ6HpSV6l4OIY2CKDoX9calIoyimLDPn+Qb1p8/x/E7AvAkMCThXiC0r6M6\n1QIDAQAB\n-----END PUBLIC KEY-----\n "; ## SECRET-DATA
  64. }
  65. }
  66. }
  67. }
  68. interfaces {
  69. xe-0/0/0 {
  70. description "to OIT sc-334-c2960s";
  71. unit 0 {
  72. family ethernet-switching;
  73. }
  74. }
  75. ge-0/0/1 {
  76. description "to OIT (146)";
  77. unit 0 {
  78. family ethernet-switching {
  79. port-mode access;
  80. vlan {
  81. members 4;
  82. }
  83. }
  84. }
  85. }
  86. xe-0/0/2 {
  87. description "to Ziltoid in";
  88. unit 0 {
  89. family ethernet-switching;
  90. }
  91. }
  92. xe-0/0/3 {
  93. description "to Ziltoid out";
  94. unit 0 {
  95. family ethernet-switching;
  96. }
  97. }
  98. xe-0/0/4 {
  99. description "to mirror";
  100. unit 0 {
  101. family ethernet-switching;
  102. }
  103. }
  104. xe-0/0/9 {
  105. description "to bacon";
  106. unit 0 {
  107. family ethernet-switching;
  108. }
  109. }
  110. xe-0/0/10 {
  111. description "to hydra";
  112. unit 0 {
  113. family ethernet-switching {
  114. port-mode trunk;
  115. vlan {
  116. members [ v2_cosi_priv v4_cosi_146 v5_cosi_voip ];
  117. }
  118. }
  119. }
  120. }
  121. xe-0/0/11 {
  122. description "to elephant";
  123. unit 0 {
  124. family ethernet-switching;
  125. }
  126. }
  127. xe-0/0/12 {
  128. description "temp to Grand Dad";
  129. unit 0 {
  130. family ethernet-switching {
  131. port-mode trunk;
  132. vlan {
  133. members [ v2_cosi_priv v4_cosi_146 v5_cosi_voip ];
  134. }
  135. }
  136. }
  137. }
  138. ge-0/0/20 {
  139. description "to swm1";
  140. ether-options {
  141. 802.3ad ae0;
  142. }
  143. }
  144. ge-0/0/21 {
  145. description "to swm1";
  146. ether-options {
  147. 802.3ad ae0;
  148. }
  149. }
  150. ge-0/0/22 {
  151. description "to swm1";
  152. ether-options {
  153. 802.3ad ae0;
  154. }
  155. }
  156. ge-0/0/23 {
  157. description "to swm1";
  158. ether-options {
  159. 802.3ad ae0;
  160. }
  161. }
  162. ge-0/0/24 {
  163. description "to swm2";
  164. unit 0 {
  165. family ethernet-switching {
  166. port-mode trunk;
  167. vlan {
  168. members [ v2_cosi_priv v4_cosi_146 v5_cosi_voip ];
  169. }
  170. }
  171. }
  172. }
  173. ge-0/0/26 {
  174. description "to swm3";
  175. unit 0 {
  176. family ethernet-switching {
  177. port-mode trunk;
  178. vlan {
  179. members [ v2_cosi_priv v4_cosi_146 v5_cosi_voip ];
  180. }
  181. }
  182. }
  183. }
  184. ae0 {
  185. description "to swm1";
  186. aggregated-ether-options {
  187. lacp {
  188. active;
  189. }
  190. }
  191. unit 0 {
  192. family ethernet-switching {
  193. port-mode trunk;
  194. vlan {
  195. members [ v4_cosi_146 v2_cosi_priv v5_cosi_voip ];
  196. }
  197. }
  198. }
  199. }
  200. me0 {
  201. unit 0 {
  202. family inet {
  203. address 128.153.145.20/23;
  204. }
  205. }
  206. }
  207. }
  208. snmp {
  209. location SC-334a;
  210. contact "dunbarj@clarkson.edu";
  211. community cacti {
  212. authorization read-only;
  213. }
  214. }
  215. routing-options {
  216. static {
  217. route 0.0.0.0/0 next-hop 128.153.145.1;
  218. }
  219. }
  220. protocols {
  221. igmp-snooping {
  222. vlan all;
  223. }
  224. stp {
  225. bridge-priority 0;
  226. max-age 6;
  227. hello-time 1;
  228. forward-delay 4;
  229. interface xe-0/0/0.0 {
  230. disable;
  231. }
  232. interface ge-0/0/1.0 {
  233. disable;
  234. }
  235. interface xe-0/0/2.0 {
  236. disable;
  237. }
  238. interface xe-0/0/3.0 {
  239. disable;
  240. }
  241. }
  242. rstp {
  243. disable;
  244. }
  245. lldp {
  246. interface all;
  247. }
  248. lldp-med {
  249. interface all;
  250. }
  251. }
  252. ethernet-switching-options {
  253. voip;
  254. storm-control {
  255. interface all;
  256. }
  257. }
  258. vlans {
  259. default;
  260. v2_cosi_priv {
  261. vlan-id 2;
  262. interface {
  263. xe-0/0/3.0;
  264. xe-0/0/9.0;
  265. xe-0/0/11.0;
  266. ge-0/0/24.0;
  267. ge-0/0/26.0;
  268. }
  269. }
  270. v3_cosi_pub {
  271. vlan-id 3;
  272. }
  273. v4_cosi_146 {
  274. vlan-id 4;
  275. }
  276. v5_cosi_voip {
  277. vlan-id 5;
  278. }
  279. }