Sebastian Rieger
9 years ago
2 changed files with 864 additions and 0 deletions
-
322GIT-VIRL-HS-Fulda/!Experiments/cumulus-ospf.virl
-
542GIT-VIRL-HS-Fulda/!Experiments/smb-lxc.virl
@ -0,0 +1,322 @@ |
|||||
|
<?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.9" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.9/virl.xsd"> |
||||
|
<extensions> |
||||
|
<entry key="management_network" type="String">exclusive</entry> |
||||
|
</extensions> |
||||
|
<node name="cumulusvx-1" type="SIMPLE" subtype="CumulusVX" location="386,146"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#!/bin/bash
 |
||||
|

 |
||||
|
# vars
 |
||||
|
IP="10.0.0.1"
 |
||||
|
HOSTNAME="cumulusvx-1"
 |
||||
|

 |
||||
|
# test touch
 |
||||
|
touch /tmp/cumulusvx-config
 |
||||
|

 |
||||
|
# add VIRL user
 |
||||
|
useradd -m cisco -s /bin/bash
 |
||||
|
echo "cisco:cisco" | chpasswd
 |
||||
|
addgroup cisco sudo
 |
||||
|

 |
||||
|
# set hostname
 |
||||
|
echo "$IP $HOSTNAME" >>/etc/hosts
 |
||||
|
echo "$HOSTNAME" >/etc/hostname
 |
||||
|
hostname $HOSTNAME
 |
||||
|

 |
||||
|
# add network interface config
 |
||||
|
cat << EOF >>/etc/network/interfaces
 |
||||
|

 |
||||
|
auto lo:1
 |
||||
|
iface lo:1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp1
 |
||||
|
iface swp1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp2
 |
||||
|
iface swp2
 |
||||
|
address $IP/32
 |
||||
|
EOF
 |
||||
|

 |
||||
|
ifup -a
 |
||||
|

 |
||||
|
# add ospf daemon to quagga
 |
||||
|
sed -i.bak -e s/"ospfd=no"/"ospfd=yes"/g /etc/quagga/daemons
 |
||||
|
sed -i.bak -e s/"zebra=no"/"zebra=yes"/g /etc/quagga/daemons
 |
||||
|
service quagga restart
 |
||||
|

 |
||||
|
# add quagga config
 |
||||
|
cat << EOF > /etc/quagga/Quagga.conf
 |
||||
|
hostname $HOSTNAME
 |
||||
|
log file /var/log/quagga/ospfd.log
 |
||||
|
log timestamp precision 6
 |
||||
|
username cumulus nopassword
 |
||||
|
!
 |
||||
|
service integrated-vtysh-config
 |
||||
|
!
 |
||||
|
password cn321
 |
||||
|
enable password cn321
 |
||||
|
!
 |
||||
|
interface swp1
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
interface swp2
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
router ospf
 |
||||
|
ospf router-id $IP
 |
||||
|
network $IP/32 area 0.0.0.0
 |
||||
|
!
 |
||||
|
line vty
 |
||||
|
!
 |
||||
|
EOF
 |
||||
|

 |
||||
|
service quagga restart</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="swp1"/> |
||||
|
<interface id="1" name="swp2"/> |
||||
|
</node> |
||||
|
<node name="cumulusvx-2" type="SIMPLE" subtype="CumulusVX" location="629,146"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#!/bin/bash
 |
||||
|

 |
||||
|
# vars
 |
||||
|
IP="10.0.0.2"
 |
||||
|
HOSTNAME="cumulusvx-2"
 |
||||
|

 |
||||
|
# test touch
 |
||||
|
touch /tmp/cumulusvx-config
 |
||||
|

 |
||||
|
# add VIRL user
 |
||||
|
useradd -m cisco -s /bin/bash
 |
||||
|
echo "cisco:cisco" | chpasswd
 |
||||
|
addgroup cisco sudo
 |
||||
|

 |
||||
|
# set hostname
 |
