Sebastian Rieger
8 years ago
1 changed files with 920 additions and 0 deletions
@ -0,0 +1,920 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
||||
|
<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"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.enable_cdp" type="Boolean">true</entry> |
||||
|
<entry key="AutoNetkit.enable_routing" type="Boolean">false</entry> |
||||
|
<entry key="management_network" type="String">exclusive</entry> |
||||
|
</extensions> |
||||
|
<node name="nxosv-spine1" type="SIMPLE" subtype="NX-OSv" location="419,163"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-spine1
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-spine1 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.1/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-leaf1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-leaf2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to nxosv-leaf3
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/4
 |
||||
|
description to nxosv-leaf4
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.10" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.14" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.22" netPrefixLenV4="30"/> |
||||
|
<interface id="3" name="Ethernet2/4" ipv4="10.0.0.26" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="nxosv-spine2" type="SIMPLE" subtype="NX-OSv" location="646,160"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-spine2
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-spine2 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.6/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-leaf1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-leaf2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to nxosv-leaf3
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/4
 |
||||
|
description to nxosv-leaf4
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.18" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.34" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.38" netPrefixLenV4="30"/> |
||||
|
<interface id="3" name="Ethernet2/4" ipv4="10.0.0.42" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="nxosv-leaf1" type="SIMPLE" subtype="NX-OSv" location="248,321"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-leaf1
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-leaf1 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.2/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-spine1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-spine2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to lxc-iperf-1
 |
||||
|
switchport
 |
||||
|
switchport access vlan 10
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.9" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.17" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.6" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="nxosv-leaf2" type="SIMPLE" subtype="NX-OSv" location="424,325"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-leaf2
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-leaf2 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.5/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-spine1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-spine2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to lxc-iperf-2
 |
||||
|
switchport
 |
||||
|
switchport access vlan 10
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.13" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.33" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.30" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="nxosv-leaf3" type="SIMPLE" subtype="NX-OSv" location="607,321"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-leaf3
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-leaf3 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.8/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-spine1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-spine2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to lxc-iperf-3
 |
||||
|
switchport
 |
||||
|
switchport access vlan 10
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.21" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.37" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.46" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="nxosv-leaf4" type="SIMPLE" subtype="NX-OSv" location="775,320"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">! NX-OSv Config generated on 2016-11-23 15:38
 |
||||
|
! by autonetkit_0.23.5
 |
||||
|
!
 |
||||
|
version 6.2(1)
 |
||||
|
license grace-period
 |
||||
|
!
 |
||||
|
hostname nxosv-leaf4
 |
||||
|
install feature-set fabricpath
 |
||||
|
vdc nxosv-leaf4 id 1
 |
||||
|
allocate interface Ethernet2/1-48
 |
||||
|
allocate interface Ethernet3/1-48
 |
||||
|
limit-resource vlan minimum 16 maximum 4094
 |
||||
|
limit-resource vrf minimum 2 maximum 4096
 |
||||
|
limit-resource port-channel minimum 0 maximum 768
 |
||||
|
limit-resource u4route-mem minimum 96 maximum 96
 |
||||
|
limit-resource u6route-mem minimum 24 maximum 24
 |
||||
|
limit-resource m4route-mem minimum 58 maximum 58
 |
||||
|
limit-resource m6route-mem minimum 8 maximum 8
 |
||||
|

 |
||||
|
feature telnet
 |
||||
|
feature-set fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
username adminbackup password 5 ! role network-operator
 |
||||
|
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
 |
||||
|
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator
 |
||||
|
username cisco role network-admin
 |
||||
|
username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-admin
 |
||||
|
no password strength-check
 |
||||
|
ip domain-lookup
 |
||||
|
copp profile strict
 |
||||
|
snmp-server user lab network-admin auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey
 |
||||
|
snmp-server user admin network-admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey
 |
||||
|
snmp-server user cisco network-operator auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey
 |
||||
|
snmp-server user cisco network-admin
 |
||||
|
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
 |
||||
|
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
 |
||||
|
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
 |
||||
|
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
 |
||||
|
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
 |
||||
|

 |
||||
|

 |
||||
|
vlan 1,10
 |
||||
|
vlan 10
 |
||||
|
mode fabricpath
 |
||||
|

 |
||||
|

 |
||||
|
vrf context management
 |
||||
|
hardware forwarding unicast trace
 |
||||
|

 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.10/32
 |
||||
|

 |
||||
|
interface Ethernet2/1
 |
||||
|
description to nxosv-spine1
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/2
 |
||||
|
description to nxosv-spine2
 |
||||
|
switchport
 |
||||
|
switchport mode fabricpath
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface Ethernet2/3
 |
||||
|
description to lxc-iperf-4
 |
||||
|
switchport
 |
||||
|
switchport access vlan 10
 |
||||
|
no shutdown
 |
||||
|

 |
||||
|
interface mgmt0
 |
||||
|
description OOB Management
 |
||||
|
! Configured on launch
 |
||||
|
no ip address
 |
||||
|
duplex full
 |
||||
|
no shutdown
 |
