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.

1208 lines
38 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <topology xmlns="http://www.cisco.com/VIRL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="0.95" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.95/virl.xsd">
  3. <node name="Router-A" type="SIMPLE" subtype="IOSv" location="236,245">
  4. <extensions>
  5. <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
  6. <entry key="AutoNetkit.IGP" type="String">eigrp</entry>
  7. <entry key="Auto-generate config" type="Boolean">false</entry>
  8. <entry key="config" type="String">!&#xD;
  9. ! Last configuration change at 22:03:48 UTC Sun Jan 15 2017&#xD;
  10. !&#xD;
  11. version 15.6&#xD;
  12. service timestamps debug datetime msec&#xD;
  13. service timestamps log datetime msec&#xD;
  14. no service password-encryption&#xD;
  15. !&#xD;
  16. hostname Router-A&#xD;
  17. !&#xD;
  18. boot-start-marker&#xD;
  19. boot-end-marker&#xD;
  20. !&#xD;
  21. !&#xD;
  22. vrf definition Mgmt-intf&#xD;
  23. !&#xD;
  24. address-family ipv4&#xD;
  25. exit-address-family&#xD;
  26. !&#xD;
  27. address-family ipv6&#xD;
  28. exit-address-family&#xD;
  29. !&#xD;
  30. enable password cisco&#xD;
  31. !&#xD;
  32. no aaa new-model&#xD;
  33. ethernet lmi ce&#xD;
  34. !&#xD;
  35. !&#xD;
  36. !&#xD;
  37. mmi polling-interval 60&#xD;
  38. no mmi auto-configure&#xD;
  39. no mmi pvc&#xD;
  40. mmi snmp-timeout 180&#xD;
  41. !&#xD;
  42. !&#xD;
  43. !&#xD;
  44. !&#xD;
  45. !&#xD;
  46. !&#xD;
  47. !&#xD;
  48. !&#xD;
  49. !&#xD;
  50. !&#xD;
  51. !&#xD;
  52. no ip domain lookup&#xD;
  53. ip cef&#xD;
  54. ipv6 unicast-routing&#xD;
  55. ipv6 cef&#xD;
  56. !&#xD;
  57. multilink bundle-name authenticated&#xD;
  58. !&#xD;
  59. !&#xD;
  60. !&#xD;
  61. !&#xD;
  62. !&#xD;
  63. redundancy&#xD;
  64. !&#xD;
  65. no cdp run&#xD;
  66. !&#xD;
  67. ! &#xD;
  68. !&#xD;
  69. !&#xD;
  70. !&#xD;
  71. !&#xD;
  72. !&#xD;
  73. !&#xD;
  74. !&#xD;
  75. !&#xD;
  76. !&#xD;
  77. !&#xD;
  78. !&#xD;
  79. !&#xD;
  80. interface Loopback0&#xD;
  81. description Loopback&#xD;
  82. ip address 192.168.0.2 255.255.255.255&#xD;
  83. !&#xD;
  84. interface GigabitEthernet0/0&#xD;
  85. description OOB Management&#xD;
  86. vrf forwarding Mgmt-intf&#xD;
  87. ip address 10.255.0.229 255.255.0.0&#xD;
  88. duplex full&#xD;
  89. speed auto&#xD;
  90. media-type rj45&#xD;
  91. !&#xD;
  92. interface GigabitEthernet0/1&#xD;
  93. description to ISP&#xD;
  94. ip address 192.168.101.2 255.255.255.252&#xD;
  95. duplex full&#xD;
  96. speed auto&#xD;
  97. media-type rj45&#xD;
  98. !&#xD;
  99. ip forward-protocol nd&#xD;
  100. !&#xD;
  101. !&#xD;
  102. no ip http server&#xD;
  103. no ip http secure-server&#xD;
  104. ip route 0.0.0.0 0.0.0.0 192.168.101.1&#xD;
  105. !&#xD;
  106. !&#xD;
  107. !&#xD;
  108. !&#xD;
  109. control-plane&#xD;
  110. !&#xD;
  111. banner exec `&#xD;
  112. **************************************************************************&#xD;
  113. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  114. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  115. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  116. * of the IOSv Software or Documentation to any third party for any *&#xD;
  117. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  118. * Cisco in writing. *&#xD;
  119. **************************************************************************`&#xD;
  120. banner incoming `&#xD;
  121. **************************************************************************&#xD;
  122. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  123. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  124. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  125. * of the IOSv Software or Documentation to any third party for any *&#xD;
  126. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  127. * Cisco in writing. *&#xD;
  128. **************************************************************************`&#xD;
  129. banner login `&#xD;
  130. **************************************************************************&#xD;
  131. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  132. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  133. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  134. * of the IOSv Software or Documentation to any third party for any *&#xD;
  135. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  136. * Cisco in writing. *&#xD;
  137. **************************************************************************`&#xD;
  138. !&#xD;
  139. line con 0&#xD;
  140. password cisco&#xD;
  141. line aux 0&#xD;
  142. line vty 0 4&#xD;
  143. exec-timeout 720 0&#xD;
  144. password cisco&#xD;
  145. login&#xD;
  146. transport input telnet ssh&#xD;
  147. !&#xD;
  148. no scheduler allocate&#xD;
  149. !&#xD;
  150. end</entry>
  151. </extensions>
  152. <interface id="0" name="GigabitEthernet0/1" ipv4="192.168.101.2" netPrefixLenV4="24"/>
  153. <interface id="1" name="GigabitEthernet0/2" ipv4="192.168.1.1" netPrefixLenV4="24"/>
  154. <interface id="2" name="GigabitEthernet0/3"/>
  155. <interface id="3" name="GigabitEthernet0/4"/>
  156. </node>
  157. <node name="Router-B" type="SIMPLE" subtype="IOSv" location="463,232">
  158. <extensions>
  159. <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
  160. <entry key="Auto-generate config" type="Boolean">false</entry>
  161. <entry key="config" type="String">!&#xD;
  162. ! Last configuration change at 22:03:51 UTC Sun Jan 15 2017&#xD;
  163. !&#xD;
  164. version 15.6&#xD;
  165. service timestamps debug datetime msec&#xD;
  166. service timestamps log datetime msec&#xD;
  167. no service password-encryption&#xD;
  168. !&#xD;
  169. hostname Router-B&#xD;
  170. !&#xD;
  171. boot-start-marker&#xD;
  172. boot-end-marker&#xD;
  173. !&#xD;
  174. !&#xD;
  175. vrf definition Mgmt-intf&#xD;
  176. !&#xD;
  177. address-family ipv4&#xD;
  178. exit-address-family&#xD;
  179. !&#xD;
  180. address-family ipv6&#xD;
  181. exit-address-family&#xD;
  182. !&#xD;
  183. enable password cisco&#xD;
  184. !&#xD;
  185. no aaa new-model&#xD;
  186. ethernet lmi ce&#xD;
  187. !&#xD;
  188. !&#xD;
  189. !&#xD;
  190. mmi polling-interval 60&#xD;
  191. no mmi auto-configure&#xD;
  192. no mmi pvc&#xD;
  193. mmi snmp-timeout 180&#xD;
  194. !&#xD;
  195. !&#xD;
  196. !&#xD;
  197. !&#xD;
  198. !&#xD;
  199. !&#xD;
  200. !&#xD;
  201. !&#xD;
  202. !&#xD;
  203. !&#xD;
  204. !&#xD;
  205. no ip domain lookup&#xD;
  206. ip cef&#xD;
  207. ipv6 unicast-routing&#xD;
  208. ipv6 cef&#xD;
  209. !&#xD;
  210. multilink bundle-name authenticated&#xD;
  211. !&#xD;
  212. !&#xD;
  213. !&#xD;
  214. !&#xD;
  215. !&#xD;
  216. redundancy&#xD;
  217. !&#xD;
  218. no cdp run&#xD;
  219. !&#xD;
  220. ! &#xD;
  221. !&#xD;
  222. !&#xD;
  223. !&#xD;
  224. !&#xD;
  225. !&#xD;
  226. !&#xD;
  227. !&#xD;
  228. !&#xD;
  229. !&#xD;
  230. !&#xD;
  231. !&#xD;
  232. !&#xD;
  233. interface Loopback0&#xD;
  234. description Loopback&#xD;
  235. ip address 192.168.0.3 255.255.255.255&#xD;
  236. !&#xD;
  237. interface GigabitEthernet0/0&#xD;
  238. description OOB Management&#xD;
  239. vrf forwarding Mgmt-intf&#xD;
  240. ip address 10.255.0.230 255.255.0.0&#xD;
  241. duplex full&#xD;
  242. speed auto&#xD;
  243. media-type rj45&#xD;
  244. !&#xD;
  245. interface GigabitEthernet0/1&#xD;
  246. description to ISP&#xD;
  247. ip address 192.168.102.2 255.255.255.252&#xD;
  248. ip ospf cost 1&#xD;
  249. duplex full&#xD;
  250. speed auto&#xD;
  251. media-type rj45&#xD;
  252. !&#xD;
  253. ip forward-protocol nd&#xD;
  254. !&#xD;
  255. !&#xD;
  256. no ip http server&#xD;
  257. no ip http secure-server&#xD;
  258. ip route 0.0.0.0 0.0.0.0 192.168.102.1&#xD;
  259. !&#xD;
  260. !&#xD;
  261. !&#xD;
  262. !&#xD;
  263. control-plane&#xD;
  264. !&#xD;
  265. banner exec `&#xD;
  266. **************************************************************************&#xD;
  267. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  268. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  269. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  270. * of the IOSv Software or Documentation to any third party for any *&#xD;
  271. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  272. * Cisco in writing. *&#xD;
  273. **************************************************************************`&#xD;
  274. banner incoming `&#xD;
  275. **************************************************************************&#xD;
  276. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  277. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  278. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  279. * of the IOSv Software or Documentation to any third party for any *&#xD;
  280. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  281. * Cisco in writing. *&#xD;
  282. **************************************************************************`&#xD;
  283. banner login `&#xD;
  284. **************************************************************************&#xD;
  285. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  286. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  287. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  288. * of the IOSv Software or Documentation to any third party for any *&#xD;
  289. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  290. * Cisco in writing. *&#xD;
  291. **************************************************************************`&#xD;
  292. !&#xD;
  293. line con 0&#xD;
  294. password cisco&#xD;
  295. line aux 0&#xD;
  296. line vty 0 4&#xD;
  297. exec-timeout 720 0&#xD;
  298. password cisco&#xD;
  299. login&#xD;
  300. transport input telnet ssh&#xD;
  301. !&#xD;
  302. no scheduler allocate&#xD;
  303. !&#xD;
  304. end</entry>
  305. </extensions>
  306. <interface id="0" name="GigabitEthernet0/1"/>
  307. <interface id="1" name="GigabitEthernet0/2" netPrefixLenV4="24"/>
  308. </node>
  309. <node name="Internet&#xD;&#xA;" type="ASSET" subtype="FLAT" location="391,42">
  310. <extensions>
  311. <entry key="host_network" type="String">flat</entry>
  312. </extensions>
  313. <interface id="0" name="link0"/>
  314. </node>
  315. <node name="Switch-A" type="SIMPLE" subtype="IOSvL2" location="512,305">
  316. <extensions>
  317. <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
  318. <entry key="Auto-generate config" type="Boolean">false</entry>
  319. <entry key="config" type="String">!&#xD;
  320. ! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
  321. !&#xD;
  322. version 15.2&#xD;
  323. service timestamps debug datetime msec&#xD;
  324. service timestamps log datetime msec&#xD;
  325. no service password-encryption&#xD;
  326. service compress-config&#xD;
  327. !&#xD;
  328. hostname Switch-A&#xD;
  329. !&#xD;
  330. boot-start-marker&#xD;
  331. boot-end-marker&#xD;
  332. !&#xD;
  333. !&#xD;
  334. vrf definition Mgmt-intf&#xD;
  335. !&#xD;
  336. address-family ipv4&#xD;
  337. exit-address-family&#xD;
  338. !&#xD;
  339. address-family ipv6&#xD;
  340. exit-address-family&#xD;
  341. !&#xD;
  342. enable password cisco&#xD;
  343. !&#xD;
  344. no aaa new-model&#xD;
  345. !&#xD;
  346. !&#xD;
  347. !&#xD;
  348. !&#xD;
  349. !&#xD;
  350. !&#xD;
  351. !&#xD;
  352. !&#xD;
  353. no ip domain-lookup&#xD;
  354. ip cef&#xD;
  355. no ipv6 cef&#xD;
  356. !&#xD;
  357. !&#xD;
  358. !&#xD;
  359. spanning-tree mode pvst&#xD;
  360. spanning-tree extend system-id&#xD;
  361. !&#xD;
  362. vlan internal allocation policy ascending&#xD;
  363. !&#xD;
  364. ! &#xD;
  365. !&#xD;
  366. !&#xD;
  367. !&#xD;
  368. !&#xD;
  369. !&#xD;
  370. !&#xD;
  371. !&#xD;
  372. !&#xD;
  373. !&#xD;
  374. !&#xD;
  375. !&#xD;
  376. !&#xD;
  377. interface Loopback0&#xD;
  378. description Loopback&#xD;
  379. no ip address&#xD;
  380. !&#xD;
  381. interface GigabitEthernet0/1&#xD;
  382. description to Router-B&#xD;
  383. switchport access vlan 2&#xD;
  384. switchport mode access&#xD;
  385. media-type rj45&#xD;
  386. negotiation auto&#xD;
  387. !&#xD;
  388. interface GigabitEthernet0/2&#xD;
  389. description to Switch-B&#xD;
  390. switchport access vlan 2&#xD;
  391. switchport mode access&#xD;
  392. media-type rj45&#xD;
  393. negotiation auto&#xD;
  394. !&#xD;
  395. interface GigabitEthernet0/3&#xD;
  396. description to Server-C&#xD;
  397. switchport access vlan 2&#xD;
  398. switchport mode access&#xD;
  399. media-type rj45&#xD;
  400. negotiation auto&#xD;
  401. !&#xD;
  402. interface GigabitEthernet0/0&#xD;
  403. description OOB management&#xD;
  404. no switchport&#xD;
  405. ip address 10.255.0.231 255.255.0.0&#xD;
  406. negotiation auto&#xD;
  407. !&#xD;
  408. ip forward-protocol nd&#xD;
  409. !&#xD;
  410. no ip http server&#xD;
  411. no ip http secure-server&#xD;
  412. !&#xD;
  413. !&#xD;
  414. !&#xD;
  415. !&#xD;
  416. !&#xD;
  417. !&#xD;
  418. control-plane&#xD;
  419. !&#xD;
  420. banner exec `&#xD;
  421. **************************************************************************&#xD;
  422. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  423. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  424. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  425. * of the IOSv Software or Documentation to any third party for any *&#xD;
  426. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  427. * Cisco in writing. *&#xD;
  428. **************************************************************************`&#xD;
  429. banner incoming `&#xD;
  430. **************************************************************************&#xD;
  431. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  432. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  433. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  434. * of the IOSv Software or Documentation to any third party for any *&#xD;
  435. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  436. * Cisco in writing. *&#xD;
  437. **************************************************************************`&#xD;
  438. banner login `&#xD;
  439. **************************************************************************&#xD;
  440. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  441. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  442. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  443. * of the IOSv Software or Documentation to any third party for any *&#xD;
  444. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  445. * Cisco in writing. *&#xD;
  446. **************************************************************************`&#xD;
  447. !&#xD;
  448. line con 0&#xD;
  449. password cisco&#xD;
  450. line aux 0&#xD;
  451. line vty 0 4&#xD;
  452. exec-timeout 720 0&#xD;
  453. password cisco&#xD;
  454. login&#xD;
  455. transport input telnet ssh&#xD;
  456. !&#xD;
  457. mac address-table aging-time 10&#xD;
  458. !&#xD;
  459. end</entry>
  460. </extensions>
  461. <interface id="0" name="GigabitEthernet0/1"/>
  462. <interface id="1" name="GigabitEthernet0/2"/>
  463. <interface id="2" name="GigabitEthernet0/3"/>
  464. <interface id="3" name="GigabitEthernet1/0"/>
  465. <interface id="4" name="GigabitEthernet1/1"/>
  466. </node>
  467. <node name="ISP" type="SIMPLE" subtype="lxc" location="343,149">
  468. <extensions>
  469. <entry key="Auto-generate config" type="Boolean">false</entry>
  470. <entry key="config" type="String">#cloud-config&#xD;
  471. bootcmd:&#xD;
  472. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  473. hostname: ISP&#xD;
  474. manage_etc_hosts: true&#xD;
  475. runcmd:&#xD;
  476. - start ttyS0&#xD;
  477. - systemctl start getty@ttyS0.service&#xD;
  478. - systemctl start rc-local&#xD;
  479. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  480. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  481. - service ssh restart&#xD;
  482. - service sshd restart&#xD;
  483. users:&#xD;
  484. - default&#xD;
  485. - gecos: User configured by VIRL Configuration Engine 0.23.9&#xD;
  486. lock-passwd: false&#xD;
  487. name: cisco&#xD;
  488. plain-text-passwd: cisco&#xD;
  489. shell: /bin/bash&#xD;
  490. ssh-authorized-keys:&#xD;
  491. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  492. sudo: ALL=(ALL) ALL&#xD;
  493. write_files:&#xD;
  494. - path: /etc/init/ttyS0.conf&#xD;
  495. owner: root:root&#xD;
  496. content: |&#xD;
  497. # ttyS0 - getty&#xD;
  498. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  499. # started until it is shut down again.&#xD;
  500. start on stopped rc or RUNLEVEL=[12345]&#xD;
  501. stop on runlevel [!12345]&#xD;
  502. respawn&#xD;
  503. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  504. permissions: '0644'&#xD;
  505. - path: /etc/systemd/system/dhclient@.service&#xD;
  506. content: |&#xD;
  507. [Unit]&#xD;
  508. Description=Run dhclient on %i interface&#xD;
  509. After=network.target&#xD;
  510. [Service]&#xD;
  511. Type=oneshot&#xD;
  512. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  513. RemainAfterExit=yes&#xD;
  514. owner: root:root&#xD;
  515. permissions: '0644'&#xD;
  516. - path: /etc/rc.local&#xD;
  517. owner: root:root&#xD;
  518. permissions: '0755'&#xD;
  519. content: |-&#xD;
  520. #!/bin/sh&#xD;
  521. ifconfig eth1 up 192.168.101.1 netmask 255.255.255.252&#xD;
  522. ifconfig eth2 up 192.168.102.1 netmask 255.255.255.252&#xD;
  523. &#xD;
  524. dhclient eth0&#xD;
  525. dhclient eth3&#xD;
  526. &#xD;
  527. echo 1 &gt; /proc/sys/net/ipv4/ip_forward&#xD;
  528. &#xD;
  529. route add default gw 172.16.1.1 eth3&#xD;
  530. &#xD;
  531. route add -net 192.168.101.0/30 gw 192.168.101.2 dev eth1&#xD;
  532. route add -net 192.168.102.0/30 gw 192.168.102.2 dev eth2&#xD;
  533. &#xD;
  534. route add -net 192.168.100.0/24 gw 192.168.101.2 dev eth1&#xD;
  535. route add -net 192.168.32.0/20 gw 192.168.102.2 dev eth2&#xD;
  536. &#xD;
  537. iptables -t nat -A POSTROUTING -o eth3 -j MASQUERADE&#xD;
  538. iptables -P FORWARD ACCEPT&#xD;
  539. iptables -F FORWARD&#xD;
  540. &#xD;
  541. iptables -t nat -A PREROUTING -i eth3 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.2.100:80&#xD;
  542. iptables -t nat -A PREROUTING -i eth3 -p tcp -m tcp --dport 22 -j DNAT --to-destination 192.168.2.100:22&#xD;
  543. &#xD;
  544. /sbin/tc qdisc add dev eth2 root handle 1:1 netem delay 100ms loss 5%&#xD;
  545. echo "alias unbug='sudo tc qdisc del dev eth2 root'" &gt;&gt;/home/cisco/.bashrc&#xD;
  546. &#xD;
  547. service ssh start&#xD;
  548. &#xD;
  549. hostname ISP&#xD;
  550. &#xD;
  551. exit 0&#xD;
  552. &#xD;
  553. </entry>
  554. </extensions>
  555. <interface id="0" name="eth1"/>
  556. <interface id="1" name="eth2"/>
  557. <interface id="2" name="eth3"/>
  558. </node>
  559. <node name="Server-B" type="SIMPLE" subtype="lxc" location="384,414">
  560. <extensions>
  561. <entry key="Auto-generate config" type="Boolean">false</entry>
  562. <entry key="config" type="String">#cloud-config&#xD;
  563. bootcmd:&#xD;
  564. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  565. hostname: Server-B&#xD;
  566. manage_etc_hosts: true&#xD;
  567. &#xD;
  568. runcmd:&#xD;
  569. - start ttyS0&#xD;
  570. - systemctl start getty@ttyS0.service&#xD;
  571. - systemctl start rc-local&#xD;
  572. - systemctl start install-webserver&#xD;
  573. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  574. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  575. - service ssh restart&#xD;
  576. - service sshd restart&#xD;
  577. users:&#xD;
  578. - default&#xD;
  579. - gecos: User configured by VIRL Configuration Engine 0.18.9&#xD;
  580. lock-passwd: false&#xD;
  581. name: cisco&#xD;
  582. plain-text-passwd: cisco&#xD;
  583. shell: /bin/bash&#xD;
  584. ssh-authorized-keys:&#xD;
  585. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  586. sudo: ALL=(ALL) ALL&#xD;
  587. write_files:&#xD;
  588. - path: /etc/init/ttyS0.conf&#xD;
  589. owner: root:root&#xD;
  590. content: |&#xD;
  591. # ttyS0 - getty&#xD;
  592. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  593. # started until it is shut down again.&#xD;
  594. start on stopped rc or RUNLEVEL=[12345]&#xD;
  595. stop on runlevel [!12345]&#xD;
  596. respawn&#xD;
  597. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  598. permissions: '0644'&#xD;
  599. - path: /etc/systemd/system/dhclient@.service&#xD;
  600. content: |&#xD;
  601. [Unit]&#xD;
  602. Description=Run dhclient on %i interface&#xD;
  603. After=network.target&#xD;
  604. [Service]&#xD;
  605. Type=oneshot&#xD;
  606. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  607. RemainAfterExit=yes&#xD;
  608. owner: root:root&#xD;
  609. permissions: '0644'&#xD;
  610. - path: /etc/rc.local&#xD;
  611. owner: root:root&#xD;
  612. permissions: '0755'&#xD;
  613. content: |-&#xD;
  614. #!/bin/sh -e&#xD;
  615. echo "nameserver 8.8.8.8" &gt;/etc/resolv.conf&#xD;
  616. #ifconfig eth1 192.168.32.10 netmask 255.255.254.0&#xD;
  617. #route del default&#xD;
  618. #route add default gw 192.168.32.1&#xD;
  619. exit 0&#xD;
  620. &#xD;
  621. </entry>
  622. </extensions>
  623. <interface id="0" name="eth1"/>
  624. </node>
  625. <node name="Server-A" type="SIMPLE" subtype="lxc" location="639,256">
  626. <extensions>
  627. <entry key="Auto-generate config" type="Boolean">false</entry>
  628. <entry key="config" type="String">#cloud-config&#xD;
  629. bootcmd:&#xD;
  630. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  631. hostname: Server-A&#xD;
  632. manage_etc_hosts: true&#xD;
  633. runcmd:&#xD;
  634. - start ttyS0&#xD;
  635. - systemctl start getty@ttyS0.service&#xD;
  636. - systemctl start rc-local&#xD;
  637. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  638. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  639. - service ssh restart&#xD;
  640. - service sshd restart&#xD;
  641. users:&#xD;
  642. - default&#xD;
  643. - gecos: User configured by VIRL Configuration Engine 0.18.9&#xD;
  644. lock-passwd: false&#xD;
  645. name: cisco&#xD;
  646. plain-text-passwd: cisco&#xD;
  647. shell: /bin/bash&#xD;
  648. ssh-authorized-keys:&#xD;
  649. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  650. sudo: ALL=(ALL) ALL&#xD;
  651. write_files:&#xD;
  652. - path: /etc/init/ttyS0.conf&#xD;
  653. owner: root:root&#xD;
  654. content: |&#xD;
  655. # ttyS0 - getty&#xD;
  656. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  657. # started until it is shut down again.&#xD;
  658. start on stopped rc or RUNLEVEL=[12345]&#xD;
  659. stop on runlevel [!12345]&#xD;
  660. respawn&#xD;
  661. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  662. permissions: '0644'&#xD;
  663. - path: /etc/systemd/system/dhclient@.service&#xD;
  664. content: |&#xD;
  665. [Unit]&#xD;
  666. Description=Run dhclient on %i interface&#xD;
  667. After=network.target&#xD;
  668. [Service]&#xD;
  669. Type=oneshot&#xD;
  670. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  671. RemainAfterExit=yes&#xD;
  672. owner: root:root&#xD;
  673. permissions: '0644'&#xD;
  674. - path: /etc/rc.local&#xD;
  675. owner: root:root&#xD;
  676. permissions: '0755'&#xD;
  677. content: |-&#xD;
  678. #!/bin/sh -e&#xD;
  679. #ifconfig eth1 192.168.32.20&#xD;
  680. #route del default&#xD;
  681. #route add default gw 192.168.32.1&#xD;
  682. exit 0&#xD;
  683. &#xD;
  684. - path: /etc/resolv.conf&#xD;
  685. owner: root:root&#xD;
  686. permissions: '0644'&#xD;
  687. content: |&#xD;
  688. nameserver 8.8.8.8</entry>
  689. </extensions>
  690. <interface id="0" name="eth1"/>
  691. </node>
  692. <node name="Management-Client" type="SIMPLE" subtype="lxc" location="146,372">
  693. <extensions>
  694. <entry key="Auto-generate config" type="Boolean">false</entry>
  695. <entry key="config" type="String">#cloud-config&#xD;
  696. bootcmd:&#xD;
  697. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  698. hostname: Client&#xD;
  699. manage_etc_hosts: true&#xD;
  700. runcmd:&#xD;
  701. - start ttyS0&#xD;
  702. - systemctl start getty@ttyS0.service&#xD;
  703. - systemctl start rc-local&#xD;
  704. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  705. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  706. - service ssh restart&#xD;
  707. - service sshd restart&#xD;
  708. users:&#xD;
  709. - default&#xD;
  710. - gecos: User configured by VIRL Configuration Engine 0.18.9&#xD;
  711. lock-passwd: false&#xD;
  712. name: cisco&#xD;
  713. plain-text-passwd: cisco&#xD;
  714. shell: /bin/bash&#xD;
  715. ssh-authorized-keys:&#xD;
  716. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  717. sudo: ALL=(ALL) ALL&#xD;
  718. write_files:&#xD;
  719. - path: /etc/init/ttyS0.conf&#xD;
  720. owner: root:root&#xD;
  721. content: |&#xD;
  722. # ttyS0 - getty&#xD;
  723. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  724. # started until it is shut down again.&#xD;
  725. start on stopped rc or RUNLEVEL=[12345]&#xD;
  726. stop on runlevel [!12345]&#xD;
  727. respawn&#xD;
  728. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  729. permissions: '0644'&#xD;
  730. - path: /etc/systemd/system/dhclient@.service&#xD;
  731. content: |&#xD;
  732. [Unit]&#xD;
  733. Description=Run dhclient on %i interface&#xD;
  734. After=network.target&#xD;
  735. [Service]&#xD;
  736. Type=oneshot&#xD;
  737. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  738. RemainAfterExit=yes&#xD;
  739. owner: root:root&#xD;
  740. permissions: '0644'&#xD;
  741. - path: /etc/rc.local&#xD;
  742. owner: root:root&#xD;
  743. permissions: '0755'&#xD;
  744. content: |-&#xD;
  745. !/bin/sh -e&#xD;
  746. #ifconfig eth1 192.168.100.194 netmask 255.255.255.240&#xD;
  747. #route del default&#xD;
  748. #route add default gw 192.168.100.193&#xD;
  749. exit 0&#xD;
  750. &#xD;
  751. - path: /etc/resolv.conf&#xD;
  752. owner: root:root&#xD;
  753. permissions: '0644'&#xD;
  754. content: |&#xD;
  755. #by Patrick.&#xD;
  756. nameserver 8.8.8.8&#xD;
  757. </entry>
  758. </extensions>
  759. <interface id="0" name="eth1"/>
  760. </node>
  761. <node name="Administration-Client" type="SIMPLE" subtype="lxc" location="234,437">
  762. <extensions>
  763. <entry key="Auto-generate config" type="Boolean">false</entry>
  764. <entry key="config" type="String">#cloud-config&#xD;
  765. bootcmd:&#xD;
  766. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  767. hostname: Client&#xD;
  768. manage_etc_hosts: true&#xD;
  769. runcmd:&#xD;
  770. - start ttyS0&#xD;
  771. - systemctl start getty@ttyS0.service&#xD;
  772. - systemctl start rc-local&#xD;
  773. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  774. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  775. - service ssh restart&#xD;
  776. - service sshd restart&#xD;
  777. users:&#xD;
  778. - default&#xD;
  779. - gecos: User configured by VIRL Configuration Engine 0.18.9&#xD;
  780. lock-passwd: false&#xD;
  781. name: cisco&#xD;
  782. plain-text-passwd: cisco&#xD;
  783. shell: /bin/bash&#xD;
  784. ssh-authorized-keys:&#xD;
  785. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  786. sudo: ALL=(ALL) ALL&#xD;
  787. write_files:&#xD;
  788. - path: /etc/init/ttyS0.conf&#xD;
  789. owner: root:root&#xD;
  790. content: |&#xD;
  791. # ttyS0 - getty&#xD;
  792. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  793. # started until it is shut down again.&#xD;
  794. start on stopped rc or RUNLEVEL=[12345]&#xD;
  795. stop on runlevel [!12345]&#xD;
  796. respawn&#xD;
  797. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  798. permissions: '0644'&#xD;
  799. - path: /etc/systemd/system/dhclient@.service&#xD;
  800. content: |&#xD;
  801. [Unit]&#xD;
  802. Description=Run dhclient on %i interface&#xD;
  803. After=network.target&#xD;
  804. [Service]&#xD;
  805. Type=oneshot&#xD;
  806. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  807. RemainAfterExit=yes&#xD;
  808. owner: root:root&#xD;
  809. permissions: '0644'&#xD;
  810. - path: /etc/rc.local&#xD;
  811. owner: root:root&#xD;
  812. permissions: '0755'&#xD;
  813. content: |-&#xD;
  814. !/bin/sh -e&#xD;
  815. #ifconfig eth1 192.168.100.130 netmask 255.255.255.192&#xD;
  816. #route del default&#xD;
  817. #route add default gw 192.168.100.129&#xD;
  818. exit 0&#xD;
  819. &#xD;
  820. - path: /etc/resolv.conf&#xD;
  821. owner: root:root&#xD;
  822. permissions: '0644'&#xD;
  823. content: |&#xD;
  824. #by Patrick.&#xD;
  825. nameserver 8.8.8.8&#xD;
  826. </entry>
  827. </extensions>
  828. <interface id="0" name="eth1"/>
  829. </node>
  830. <node name="Rechnungswesen-Client" type="SIMPLE" subtype="lxc" location="61,296">
  831. <extensions>
  832. <entry key="Auto-generate config" type="Boolean">false</entry>
  833. <entry key="config" type="String">#cloud-config&#xD;
  834. bootcmd:&#xD;
  835. - ln -s -t /etc/rc.d /etc/rc.local&#xD;
  836. hostname: Client&#xD;
  837. manage_etc_hosts: true&#xD;
  838. runcmd:&#xD;
  839. - start ttyS0&#xD;
  840. - systemctl start getty@ttyS0.service&#xD;
  841. - systemctl start rc-local&#xD;
  842. - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config&#xD;
  843. - echo "UseDNS no" &gt;&gt; /etc/ssh/sshd_config&#xD;
  844. - service ssh restart&#xD;
  845. - service sshd restart&#xD;
  846. users:&#xD;
  847. - default&#xD;
  848. - gecos: User configured by VIRL Configuration Engine 0.18.9&#xD;
  849. lock-passwd: false&#xD;
  850. name: cisco&#xD;
  851. plain-text-passwd: cisco&#xD;
  852. shell: /bin/bash&#xD;
  853. ssh-authorized-keys:&#xD;
  854. - VIRL-USER-SSH-PUBLIC-KEY&#xD;
  855. sudo: ALL=(ALL) ALL&#xD;
  856. write_files:&#xD;
  857. - path: /etc/init/ttyS0.conf&#xD;
  858. owner: root:root&#xD;
  859. content: |&#xD;
  860. # ttyS0 - getty&#xD;
  861. # This service maintains a getty on ttyS0 from the point the system is&#xD;
  862. # started until it is shut down again.&#xD;
  863. start on stopped rc or RUNLEVEL=[12345]&#xD;
  864. stop on runlevel [!12345]&#xD;
  865. respawn&#xD;
  866. exec /sbin/getty -L 115200 ttyS0 vt102&#xD;
  867. permissions: '0644'&#xD;
  868. - path: /etc/systemd/system/dhclient@.service&#xD;
  869. content: |&#xD;
  870. [Unit]&#xD;
  871. Description=Run dhclient on %i interface&#xD;
  872. After=network.target&#xD;
  873. [Service]&#xD;
  874. Type=oneshot&#xD;
  875. ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease&#xD;
  876. RemainAfterExit=yes&#xD;
  877. owner: root:root&#xD;
  878. permissions: '0644'&#xD;
  879. - path: /etc/rc.local&#xD;
  880. owner: root:root&#xD;
  881. permissions: '0755'&#xD;
  882. content: |-&#xD;
  883. !/bin/sh -e&#xD;
  884. #ifconfig eth1 192.168.100.10 netmask 255.255.255.128&#xD;
  885. #route del default&#xD;
  886. #route add default gw 192.168.100.1&#xD;
  887. exit 0&#xD;
  888. &#xD;
  889. - path: /etc/resolv.conf&#xD;
  890. owner: root:root&#xD;
  891. permissions: '0644'&#xD;
  892. content: |&#xD;
  893. #by Patrick.&#xD;
  894. nameserver 8.8.8.8&#xD;
  895. </entry>
  896. </extensions>
  897. <interface id="0" name="eth1"/>
  898. </node>
  899. <node name="Switch-B" type="SIMPLE" subtype="IOSvL2" location="483,416">
  900. <extensions>
  901. <entry key="config" type="String">!&#xD;
  902. ! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
  903. !&#xD;
  904. version 15.2&#xD;
  905. service timestamps debug datetime msec&#xD;
  906. service timestamps log datetime msec&#xD;
  907. no service password-encryption&#xD;
  908. service compress-config&#xD;
  909. !&#xD;
  910. hostname Switch-B&#xD;
  911. !&#xD;
  912. boot-start-marker&#xD;
  913. boot-end-marker&#xD;
  914. !&#xD;
  915. !&#xD;
  916. vrf definition Mgmt-intf&#xD;
  917. !&#xD;
  918. address-family ipv4&#xD;
  919. exit-address-family&#xD;
  920. !&#xD;
  921. address-family ipv6&#xD;
  922. exit-address-family&#xD;
  923. !&#xD;
  924. enable password cisco&#xD;
  925. !&#xD;
  926. no aaa new-model&#xD;
  927. !&#xD;
  928. !&#xD;
  929. !&#xD;
  930. !&#xD;
  931. !&#xD;
  932. !&#xD;
  933. !&#xD;
  934. !&#xD;
  935. no ip domain-lookup&#xD;
  936. ip cef&#xD;
  937. no ipv6 cef&#xD;
  938. !&#xD;
  939. !&#xD;
  940. !&#xD;
  941. spanning-tree mode pvst&#xD;
  942. spanning-tree extend system-id&#xD;
  943. !&#xD;
  944. vlan internal allocation policy ascending&#xD;
  945. !&#xD;
  946. ! &#xD;
  947. !&#xD;
  948. !&#xD;
  949. !&#xD;
  950. !&#xD;
  951. !&#xD;
  952. !&#xD;
  953. !&#xD;
  954. !&#xD;
  955. !&#xD;
  956. !&#xD;
  957. !&#xD;
  958. !&#xD;
  959. interface Loopback0&#xD;
  960. description Loopback&#xD;
  961. no ip address&#xD;
  962. !&#xD;
  963. interface GigabitEthernet0/1&#xD;
  964. description to Switch-A&#xD;
  965. switchport access vlan 2&#xD;
  966. switchport mode access&#xD;
  967. media-type rj45&#xD;
  968. negotiation auto&#xD;
  969. !&#xD;
  970. interface GigabitEthernet0/2&#xD;
  971. description to Server-A&#xD;
  972. switchport access vlan 2&#xD;
  973. switchport mode access&#xD;
  974. media-type rj45&#xD;
  975. negotiation auto&#xD;
  976. !&#xD;
  977. interface GigabitEthernet0/3&#xD;
  978. description to Switch-C&#xD;
  979. switchport access vlan 2&#xD;
  980. switchport mode access&#xD;
  981. media-type rj45&#xD;
  982. negotiation auto&#xD;
  983. !&#xD;
  984. interface GigabitEthernet0/0&#xD;
  985. description OOB management&#xD;
  986. no switchport&#xD;
  987. ip address 10.255.0.231 255.255.0.0&#xD;
  988. negotiation auto&#xD;
  989. !&#xD;
  990. ip forward-protocol nd&#xD;
  991. !&#xD;
  992. no ip http server&#xD;
  993. no ip http secure-server&#xD;
  994. !&#xD;
  995. !&#xD;
  996. !&#xD;
  997. !&#xD;
  998. !&#xD;
  999. !&#xD;
  1000. control-plane&#xD;
  1001. !&#xD;
  1002. banner exec `&#xD;
  1003. **************************************************************************&#xD;
  1004. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1005. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1006. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1007. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1008. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1009. * Cisco in writing. *&#xD;
  1010. **************************************************************************`&#xD;
  1011. banner incoming `&#xD;
  1012. **************************************************************************&#xD;
  1013. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1014. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1015. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1016. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1017. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1018. * Cisco in writing. *&#xD;
  1019. **************************************************************************`&#xD;
  1020. banner login `&#xD;
  1021. **************************************************************************&#xD;
  1022. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1023. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1024. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1025. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1026. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1027. * Cisco in writing. *&#xD;
  1028. **************************************************************************`&#xD;
  1029. !&#xD;
  1030. line con 0&#xD;
  1031. password cisco&#xD;
  1032. line aux 0&#xD;
  1033. line vty 0 4&#xD;
  1034. exec-timeout 720 0&#xD;
  1035. password cisco&#xD;
  1036. login&#xD;
  1037. transport input telnet ssh&#xD;
  1038. !&#xD;
  1039. mac address-table aging-time 10&#xD;
  1040. !&#xD;
  1041. end</entry>
  1042. </extensions>
  1043. <interface id="0" name="GigabitEthernet0/1"/>
  1044. <interface id="1" name="GigabitEthernet0/2"/>
  1045. <interface id="2" name="GigabitEthernet0/3"/>
  1046. </node>
  1047. <node name="Switch-C" type="SIMPLE" subtype="IOSvL2" location="606,393">
  1048. <extensions>
  1049. <entry key="config" type="String">!&#xD;
  1050. ! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
  1051. !&#xD;
  1052. version 15.2&#xD;
  1053. service timestamps debug datetime msec&#xD;
  1054. service timestamps log datetime msec&#xD;
  1055. no service password-encryption&#xD;
  1056. service compress-config&#xD;
  1057. !&#xD;
  1058. hostname Switch-C&#xD;
  1059. !&#xD;
  1060. boot-start-marker&#xD;
  1061. boot-end-marker&#xD;
  1062. !&#xD;
  1063. !&#xD;
  1064. vrf definition Mgmt-intf&#xD;
  1065. !&#xD;
  1066. address-family ipv4&#xD;
  1067. exit-address-family&#xD;
  1068. !&#xD;
  1069. address-family ipv6&#xD;
  1070. exit-address-family&#xD;
  1071. !&#xD;
  1072. enable password cisco&#xD;
  1073. !&#xD;
  1074. no aaa new-model&#xD;
  1075. !&#xD;
  1076. !&#xD;
  1077. !&#xD;
  1078. !&#xD;
  1079. !&#xD;
  1080. !&#xD;
  1081. !&#xD;
  1082. !&#xD;
  1083. no ip domain-lookup&#xD;
  1084. ip cef&#xD;
  1085. no ipv6 cef&#xD;
  1086. !&#xD;
  1087. !&#xD;
  1088. !&#xD;
  1089. spanning-tree mode pvst&#xD;
  1090. spanning-tree extend system-id&#xD;
  1091. !&#xD;
  1092. vlan internal allocation policy ascending&#xD;
  1093. !&#xD;
  1094. ! &#xD;
  1095. !&#xD;
  1096. !&#xD;
  1097. !&#xD;
  1098. !&#xD;
  1099. !&#xD;
  1100. !&#xD;
  1101. !&#xD;
  1102. !&#xD;
  1103. !&#xD;
  1104. !&#xD;
  1105. !&#xD;
  1106. !&#xD;
  1107. interface Loopback0&#xD;
  1108. description Loopback&#xD;
  1109. no ip address&#xD;
  1110. !&#xD;
  1111. interface GigabitEthernet0/1&#xD;
  1112. description to Switch-A&#xD;
  1113. switchport access vlan 2&#xD;
  1114. switchport mode access&#xD;
  1115. media-type rj45&#xD;
  1116. negotiation auto&#xD;
  1117. !&#xD;
  1118. interface GigabitEthernet0/2&#xD;
  1119. description to Server-A&#xD;
  1120. switchport access vlan 2&#xD;
  1121. switchport mode access&#xD;
  1122. media-type rj45&#xD;
  1123. negotiation auto&#xD;
  1124. !&#xD;
  1125. interface GigabitEthernet0/3&#xD;
  1126. description to Switch-B&#xD;
  1127. switchport access vlan 2&#xD;
  1128. switchport mode access&#xD;
  1129. media-type rj45&#xD;
  1130. negotiation auto&#xD;
  1131. !&#xD;
  1132. interface GigabitEthernet0/0&#xD;
  1133. description OOB management&#xD;
  1134. no switchport&#xD;
  1135. ip address 10.255.0.231 255.255.0.0&#xD;
  1136. negotiation auto&#xD;
  1137. !&#xD;
  1138. ip forward-protocol nd&#xD;
  1139. !&#xD;
  1140. no ip http server&#xD;
  1141. no ip http secure-server&#xD;
  1142. !&#xD;
  1143. !&#xD;
  1144. !&#xD;
  1145. !&#xD;
  1146. !&#xD;
  1147. !&#xD;
  1148. control-plane&#xD;
  1149. !&#xD;
  1150. banner exec `&#xD;
  1151. **************************************************************************&#xD;
  1152. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1153. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1154. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1155. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1156. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1157. * Cisco in writing. *&#xD;
  1158. **************************************************************************`&#xD;
  1159. banner incoming `&#xD;
  1160. **************************************************************************&#xD;
  1161. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1162. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1163. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1164. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1165. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1166. * Cisco in writing. *&#xD;
  1167. **************************************************************************`&#xD;
  1168. banner login `&#xD;
  1169. **************************************************************************&#xD;
  1170. * IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
  1171. * education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
  1172. * Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
  1173. * of the IOSv Software or Documentation to any third party for any *&#xD;
  1174. * purposes is expressly prohibited except as otherwise authorized by *&#xD;
  1175. * Cisco in writing. *&#xD;
  1176. **************************************************************************`&#xD;
  1177. !&#xD;
  1178. line con 0&#xD;
  1179. password cisco&#xD;
  1180. line aux 0&#xD;
  1181. line vty 0 4&#xD;
  1182. exec-timeout 720 0&#xD;
  1183. password cisco&#xD;
  1184. login&#xD;
  1185. transport input telnet ssh&#xD;
  1186. !&#xD;
  1187. mac address-table aging-time 10&#xD;
  1188. !&#xD;
  1189. end</entry>
  1190. </extensions>
  1191. <interface id="0" name="GigabitEthernet0/1"/>
  1192. <interface id="1" name="GigabitEthernet0/2"/>
  1193. <interface id="2" name="GigabitEthernet0/3"/>
  1194. </node>
  1195. <annotations/>
  1196. <connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/>
  1197. <connection dst="/virl:topology/virl:node[5]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>
  1198. <connection dst="/virl:topology/virl:node[2]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[2]"/>
  1199. <connection dst="/virl:topology/virl:node[5]/virl:interface[3]" src="/virl:topology/virl:node[3]/virl:interface[1]"/>
  1200. <connection dst="/virl:topology/virl:node[1]/virl:interface[2]" src="/virl:topology/virl:node[10]/virl:interface[1]"/>
  1201. <connection dst="/virl:topology/virl:node[1]/virl:interface[3]" src="/virl:topology/virl:node[8]/virl:interface[1]"/>
  1202. <connection dst="/virl:topology/virl:node[1]/virl:interface[4]" src="/virl:topology/virl:node[9]/virl:interface[1]"/>
  1203. <connection dst="/virl:topology/virl:node[11]/virl:interface[2]" src="/virl:topology/virl:node[6]/virl:interface[1]"/>
  1204. <connection dst="/virl:topology/virl:node[12]/virl:interface[2]" src="/virl:topology/virl:node[7]/virl:interface[1]"/>
  1205. <connection dst="/virl:topology/virl:node[12]/virl:interface[3]" src="/virl:topology/virl:node[11]/virl:interface[3]"/>
  1206. <connection dst="/virl:topology/virl:node[11]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[2]"/>
  1207. <connection dst="/virl:topology/virl:node[12]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[3]"/>
  1208. </topology>