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.

1236 lines
38 KiB

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