||||
|
vrf member management
 |
||||
|

 |
||||
|
fabricpath domain default
 |
||||
|

 |
||||
|

 |
||||
|
line console
 |
||||
|
line vty
 |
||||
|

 |
||||
|

 |
||||
|
! FabricPath stuff
 |
||||
|

 |
||||
|
!install feature-set fabricpath
 |
||||
|
!feature-set fabricpath
 |
||||
|
!fabricpath domain default
 |
||||
|

 |
||||
|
!vlan 1,10
 |
||||
|
!vlan 10
 |
||||
|
! mode fabricpath
 |
||||
|

 |
||||
|
! Additionally for every interface going to the fabric
 |
||||
|
!
 |
||||
|
!interface Ethernet2/1
 |
||||
|
! switchport
 |
||||
|
! switchport mode fabricpath
 |
||||
|
! no shutdown
 |
||||
|

 |
||||
|
! Additionally on leaf nodes for every interface going to connected hosts
 |
||||
|
!
 |
||||
|
!interface Ethernet2/3
 |
||||
|
! switchport
 |
||||
|
! switchport access vlan 10
 |
||||
|
! no shutdown</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="Ethernet2/1" ipv4="10.0.0.25" netPrefixLenV4="30"/> |
||||
|
<interface id="1" name="Ethernet2/2" ipv4="10.0.0.41" netPrefixLenV4="30"/> |
||||
|
<interface id="2" name="Ethernet2/3" ipv4="10.0.0.50" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="lxc-iperf-1" type="SIMPLE" subtype="lxc-iperf" location="240,424" ipv4="192.168.100.1"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#cloud-config
 |
||||
|
bootcmd:
 |
||||
|
- ln -s -t /etc/rc.d /etc/rc.local
 |
||||
|
hostname: lxc-iperf-1
 |
||||
|
manage_etc_hosts: true
 |
||||
|
runcmd:
 |
||||
|
- systemctl start rc-local
 |
||||
|
- sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 |
||||
|
- echo "UseDNS no" >> /etc/ssh/sshd_config
 |
||||
|
- service ssh restart
 |
||||
|
- service sshd restart
 |
||||
|
users:
 |
||||
|
- default
 |
||||
|
- gecos: User configured by VIRL Configuration Engine 0.23.9
 |
||||
|
lock-passwd: false
 |
||||
|
name: cisco
 |
||||
|
plain-text-passwd: cisco
 |
||||
|
shell: /bin/bash
 |
||||
|
ssh-authorized-keys:
 |
||||
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
||||
|
sudo: ALL=(ALL) ALL
 |
||||
|
write_files:
 |
||||
|
- path: /etc/systemd/system/dhclient@.service
 |
||||
|
content: |
 |
||||
|
[Unit]
 |
||||
|
Description=Run dhclient on %i interface
 |
||||
|
After=network.target
 |
||||
|
[Service]
 |
||||
|
Type=oneshot
 |
||||
|
ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 |
||||
|
RemainAfterExit=yes
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0644'
 |
||||
|
- path: /etc/rc.local
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0755'
 |
||||
|
content: |-
 |
||||
|
#!/bin/sh
 |
||||
|
ifconfig eth1 up 192.168.100.1 netmask 255.255.255.0
 |
||||
|
exit 0
 |
||||
|
</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="eth1" ipv4="10.0.0.5" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="lxc-iperf-2" type="SIMPLE" subtype="lxc-iperf" location="430,427" ipv4="192.168.100.2"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#cloud-config
 |
||||
|
bootcmd:
 |
||||
|
- ln -s -t /etc/rc.d /etc/rc.local
 |
||||
|
hostname: lxc-iperf-2
 |
||||
|
manage_etc_hosts: true
 |
||||
|
runcmd:
 |
||||
|
- systemctl start rc-local
 |
||||
|
- sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 |
||||
|
- echo "UseDNS no" >> /etc/ssh/sshd_config
 |
||||
|
- service ssh restart
 |
||||
|
- service sshd restart
 |
||||
|
users:
 |
||||
|
- default
 |
||||
|
- gecos: User configured by VIRL Configuration Engine 0.23.9
 |
||||
|
lock-passwd: false
 |
||||
|
name: cisco
 |
||||
|
plain-text-passwd: cisco
 |
||||
|
shell: /bin/bash
 |
||||
|
ssh-authorized-keys:
 |
||||
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
||||
|
sudo: ALL=(ALL) ALL
 |
||||
|
write_files:
 |
||||
|
- path: /etc/systemd/system/dhclient@.service
 |
||||
|
content: |
 |
||||
|
[Unit]
 |
||||
|
Description=Run dhclient on %i interface
 |
||||
|
After=network.target
 |
||||
|
[Service]
 |
||||
|
Type=oneshot
 |
||||
|
ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 |
||||
|
RemainAfterExit=yes
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0644'
 |
||||
|
- path: /etc/rc.local
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0755'
 |
||||
|
content: |-
 |
||||
|
#!/bin/sh
 |
||||
|
ifconfig eth1 up 192.168.100.2 netmask 255.255.255.0
 |
