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.

1219 lines
31 KiB

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