||||
|
echo "$IP $HOSTNAME" >>/etc/hosts
 |
||||
|
echo "$HOSTNAME" >/etc/hostname
 |
||||
|
hostname $HOSTNAME
 |
||||
|

 |
||||
|
# add network interface config
 |
||||
|
cat << EOF >>/etc/network/interfaces
 |
||||
|

 |
||||
|
auto lo:1
 |
||||
|
iface lo:1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp1
 |
||||
|
iface swp1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp2
 |
||||
|
iface swp2
 |
||||
|
address $IP/32
 |
||||
|
EOF
 |
||||
|

 |
||||
|
ifup -a
 |
||||
|

 |
||||
|
# add ospf daemon to quagga
 |
||||
|
sed -i.bak -e s/"ospfd=no"/"ospfd=yes"/g /etc/quagga/daemons
 |
||||
|
sed -i.bak -e s/"zebra=no"/"zebra=yes"/g /etc/quagga/daemons
 |
||||
|
service quagga restart
 |
||||
|

 |
||||
|
# add quagga config
 |
||||
|
cat << EOF > /etc/quagga/Quagga.conf
 |
||||
|
hostname $HOSTNAME
 |
||||
|
log file /var/log/quagga/ospfd.log
 |
||||
|
log timestamp precision 6
 |
||||
|
username cumulus nopassword
 |
||||
|
!
 |
||||
|
service integrated-vtysh-config
 |
||||
|
!
 |
||||
|
password cn321
 |
||||
|
enable password cn321
 |
||||
|
!
 |
||||
|
interface swp1
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
interface swp2
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
router ospf
 |
||||
|
ospf router-id $IP
 |
||||
|
network $IP/32 area 0.0.0.0
 |
||||
|
!
 |
||||
|
line vty
 |
||||
|
!
 |
||||
|
EOF
 |
||||
|

 |
||||
|
service quagga restart</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="swp1"/> |
||||
|
<interface id="1" name="swp2"/> |
||||
|
</node> |
||||
|
<node name="cumulusvx-3" type="SIMPLE" subtype="CumulusVX" location="629,275"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#!/bin/bash
 |
||||
|

 |
||||
|
# vars
 |
||||
|
IP="10.0.0.3"
 |
||||
|
LEAF_IP="10.21.0.1"
 |
||||
|
HOSTNAME="cumulusvx-3"
 |
||||
|

 |
||||
|
# test touch
 |
||||
|
touch /tmp/cumulusvx-config
 |
||||
|

 |
||||
|
# add VIRL user
 |
||||
|
useradd -m cisco -s /bin/bash
 |
||||
|
echo "cisco:cisco" | chpasswd
 |
||||
|
addgroup cisco sudo
 |
||||
|

 |
||||
|
# set hostname
 |
||||
|
echo "$IP $HOSTNAME" >>/etc/hosts
 |
||||
|
echo "$HOSTNAME" >/etc/hostname
 |
||||
|
hostname $HOSTNAME
 |
||||
|

 |
||||
|
# add network interface config
 |
||||
|
cat << EOF >>/etc/network/interfaces
 |
||||
|

 |
||||
|
auto lo:1
 |
||||
|
iface lo:1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto lo:2
 |
||||
|
iface lo:2
 |
||||
|
address $LEAF_IP/24
 |
||||
|

 |
||||
|
auto swp1
 |
||||
|
iface swp1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp2
 |
||||
|
iface swp2
 |
||||
|
address $IP/32
 |
||||
|
EOF
 |
||||
|

 |
||||
|
ifup -a
 |
||||
|

 |
||||
|
# add ospf daemon to quagga
 |
||||
|
sed -i.bak -e s/"ospfd=no"/"ospfd=yes"/g /etc/quagga/daemons
 |
||||
|
sed -i.bak -e s/"zebra=no"/"zebra=yes"/g /etc/quagga/daemons
 |
||||
|
service quagga restart
 |
||||
|

 |
||||
|
# add quagga config
 |
||||
|
cat << EOF > /etc/quagga/Quagga.conf
 |
||||
|
hostname $HOSTNAME
 |
||||
|
log file /var/log/quagga/ospfd.log
 |
||||
|
log timestamp precision 6
 |
||||
|
username cumulus nopassword
 |
||||
|
!
 |
||||
|
service integrated-vtysh-config
 |
||||
|
!
 |
||||
|
password cn321
 |
||||
|
enable password cn321
 |
||||
|
!
 |
||||
|
interface swp1
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
interface swp2
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
router ospf
 |
||||
|
ospf router-id $IP
 |
||||
|
network $IP/32 area 0.0.0.0
 |
||||
|
network $LEAF_IP/24 area 0.0.0.0
 |
||||
|
!
 |
||||
|
line vty
 |
||||
|
!
 |
||||
|
EOF
 |
||||
|

 |
||||
|
service quagga restart</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="swp1"/> |
||||
|
<interface id="1" name="swp2"/> |
||||
|
</node> |
||||
|
<node name="cumulusvx-4" type="SIMPLE" subtype="CumulusVX" location="386,275"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="String">#!/bin/bash
 |
||||
|

 |
||||
|
# vars
 |
||||
|
IP="10.0.0.4"
 |
||||
|
LEAF_IP="10.11.0.1"
 |
||||
|
HOSTNAME="cumulusvx-4"
 |
||||
|

 |
||||
|
# test touch
 |
||||
|
touch /tmp/cumulusvx-config
 |
||||
|

 |
||||
|
# add VIRL user
 |
||||
|
useradd -m cisco -s /bin/bash
 |
||||
|
echo "cisco:cisco" | chpasswd
 |
||||
|
addgroup cisco sudo
 |
||||
|

 |
||||
|
# set hostname
 |
||||
|
echo "$IP $HOSTNAME" >>/etc/hosts
 |
||||
|
echo "$HOSTNAME" >/etc/hostname
 |
||||
|
hostname $HOSTNAME
 |
||||
|

 |
||||
|
# add network interface config
 |
||||
|
cat << EOF >>/etc/network/interfaces
 |
||||
|

 |
||||
|
auto lo:1
 |
||||
|
iface lo:1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto lo:2
 |
||||
|
iface lo:2
 |
||||
|
address $LEAF_IP/24
 |
||||
|

 |
||||
|
auto swp1
 |
||||
|
iface swp1
 |
||||
|
address $IP/32
 |
||||
|

 |
||||
|
auto swp2
 |
||||
|
iface swp2
 |
||||
|
address $IP/32
 |
||||
|
EOF
 |
||||
|

 |
||||
|
ifup -a
 |
||||
|

 |
||||
|
# add ospf daemon to quagga
 |
||||
|
sed -i.bak -e s/"ospfd=no"/"ospfd=yes"/g /etc/quagga/daemons
 |
||||
|
sed -i.bak -e s/"zebra=no"/"zebra=yes"/g /etc/quagga/daemons
 |
||||
|
service quagga restart
 |
||||
|

 |
||||
|
# add quagga config
 |
||||
|
cat << EOF > /etc/quagga/Quagga.conf
 |
||||
|
hostname $HOSTNAME
 |
||||
|
log file /var/log/quagga/ospfd.log
 |
||||
|
log timestamp precision 6
 |
||||
|
username cumulus nopassword
 |
||||
|
!
 |
||||
|
service integrated-vtysh-config
 |
||||
|
!
 |
||||
|
password cn321
 |
||||
|
enable password cn321
 |
||||
|
!
 |
||||
|
interface swp1
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
interface swp2
 |
||||
|
ip ospf network point-to-point
 |
||||
|
!
 |
||||
|
router ospf
 |
||||
|
ospf router-id $IP
 |
||||
|
network $IP/32 area 0.0.0.0
 |
||||
|
network $LEAF_IP/24 area 0.0.0.0
 |
||||
|
!
 |
||||
|
line vty
 |
||||
|
!
 |
||||
|
EOF
 |
||||
|

 |
||||
|
service quagga restart</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="swp1"/> |
||||
|
<interface id="1" name="swp2"/> |
||||
|
</node> |
||||
|
<connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/> |
||||
|
<connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[2]"/> |
||||
|
<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]"/> |
||||
|
</topology> |
@ -0,0 +1,542 @@ |
|||||
|
<?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.9" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.9/virl.xsd"> |
||||
|
<extensions> |
||||
|
<entry key="management_network" type="String">exclusive</entry> |
||||
|
</extensions> |
||||
|
<node name="flat-1" type="ASSET" subtype="FLAT" location="288,78"> |
||||
|
<interface id="0" name="link0"/> |
||||
|
</node> |
||||
|
<node name="iosv-1" type="SIMPLE" subtype="IOSv" location="397,74"> |
||||
|
<extensions> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
<entry key="config" type="String">!
 |
||||
|
! Last configuration change at 21:23:40 UTC Thu Sep 3 2015
 |
||||
|
!
 |
||||
|
version 15.5
 |
||||
|
service timestamps debug datetime msec
 |
||||
|
service timestamps log datetime msec
 |
||||
|
no service password-encryption
 |
||||
|
!
 |
||||
|
hostname iosv-1
 |
||||
|
!
 |
||||
|
boot-start-marker
 |
||||
|
boot-end-marker
 |
||||
|
!
 |
||||
|
!
 |
||||
|
vrf definition Mgmt-intf
 |
||||
|
!
 |
||||
|
address-family ipv4
 |
||||
|
exit-address-family
 |
||||
|
!
 |
||||
|
address-family ipv6
 |
||||
|
exit-address-family
 |
||||
|
!
 |
||||
|
enable password cisco
 |
||||
|
!
 |
||||
|
no aaa new-model
 |
||||
|
ethernet lmi ce
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
mmi polling-interval 60
 |
||||
|
no mmi auto-configure
 |
||||
|
no mmi pvc
 |
||||
|
mmi snmp-timeout 180
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
no ip domain lookup
 |
||||
|
ip cef
 |
||||
|
ipv6 unicast-routing
 |
||||
|
ipv6 cef
 |
||||
|
!
 |
||||
|
multilink bundle-name authenticated
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
redundancy
 |
||||
|
!
 |
||||
|
no cdp run
 |
||||
|
!
 |
||||
|
! 
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
interface Loopback0
 |
||||
|
description Loopback
 |
||||
|
ip address 192.168.0.1 255.255.255.255
 |
||||
|
!
 |
||||
|
interface GigabitEthernet0/0
 |
||||
|
description OOB Management
 |
||||
|
vrf forwarding Mgmt-intf
 |
||||
|
ip address 10.255.0.116 255.255.0.0
 |
||||
|
duplex full
 |
||||
|
speed auto
 |
||||
|
media-type rj45
 |
||||
|
!
 |
||||
|
interface GigabitEthernet0/1
 |
||||
|
description to iosvl2-3
 |
||||
|
ip address 10.0.0.1 255.255.0.0
 |
||||
|
ip nat inside
 |
||||
|
ip virtual-reassembly in
 |
||||
|
ip ospf cost 1
 |
||||
|
duplex full
 |
||||
|
speed auto
 |
||||
|
media-type rj45
 |
||||
|
!
 |
||||
|
interface GigabitEthernet0/2
 |
||||
|
description to flat-1
 |
||||
|
ip address 172.16.1.89 255.255.255.0
 |
||||
|
ip nat outside
 |
||||
|
ip virtual-reassembly in
 |
||||
|
duplex full
 |
||||
|
speed auto
 |
||||
|
media-type rj45
 |
||||
|
!
 |
||||
|
router ospf 1
 |
||||
|
passive-interface Loopback0
 |
||||
|
network 10.0.0.0 0.0.255.255 area 0
 |
||||
|
network 192.168.0.1 0.0.0.0 area 0
 |
||||
|
!
 |
||||
|
ip forward-protocol nd
 |
||||
|
!
 |
||||
|
!
 |
||||
|
no ip http server
 |
||||
|
no ip http secure-server
 |
||||
|
ip nat pool flatpool 172.16.1.89 172.16.1.89 prefix-length 30
 |
||||
|
ip nat inside source list 1 pool flatpool overload
 |
||||
|
ip route 0.0.0.0 0.0.0.0 172.16.1.254
 |
||||
|
!
 |
||||
|
!
 |
||||
|
!
 |
||||
|
access-list 1 permit 10.0.0.0 0.255.255.255
 |
||||
|
!
 |
||||
|
control-plane
 |
||||
|
!
 |
||||
|
banner exec `
 |
||||
|
**************************************************************************
 |
||||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
 |
||||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
 |
||||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
 |
||||
|
* of the IOSv Software or Documentation to any third party for any *
 |
||||
|
* purposes is expressly prohibited except as otherwise authorized by *
 |
||||
|
* Cisco in writing. *
 |
||||
|
**************************************************************************`
 |
||||
|
banner incoming `
 |
||||
|
**************************************************************************
 |
||||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
 |
||||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
 |
||||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
 |
||||
|
* of the IOSv Software or Documentation to any third party for any *
 |
||||
|
* purposes is expressly prohibited except as otherwise authorized by *
 |
||||
|
* Cisco in writing. *
 |
||||
|
**************************************************************************`
 |
||||
|
banner login `
 |
||||
|
**************************************************************************
 |
||||
|
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
 |
||||
|
* education. IOSv is provided as-is and is not supported by Cisco's *
 |
||||
|
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
 |
||||
|
* of the IOSv Software or Documentation to any third party for any *
 |
||||
|
* purposes is expressly prohibited except as otherwise authorized by *
 |
||||
|
* Cisco in writing. *
 |
||||
|
**************************************************************************`
 |
||||
|
!
 |
||||
|
line con 0
 |
||||
|
password cisco
 |
||||
|
line aux 0
 |
||||
|
line vty 0 4
 |
||||
|
exec-timeout 720 0
 |
||||
|
password cisco
 |
||||
|
login
 |
||||
|
transport input telnet ssh
 |
||||
|
!
 |
||||
|
no scheduler allocate
 |
||||
|
!
 |