||||
|
exit 0
 |
||||
|
</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="eth1" ipv4="10.0.0.29" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="lxc-iperf-3" type="SIMPLE" subtype="lxc-iperf" location="613,422" ipv4="192.168.100.3"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#cloud-config
 |
||||
|
bootcmd:
 |
||||
|
- ln -s -t /etc/rc.d /etc/rc.local
 |
||||
|
hostname: lxc-iperf-3
 |
||||
|
manage_etc_hosts: true
 |
||||
|
runcmd:
 |
||||
|
- systemctl start rc-local
 |
||||
|
- sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 |
||||
|
- echo "UseDNS no" >> /etc/ssh/sshd_config
 |
||||
|
- service ssh restart
 |
||||
|
- service sshd restart
 |
||||
|
users:
 |
||||
|
- default
 |
||||
|
- gecos: User configured by VIRL Configuration Engine 0.23.9
 |
||||
|
lock-passwd: false
 |
||||
|
name: cisco
 |
||||
|
plain-text-passwd: cisco
 |
||||
|
shell: /bin/bash
 |
||||
|
ssh-authorized-keys:
 |
||||
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
||||
|
sudo: ALL=(ALL) ALL
 |
||||
|
write_files:
 |
||||
|
- path: /etc/systemd/system/dhclient@.service
 |
||||
|
content: |
 |
||||
|
[Unit]
 |
||||
|
Description=Run dhclient on %i interface
 |
||||
|
After=network.target
 |
||||
|
[Service]
 |
||||
|
Type=oneshot
 |
||||
|
ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 |
||||
|
RemainAfterExit=yes
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0644'
 |
||||
|
- path: /etc/rc.local
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0755'
 |
||||
|
content: |-
 |
||||
|
#!/bin/sh
 |
||||
|
ifconfig eth1 up 192.168.100.3 netmask 255.255.255.0
 |
||||
|
exit 0
 |
||||
|
</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="eth1" ipv4="10.0.0.45" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<node name="lxc-iperf-4" type="SIMPLE" subtype="lxc-iperf" location="787,424" ipv4="192.168.100.4"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#cloud-config
 |
||||
|
bootcmd:
 |
||||
|
- ln -s -t /etc/rc.d /etc/rc.local
 |
||||
|
hostname: lxc-iperf-4
 |
||||
|
manage_etc_hosts: true
 |
||||
|
runcmd:
 |
||||
|
- systemctl start rc-local
 |
||||
|
- sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 |
||||
|
- echo "UseDNS no" >> /etc/ssh/sshd_config
 |
||||
|
- service ssh restart
 |
||||
|
- service sshd restart
 |
||||
|
users:
 |
||||
|
- default
 |
||||
|
- gecos: User configured by VIRL Configuration Engine 0.23.9
 |
||||
|
lock-passwd: false
 |
||||
|
name: cisco
 |
||||
|
plain-text-passwd: cisco
 |
||||
|
shell: /bin/bash
 |
||||
|
ssh-authorized-keys:
 |
||||
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
||||
|
sudo: ALL=(ALL) ALL
 |
||||
|
write_files:
 |
||||
|
- path: /etc/systemd/system/dhclient@.service
 |
||||
|
content: |
 |
||||
|
[Unit]
 |
||||
|
Description=Run dhclient on %i interface
 |
||||
|
After=network.target
 |
||||
|
[Service]
 |
||||
|
Type=oneshot
 |
||||
|
ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 |
||||
|
RemainAfterExit=yes
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0644'
 |
||||
|
- path: /etc/rc.local
 |
||||
|
owner: root:root
 |
||||
|
permissions: '0755'
 |
||||
|
content: |-
 |
||||
|
#!/bin/sh
 |
||||
|
ifconfig eth1 up 192.168.100.4 netmask 255.255.255.0
 |
||||
|
exit 0
 |
||||
|
</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="eth1" ipv4="10.0.0.49" netPrefixLenV4="30"/> |
||||
|
</node> |
||||
|
<annotations/> |
||||
|
<connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/> |
||||
|
<connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[2]"/> |
||||
|
<connection dst="/virl:topology/virl:node[5]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[6]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[4]"/> |
||||
|
<connection dst="/virl:topology/virl:node[3]/virl:interface[2]" src="/virl:topology/virl:node[2]/virl:interface[1]"/> |
||||
|
<connection dst="/virl:topology/virl:node[4]/virl:interface[2]" src="/virl:topology/virl:node[2]/virl:interface[2]"/> |
||||
|
<connection dst="/virl:topology/virl:node[5]/virl:interface[2]" src="/virl:topology/virl:node[2]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[6]/virl:interface[2]" src="/virl:topology/virl:node[2]/virl:interface[4]"/> |
||||
|
<connection dst="/virl:topology/virl:node[7]/virl:interface[1]" src="/virl:topology/virl:node[3]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[8]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[9]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[10]/virl:interface[1]" src="/virl:topology/virl:node[6]/virl:interface[3]"/> |
||||
|
</topology> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue