! ! Last configuration change at 15:54:14 UTC Thu Jan 7 2016 ! version 15.6 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 10.10.10.2 255.255.255.255 ! interface GigabitEthernet0/0 ip address 10.255.0.60 255.255.0.0 shutdown duplex auto speed auto media-type rj45 ! interface GigabitEthernet0/1 description to flat-1 ip address 172.16.1.115 255.255.255.0 ip ospf 1 area 0 duplex full speed auto media-type rj45 ! interface GigabitEthernet0/2 description to iosvl2-1 no ip address duplex full speed auto media-type rj45 ! interface GigabitEthernet0/2.10 description VLAN10 encapsulation dot1Q 10 ip address 192.168.21.254 255.255.255.0 ip ospf cost 1 ! interface GigabitEthernet0/2.20 description VLAN20 encapsulation dot1Q 20 ip address 192.168.22.254 255.255.255.0 ip ospf cost 1 ! interface GigabitEthernet0/2.30 description VLAN30 encapsulation dot1Q 30 ip address 192.168.23.254 255.255.255.0 ip ospf cost 1 ! router ospf 1 passive-interface Loopback0 network 192.168.21.0 0.0.0.255 area 0 network 192.168.22.0 0.0.0.255 area 0 network 192.168.23.0 0.0.0.255 area 0 ! ip forward-protocol nd ! ! no ip http server no ip http secure-server ! ! ! ! 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 ! ! Last configuration change at 15:26:32 UTC Sat Jan 23 2016 ! version 15.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service compress-config ! hostname iosvl2-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 ! ! ! ! ! no ip routing ! ! ! no ip domain-lookup no ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id spanning-tree vlan 10,20 priority 24576 ! vlan internal allocation policy ascending ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface GigabitEthernet0/0 media-type rj45 negotiation auto ! interface GigabitEthernet0/1 description to iosv-1 switchport trunk allowed vlan 10,30 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto spanning-tree bpdufilter enable ! interface GigabitEthernet0/2 description to iosvl2-2 switchport trunk allowed vlan 10,20,30 switchport trunk encapsulation dot1q switchport mode trunk shutdown media-type rj45 negotiation auto spanning-tree bpduguard enable ! interface GigabitEthernet0/3 description to iosvl2-3 switchport trunk allowed vlan 10,20,30 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto ! interface GigabitEthernet1/0 description to server-1 switchport access vlan 20 switchport access vlan 30 switchport access vlan 10 switchport mode access media-type rj45 negotiation auto spanning-tree bpdufilter enable ! interface Vlan20 description VLAN20TEST ip address 192.168.22.251 255.255.255.0 no ip route-cache ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ! ! ! ! ! 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 ! ! end ! ! Last configuration change at 15:04:01 UTC Sat Jan 23 2016 ! version 15.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service compress-config ! hostname iosvl2-2 ! 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 ! ! ! ! ! ! ! ! no ip domain-lookup ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 description Loopback no ip address ! interface GigabitEthernet0/0 media-type rj45 negotiation auto ! interface GigabitEthernet0/1 description to iosvl2-1 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 media-type rj45 negotiation auto ! interface GigabitEthernet0/2 description to iosvl2-3 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 media-type rj45 negotiation auto ! interface GigabitEthernet0/3 description to server-2 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk media-type rj45 negotiation auto spanning-tree bpdufilter enable ! interface GigabitEthernet1/0 switchport mode access switchport access vlan 10 switchport access vlan 30 switchport access vlan 20 no switchport access vlan 20 media-type rj45 negotiation auto spanning-tree bpdufilter enable ! interface Vlan20 description VLAN20TEST ip address 192.168.22.252 255.255.255.0 no ip route-cache ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ! ! ! ! ! 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 ! ! end #cloud-config bootcmd: - ln -s -t /etc/rc.d /etc/rc.local hostname: server-2 manage_etc_hosts: true runcmd: - start ttyS0 - systemctl start getty@ttyS0.service - 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.18.10 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/init/ttyS0.conf owner: root:root content: | # ttyS0 - getty # This service maintains a getty on ttyS0 from the point the system is # started until it is shut down again. start on stopped rc or RUNLEVEL=[12345] stop on runlevel [!12345] respawn exec /sbin/getty -L 115200 ttyS0 vt102 permissions: '0644' - 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 -e ifconfig eth1 up 192.168.22.1 netmask 255.255.255.0 route add -host 192.168.1.200 gw 192.168.22.254 dev eth1 route add -net 0.0.0.0 gw 192.168.22.254 dev eth1 exit 0 #cloud-config bootcmd: - ln -s -t /etc/rc.d /etc/rc.local hostname: server-3 manage_etc_hosts: true runcmd: - start ttyS0 - systemctl start getty@ttyS0.service - 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.18.10 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/init/ttyS0.conf owner: root:root content: | # ttyS0 - getty # This service maintains a getty on ttyS0 from the point the system is # started until it is shut down again. start on stopped rc or RUNLEVEL=[12345] stop on runlevel [!12345] respawn exec /sbin/getty -L 115200 ttyS0 vt102 permissions: '0644' - 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 -e ifconfig eth1 up 192.168.23.1 netmask 255.255.255.0 route add -host 192.168.1.200 gw 192.168.23.254 dev eth1 route add -net 0.0.0.0 gw 192.168.23.254 dev eth1 exit 0 #cloud-config bootcmd: - ln -s -t /etc/rc.d /etc/rc.local hostname: server-1 manage_etc_hosts: true runcmd: - start ttyS0 - systemctl start getty@ttyS0.service - 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.18.10 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/init/ttyS0.conf owner: root:root content: | # ttyS0 - getty # This service maintains a getty on ttyS0 from the point the system is # started until it is shut down again. start on stopped rc or RUNLEVEL=[12345] stop on runlevel [!12345] respawn exec /sbin/getty -L 115200 ttyS0 vt102 permissions: '0644' - 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 -e ifconfig eth1 up 192.168.21.1 netmask 255.255.255.0 route add -host 192.168.1.200 gw 192.168.21.254 dev eth1 route add -net 0.0.0.0 gw 192.168.21.254 dev eth1 exit 0 ! ! Last configuration change at 15:27:02 UTC Sat Jan 23 2016 ! version 15.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service compress-config ! hostname iosvl2-3 ! 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 ! ! ! ! ! ! ! ! no ip domain-lookup ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id spanning-tree vlan 10,20,30 priority 28672 ! vlan internal allocation policy ascending ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 description Loopback no ip address ! interface GigabitEthernet0/0 media-type rj45 negotiation auto ! interface GigabitEthernet0/1 description to iosvl2-1 switchport trunk allowed vlan 10,30 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto ! interface GigabitEthernet0/2 description to iosvl2-2 switchport trunk allowed vlan 10,20,30 switchport trunk encapsulation dot1q switchport mode trunk media-type rj45 negotiation auto ! interface GigabitEthernet0/3 description to server-1 switchport access vlan 10 switchport access vlan 20 switchport access vlan 30 switchport mode access media-type rj45 negotiation auto spanning-tree bpdufilter enable ! interface Vlan20 description VLAN20TEST ip address 192.168.22.253 255.255.255.0 no ip route-cache ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ! ! ! ! ! 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 ! ! end