||||
|
end</entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="GigabitEthernet0/1" ipv4="10.0.0.1" netPrefixLenV4="16"/> |
||||
|
<interface id="1" name="GigabitEthernet0/2"/> |
||||
|
</node> |
||||
|
<node name="iosvl2-1" type="SIMPLE" subtype="IOSvL2" location="251,242"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="string">! IOSvL2 Config generated on 2015-09-03 21:26 |
||||
|
! by autonetkit_0.18.1 |
||||
|
! |
||||
|
version 15.2 |
||||
|
service timestamps debug datetime msec |
||||
|
service timestamps log datetime msec |
||||
|
no service password-encryption |
||||
|
service compress-config |
||||
|
no service config |
||||
|
enable password cisco |
||||
|
ip classless |
||||
|
ip subnet-zero |
||||
|
no ip domain lookup |
||||
|
! |
||||
|
line vty 0 4 |
||||
|
transport input ssh telnet |
||||
|
exec-timeout 720 0 |
||||
|
password cisco |
||||
|
login |
||||
|
! |
||||
|
line con 0 |
||||
|
password cisco |
||||
|
! |
||||
|
hostname iosvl2-1 |
||||
|
! |
||||
|
boot-start-marker |
||||
|
boot-end-marker |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
no aaa new-model |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
ip cef |
||||
|
no ipv6 cef |
||||
|
! |
||||
|
! |
||||
|
spanning-tree mode pvst |
||||
|
spanning-tree extend system-id |
||||
|
! |
||||
|
vlan internal allocation policy ascending |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
vrf definition Mgmt-intf |
||||
|
! |
||||
|
address-family ipv4 |
||||
|
exit-address-family |
||||
|
! |
||||
|
address-family ipv6 |
||||
|
exit-address-family |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
interface Loopback0 |
||||
|
description Loopback |
||||
|
! |
||||
|
interface GigabitEthernet0/0 |
||||
|
description Mapped to Vlan1 for management |
||||
|
! Configured on launch |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/1 |
||||
|
description to iosvl2-3 |
||||
|
switchport trunk encapsulation dot1q |
||||
|
switchport mode trunk |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/2 |
||||
|
description to server-1 |
||||
|
switchport access vlan 2 |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface Vlan1 |
||||
|
description OOB Management |
||||
|
! Configured on launch |
||||
|
vrf forwarding Mgmt-intf |
||||
|
no ip address |
||||
|
! |
||||
|
! |
||||
|
ip forward-protocol nd |
||||
|
! |
||||
|
no ip http server |
||||
|
no ip http secure-server |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
control-plane |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
end |
||||
|
</entry> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="GigabitEthernet0/1"/> |
||||
|
<interface id="1" name="GigabitEthernet0/2"/> |
||||
|
<interface id="2" name="GigabitEthernet0/3"/> |
||||
|
</node> |
||||
|
<node name="iosvl2-2" type="SIMPLE" subtype="IOSvL2" location="517,242"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="string">! IOSvL2 Config generated on 2015-09-03 21:26 |
||||
|
! by autonetkit_0.18.1 |
||||
|
! |
||||
|
version 15.2 |
||||
|
service timestamps debug datetime msec |
||||
|
service timestamps log datetime msec |
||||
|
no service password-encryption |
||||
|
service compress-config |
||||
|
no service config |
||||
|
enable password cisco |
||||
|
ip classless |
||||
|
ip subnet-zero |
||||
|
no ip domain lookup |
||||
|
! |
||||
|
line vty 0 4 |
||||
|
transport input ssh telnet |
||||
|
exec-timeout 720 0 |
||||
|
password cisco |
||||
|
login |
||||
|
! |
||||
|
line con 0 |
||||
|
password cisco |
||||
|
! |
||||
|
hostname iosvl2-2 |
||||
|
! |
||||
|
boot-start-marker |
||||
|
boot-end-marker |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
no aaa new-model |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
ip cef |
||||
|
no ipv6 cef |
||||
|
! |
||||
|
! |
||||
|
spanning-tree mode pvst |
||||
|
spanning-tree extend system-id |
||||
|
! |
||||
|
vlan internal allocation policy ascending |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
vrf definition Mgmt-intf |
||||
|
! |
||||
|
address-family ipv4 |
||||
|
exit-address-family |
||||
|
! |
||||
|
address-family ipv6 |
||||
|
exit-address-family |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
interface Loopback0 |
||||
|
description Loopback |
||||
|
! |
||||
|
interface GigabitEthernet0/0 |
||||
|
description Mapped to Vlan1 for management |
||||
|
! Configured on launch |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/1 |
||||
|
description to iosvl2-3 |
||||
|
switchport trunk encapsulation dot1q |
||||
|
switchport mode trunk |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/2 |
||||
|
description to server-2 |
||||
|
switchport access vlan 2 |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface Vlan1 |
||||
|
description OOB Management |
||||
|
! Configured on launch |
||||
|
vrf forwarding Mgmt-intf |
||||
|
no ip address |
||||
|
! |
||||
|
! |
||||
|
ip forward-protocol nd |
||||
|
! |
||||
|
no ip http server |
||||
|
no ip http secure-server |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
control-plane |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
end |
||||
|
</entry> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="GigabitEthernet0/1"/> |
||||
|
<interface id="1" name="GigabitEthernet0/2"/> |
||||
|
<interface id="2" name="GigabitEthernet0/3"/> |
||||
|
</node> |
||||
|
<node name="iosvl2-3" type="SIMPLE" subtype="IOSvL2" location="391,172"> |
||||
|
<extensions> |
||||
|
<entry key="config" type="string">! IOSvL2 Config generated on 2015-09-03 21:26 |
||||
|
! by autonetkit_0.18.1 |
||||
|
! |
||||
|
version 15.2 |
||||
|
service timestamps debug datetime msec |
||||
|
service timestamps log datetime msec |
||||
|
no service password-encryption |
||||
|
service compress-config |
||||
|
no service config |
||||
|
enable password cisco |
||||
|
ip classless |
||||
|
ip subnet-zero |
||||
|
no ip domain lookup |
||||
|
! |
||||
|
line vty 0 4 |
||||
|
transport input ssh telnet |
||||
|
exec-timeout 720 0 |
||||
|
password cisco |
||||
|
login |
||||
|
! |
||||
|
line con 0 |
||||
|
password cisco |
||||
|
! |
||||
|
hostname iosvl2-3 |
||||
|
! |
||||
|
boot-start-marker |
||||
|
boot-end-marker |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
no aaa new-model |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
ip cef |
||||
|
no ipv6 cef |
||||
|
! |
||||
|
! |
||||
|
spanning-tree mode pvst |
||||
|
spanning-tree extend system-id |
||||
|
! |
||||
|
vlan internal allocation policy ascending |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
vrf definition Mgmt-intf |
||||
|
! |
||||
|
address-family ipv4 |
||||
|
exit-address-family |
||||
|
! |
||||
|
address-family ipv6 |
||||
|
exit-address-family |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
interface Loopback0 |
||||
|
description Loopback |
||||
|
! |
||||
|
interface GigabitEthernet0/0 |
||||
|
description Mapped to Vlan1 for management |
||||
|
! Configured on launch |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/1 |
||||
|
description to iosvl2-2 |
||||
|
switchport trunk encapsulation dot1q |
||||
|
switchport mode trunk |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/2 |
||||
|
description to iosvl2-1 |
||||
|
switchport trunk encapsulation dot1q |
||||
|
switchport mode trunk |
||||
|
no shutdown |
||||
|
! |
||||
|
interface GigabitEthernet0/3 |
||||
|
description to iosv-1 |
||||
|
switchport access vlan 2 |
||||
|
switchport mode access |
||||
|
no shutdown |
||||
|
! |
||||
|
interface Vlan1 |
||||
|
description OOB Management |
||||
|
! Configured on launch |
||||
|
vrf forwarding Mgmt-intf |
||||
|
no ip address |
||||
|
! |
||||
|
! |
||||
|
ip forward-protocol nd |
||||
|
! |
||||
|
no ip http server |
||||
|
no ip http secure-server |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
control-plane |
||||
|
! |
||||
|
! |
||||
|
! |
||||
|
end |
||||
|
</entry> |
||||
|
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> |
||||
|
</extensions> |
||||
|
<interface id="0" name="GigabitEthernet0/1"/> |
||||
|
<interface id="1" name="GigabitEthernet0/2"/> |
||||
|
<interface id="2" name="GigabitEthernet0/3"/> |
||||
|
</node> |
||||
|
<node name="lxc-1" type="SIMPLE" subtype="lxc" location="259,323"> |
||||
|
<interface id="0" name="eth1"/> |
||||
|
</node> |
||||
|
<node name="lxc-2" type="SIMPLE" subtype="lxc" location="527,321"> |
||||
|
<interface id="0" name="eth1"/> |
||||
|
</node> |
||||
|
<connection dst="/virl:topology/virl:node[5]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[1]"/> |
||||
|
<connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[2]"/> |
||||
|
<connection dst="/virl:topology/virl:node[2]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[3]"/> |
||||
|
<connection dst="/virl:topology/virl:node[1]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/> |
||||
|
<connection dst="/virl:topology/virl:node[3]/virl:interface[3]" src="/virl:topology/virl:node[6]/virl:interface[1]"/> |
||||
|
<connection dst="/virl:topology/virl:node[7]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[3]"/> |
||||
|
</topology> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue