Skip to content
Snippets Groups Projects
Commit a5cd0968 authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

Uebung 3b aktualisiert

parent b0d86175
Branches master
No related tags found
No related merge requests found
...@@ -5,13 +5,20 @@ ...@@ -5,13 +5,20 @@
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="AutoNetkit.IGP" type="String">eigrp</entry> <entry key="AutoNetkit.IGP" type="String">eigrp</entry>
<entry key="Auto-generate config" type="Boolean">false</entry> <entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">! IOS Config generated on 2015-09-06 21:22&#xD; <entry key="config" type="String">!&#xD;
! by autonetkit_0.18.1&#xD; ! Last configuration change at 22:03:48 UTC Sun Jan 15 2017&#xD;
!&#xD;
version 15.6&#xD;
service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD;
no service password-encryption&#xD;
!&#xD; !&#xD;
hostname Router-A&#xD; hostname Router-A&#xD;
!&#xD;
boot-start-marker&#xD; boot-start-marker&#xD;
boot-end-marker&#xD; boot-end-marker&#xD;
!&#xD; !&#xD;
!&#xD;
vrf definition Mgmt-intf&#xD; vrf definition Mgmt-intf&#xD;
!&#xD; !&#xD;
address-family ipv4&#xD; address-family ipv4&#xD;
...@@ -20,35 +27,56 @@ vrf definition Mgmt-intf&#xD; ...@@ -20,35 +27,56 @@ vrf definition Mgmt-intf&#xD;
address-family ipv6&#xD; address-family ipv6&#xD;
exit-address-family&#xD; exit-address-family&#xD;
!&#xD; !&#xD;
!&#xD; enable password cisco&#xD;
!&#xD; !&#xD;
no aaa new-model&#xD; no aaa new-model&#xD;
ethernet lmi ce&#xD;
!&#xD;
!&#xD;
!&#xD;
mmi polling-interval 60&#xD;
no mmi auto-configure&#xD;
no mmi pvc&#xD;
mmi snmp-timeout 180&#xD;
!&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
no ip domain lookup&#xD;
ip cef&#xD; ip cef&#xD;
ipv6 unicast-routing&#xD; ipv6 unicast-routing&#xD;
ipv6 cef&#xD; ipv6 cef&#xD;
!&#xD; !&#xD;
multilink bundle-name authenticated&#xD;
!&#xD; !&#xD;
service timestamps debug datetime msec&#xD; !&#xD;
service timestamps log datetime msec&#xD; !&#xD;
no service password-encryption&#xD; !&#xD;
no service config&#xD; !&#xD;
enable password cisco&#xD; redundancy&#xD;
ip classless&#xD;
ip subnet-zero&#xD;
no ip domain lookup&#xD;
line vty 0 4&#xD;
transport input ssh telnet&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
line con 0&#xD;
password cisco&#xD;
!&#xD; !&#xD;
no cdp run&#xD; no cdp run&#xD;
!&#xD; !&#xD;
! &#xD; ! &#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
interface Loopback0&#xD; interface Loopback0&#xD;
description Loopback&#xD; description Loopback&#xD;
ip address 192.168.0.2 255.255.255.255&#xD; ip address 192.168.0.2 255.255.255.255&#xD;
...@@ -56,28 +84,70 @@ interface Loopback0&#xD; ...@@ -56,28 +84,70 @@ interface Loopback0&#xD;
interface GigabitEthernet0/0&#xD; interface GigabitEthernet0/0&#xD;
description OOB Management&#xD; description OOB Management&#xD;
vrf forwarding Mgmt-intf&#xD; vrf forwarding Mgmt-intf&#xD;
! Configured on launch&#xD; ip address 10.255.0.229 255.255.0.0&#xD;
no ip address&#xD;
duplex full&#xD; duplex full&#xD;
speed auto&#xD; speed auto&#xD;
no shutdown&#xD; media-type rj45&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/1&#xD; interface GigabitEthernet0/1&#xD;
description to ISP&#xD; description to ISP&#xD;
ip address 192.168.101.2 255.255.255.252&#xD; ip address 192.168.101.2 255.255.255.252&#xD;
duplex full&#xD; duplex full&#xD;
speed auto&#xD; speed auto&#xD;
no shutdown&#xD; media-type rj45&#xD;
!&#xD; !&#xD;
ip forward-protocol nd&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
no ip http server&#xD;
no ip http secure-server&#xD;
ip route 0.0.0.0 0.0.0.0 192.168.101.1&#xD;
!&#xD; !&#xD;
&#xD;
!&#xD; !&#xD;
ip route 0.0.0.0 0.0.0.0 192.168.101.1&#xD;
!&#xD; !&#xD;
end&#xD; !&#xD;
</entry> control-plane&#xD;
!&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD;
no scheduler allocate&#xD;
!&#xD;
end</entry>
</extensions> </extensions>
<interface id="0" name="GigabitEthernet0/1" ipv4="192.168.101.2" netPrefixLenV4="24"/> <interface id="0" name="GigabitEthernet0/1" ipv4="192.168.101.2" netPrefixLenV4="24"/>
<interface id="1" name="GigabitEthernet0/2" ipv4="192.168.1.1" netPrefixLenV4="24"/> <interface id="1" name="GigabitEthernet0/2" ipv4="192.168.1.1" netPrefixLenV4="24"/>
...@@ -88,13 +158,20 @@ end&#xD; ...@@ -88,13 +158,20 @@ end&#xD;
<extensions> <extensions>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry> <entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">! IOS Config generated on 2015-09-06 21:22&#xD; <entry key="config" type="String">!&#xD;
! by autonetkit_0.18.1&#xD; ! Last configuration change at 22:03:51 UTC Sun Jan 15 2017&#xD;
!&#xD;
version 15.6&#xD;
service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD;
no service password-encryption&#xD;
!&#xD; !&#xD;
hostname Router-B&#xD; hostname Router-B&#xD;
!&#xD;
boot-start-marker&#xD; boot-start-marker&#xD;
boot-end-marker&#xD; boot-end-marker&#xD;
!&#xD; !&#xD;
!&#xD;
vrf definition Mgmt-intf&#xD; vrf definition Mgmt-intf&#xD;
!&#xD; !&#xD;
address-family ipv4&#xD; address-family ipv4&#xD;
...@@ -103,35 +180,56 @@ vrf definition Mgmt-intf&#xD; ...@@ -103,35 +180,56 @@ vrf definition Mgmt-intf&#xD;
address-family ipv6&#xD; address-family ipv6&#xD;
exit-address-family&#xD; exit-address-family&#xD;
!&#xD; !&#xD;
!&#xD; enable password cisco&#xD;
!&#xD; !&#xD;
no aaa new-model&#xD; no aaa new-model&#xD;
ethernet lmi ce&#xD;
!&#xD;
!&#xD;
!&#xD;
mmi polling-interval 60&#xD;
no mmi auto-configure&#xD;
no mmi pvc&#xD;
mmi snmp-timeout 180&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
no ip domain lookup&#xD;
ip cef&#xD; ip cef&#xD;
ipv6 unicast-routing&#xD; ipv6 unicast-routing&#xD;
ipv6 cef&#xD; ipv6 cef&#xD;
!&#xD; !&#xD;
multilink bundle-name authenticated&#xD;
!&#xD;
!&#xD;
!&#xD; !&#xD;
service timestamps debug datetime msec&#xD; !&#xD;
service timestamps log datetime msec&#xD; !&#xD;
no service password-encryption&#xD; redundancy&#xD;
no service config&#xD;
enable password cisco&#xD;
ip classless&#xD;
ip subnet-zero&#xD;
no ip domain lookup&#xD;
line vty 0 4&#xD;
transport input ssh telnet&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
line con 0&#xD;
password cisco&#xD;
!&#xD; !&#xD;
no cdp run&#xD; no cdp run&#xD;
!&#xD; !&#xD;
! &#xD; ! &#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
interface Loopback0&#xD; interface Loopback0&#xD;
description Loopback&#xD; description Loopback&#xD;
ip address 192.168.0.3 255.255.255.255&#xD; ip address 192.168.0.3 255.255.255.255&#xD;
...@@ -139,11 +237,10 @@ interface Loopback0&#xD; ...@@ -139,11 +237,10 @@ interface Loopback0&#xD;
interface GigabitEthernet0/0&#xD; interface GigabitEthernet0/0&#xD;
description OOB Management&#xD; description OOB Management&#xD;
vrf forwarding Mgmt-intf&#xD; vrf forwarding Mgmt-intf&#xD;
! Configured on launch&#xD; ip address 10.255.0.230 255.255.0.0&#xD;
no ip address&#xD;
duplex full&#xD; duplex full&#xD;
speed auto&#xD; speed auto&#xD;
no shutdown&#xD; media-type rj45&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/1&#xD; interface GigabitEthernet0/1&#xD;
description to ISP&#xD; description to ISP&#xD;
...@@ -151,15 +248,60 @@ interface GigabitEthernet0/1&#xD; ...@@ -151,15 +248,60 @@ interface GigabitEthernet0/1&#xD;
ip ospf cost 1&#xD; ip ospf cost 1&#xD;
duplex full&#xD; duplex full&#xD;
speed auto&#xD; speed auto&#xD;
no shutdown&#xD; media-type rj45&#xD;
&#xD;
!&#xD; !&#xD;
ip forward-protocol nd&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
no ip http server&#xD;
no ip http secure-server&#xD;
ip route 0.0.0.0 0.0.0.0 192.168.102.1&#xD; ip route 0.0.0.0 0.0.0.0 192.168.102.1&#xD;
!&#xD; !&#xD;
end&#xD; !&#xD;
</entry> !&#xD;
!&#xD;
control-plane&#xD;
!&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD;
no scheduler allocate&#xD;
!&#xD;
end</entry>
</extensions> </extensions>
<interface id="0" name="GigabitEthernet0/1"/> <interface id="0" name="GigabitEthernet0/1"/>
<interface id="1" name="GigabitEthernet0/2" netPrefixLenV4="24"/> <interface id="1" name="GigabitEthernet0/2" netPrefixLenV4="24"/>
...@@ -170,32 +312,18 @@ end&#xD; ...@@ -170,32 +312,18 @@ end&#xD;
</extensions> </extensions>
<interface id="0" name="link0"/> <interface id="0" name="link0"/>
</node> </node>
<node name="Switch-A" type="SIMPLE" subtype="IOSvL2" location="552,358"> <node name="Switch-A" type="SIMPLE" subtype="IOSvL2" location="512,305">
<extensions> <extensions>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry> <entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">! IOSvL2 Config generated on 2015-12-11 21:04&#xD; <entry key="config" type="String">!&#xD;
! by autonetkit_0.18.1&#xD; ! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
!&#xD; !&#xD;
version 15.2&#xD; version 15.2&#xD;
service timestamps debug datetime msec&#xD; service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD; service timestamps log datetime msec&#xD;
no service password-encryption&#xD; no service password-encryption&#xD;
service compress-config&#xD; service compress-config&#xD;
no service config&#xD;
enable password cisco&#xD;
ip classless&#xD;
ip subnet-zero&#xD;
no ip domain lookup&#xD;
!&#xD;
line vty 0 4&#xD;
transport input ssh telnet&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
!&#xD; !&#xD;
hostname Switch-A&#xD; hostname Switch-A&#xD;
!&#xD; !&#xD;
...@@ -203,6 +331,15 @@ boot-start-marker&#xD; ...@@ -203,6 +331,15 @@ boot-start-marker&#xD;
boot-end-marker&#xD; boot-end-marker&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
vrf definition Mgmt-intf&#xD;
!&#xD;
address-family ipv4&#xD;
exit-address-family&#xD;
!&#xD;
address-family ipv6&#xD;
exit-address-family&#xD;
!&#xD;
enable password cisco&#xD;
!&#xD; !&#xD;
no aaa new-model&#xD; no aaa new-model&#xD;
!&#xD; !&#xD;
...@@ -213,10 +350,12 @@ no aaa new-model&#xD; ...@@ -213,10 +350,12 @@ no aaa new-model&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
no ip domain-lookup&#xD;
ip cef&#xD; ip cef&#xD;
no ipv6 cef&#xD; no ipv6 cef&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
!&#xD;
spanning-tree mode pvst&#xD; spanning-tree mode pvst&#xD;
spanning-tree extend system-id&#xD; spanning-tree extend system-id&#xD;
!&#xD; !&#xD;
...@@ -225,13 +364,11 @@ vlan internal allocation policy ascending&#xD; ...@@ -225,13 +364,11 @@ vlan internal allocation policy ascending&#xD;
! &#xD; ! &#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
vrf definition Mgmt-intf&#xD;
!&#xD; !&#xD;
address-family ipv4&#xD;
exit-address-family&#xD;
!&#xD; !&#xD;
address-family ipv6&#xD; !&#xD;
exit-address-family&#xD; !&#xD;
!&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
!&#xD; !&#xD;
...@@ -239,32 +376,34 @@ vrf definition Mgmt-intf&#xD; ...@@ -239,32 +376,34 @@ vrf definition Mgmt-intf&#xD;
!&#xD; !&#xD;
interface Loopback0&#xD; interface Loopback0&#xD;
description Loopback&#xD; description Loopback&#xD;
!&#xD;
interface GigabitEthernet0/0&#xD;
description OOB management&#xD;
! Configured on launch&#xD;
no switchport&#xD;
no ip address&#xD; no ip address&#xD;
no shutdown&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/1&#xD; interface GigabitEthernet0/1&#xD;
description to Router-B&#xD; description to Router-B&#xD;
switchport access vlan 2&#xD; switchport access vlan 2&#xD;
switchport mode access&#xD; switchport mode access&#xD;
no shutdown&#xD; media-type rj45&#xD;
negotiation auto&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/2&#xD; interface GigabitEthernet0/2&#xD;
description to Server-A&#xD; description to Switch-B&#xD;
switchport access vlan 2&#xD; switchport access vlan 2&#xD;
switchport mode access&#xD; switchport mode access&#xD;
no shutdown&#xD; media-type rj45&#xD;
negotiation auto&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/3&#xD; interface GigabitEthernet0/3&#xD;
description to Server-B&#xD; description to Server-C&#xD;
switchport access vlan 2&#xD; switchport access vlan 2&#xD;
switchport mode access&#xD; switchport mode access&#xD;
no shutdown&#xD; media-type rj45&#xD;
negotiation auto&#xD;
!&#xD; !&#xD;
interface GigabitEthernet0/0&#xD;
description OOB management&#xD;
no switchport&#xD;
ip address 10.255.0.231 255.255.0.0&#xD;
negotiation auto&#xD;
!&#xD; !&#xD;
ip forward-protocol nd&#xD; ip forward-protocol nd&#xD;
!&#xD; !&#xD;
...@@ -278,14 +417,52 @@ no ip http secure-server&#xD; ...@@ -278,14 +417,52 @@ no ip http secure-server&#xD;
!&#xD; !&#xD;
control-plane&#xD; control-plane&#xD;
!&#xD; !&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD; !&#xD;
mac address-table aging-time 10&#xD;
!&#xD; !&#xD;
end&#xD; end</entry>
</entry>
</extensions> </extensions>
<interface id="0" name="GigabitEthernet0/1"/> <interface id="0" name="GigabitEthernet0/1"/>
<interface id="1" name="GigabitEthernet0/2"/> <interface id="1" name="GigabitEthernet0/2"/>
<interface id="2" name="GigabitEthernet0/3"/> <interface id="2" name="GigabitEthernet0/3"/>
<interface id="3" name="GigabitEthernet1/0"/>
<interface id="4" name="GigabitEthernet1/1"/>
</node> </node>
<node name="ISP" type="SIMPLE" subtype="lxc" location="343,149"> <node name="ISP" type="SIMPLE" subtype="lxc" location="343,149">
<extensions> <extensions>
...@@ -379,7 +556,7 @@ write_files:&#xD; ...@@ -379,7 +556,7 @@ write_files:&#xD;
<interface id="1" name="eth2"/> <interface id="1" name="eth2"/>
<interface id="2" name="eth3"/> <interface id="2" name="eth3"/>
</node> </node>
<node name="Server-B" type="SIMPLE" subtype="lxc" location="393,364"> <node name="Server-B" type="SIMPLE" subtype="lxc" location="384,414">
<extensions> <extensions>
<entry key="Auto-generate config" type="Boolean">false</entry> <entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">#cloud-config&#xD; <entry key="config" type="String">#cloud-config&#xD;
...@@ -436,6 +613,9 @@ write_files:&#xD; ...@@ -436,6 +613,9 @@ write_files:&#xD;
content: |-&#xD; content: |-&#xD;
#!/bin/sh -e&#xD; #!/bin/sh -e&#xD;
echo "nameserver 8.8.8.8" &gt;/etc/resolv.conf&#xD; echo "nameserver 8.8.8.8" &gt;/etc/resolv.conf&#xD;
#ifconfig eth1 192.168.32.10 netmask 255.255.254.0&#xD;
#route del default&#xD;
#route add default gw 192.168.32.1&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
</entry> </entry>
...@@ -496,6 +676,9 @@ write_files:&#xD; ...@@ -496,6 +676,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
#!/bin/sh -e&#xD; #!/bin/sh -e&#xD;
#ifconfig eth1 192.168.32.20&#xD;
#route del default&#xD;
#route add default gw 192.168.32.1&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;
...@@ -560,6 +743,9 @@ write_files:&#xD; ...@@ -560,6 +743,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
!/bin/sh -e&#xD; !/bin/sh -e&#xD;
#ifconfig eth1 192.168.100.194 netmask 255.255.255.240&#xD;
#route del default&#xD;
#route add default gw 192.168.100.193&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;
...@@ -626,6 +812,9 @@ write_files:&#xD; ...@@ -626,6 +812,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
!/bin/sh -e&#xD; !/bin/sh -e&#xD;
#ifconfig eth1 192.168.100.130 netmask 255.255.255.192&#xD;
#route del default&#xD;
#route add default gw 192.168.100.129&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;
...@@ -692,6 +881,9 @@ write_files:&#xD; ...@@ -692,6 +881,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
!/bin/sh -e&#xD; !/bin/sh -e&#xD;
#ifconfig eth1 192.168.100.10 netmask 255.255.255.128&#xD;
#route del default&#xD;
#route add default gw 192.168.100.1&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;
...@@ -704,14 +896,313 @@ write_files:&#xD; ...@@ -704,14 +896,313 @@ write_files:&#xD;
</extensions> </extensions>
<interface id="0" name="eth1"/> <interface id="0" name="eth1"/>
</node> </node>
<node name="Switch-B" type="SIMPLE" subtype="IOSvL2" location="483,416">
<extensions>
<entry key="config" type="String">!&#xD;
! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
!&#xD;
version 15.2&#xD;
service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD;
no service password-encryption&#xD;
service compress-config&#xD;
!&#xD;
hostname Switch-B&#xD;
!&#xD;
boot-start-marker&#xD;
boot-end-marker&#xD;
!&#xD;
!&#xD;
vrf definition Mgmt-intf&#xD;
!&#xD;
address-family ipv4&#xD;
exit-address-family&#xD;
!&#xD;
address-family ipv6&#xD;
exit-address-family&#xD;
!&#xD;
enable password cisco&#xD;
!&#xD;
no aaa new-model&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
no ip domain-lookup&#xD;
ip cef&#xD;
no ipv6 cef&#xD;
!&#xD;
!&#xD;
!&#xD;
spanning-tree mode pvst&#xD;
spanning-tree extend system-id&#xD;
!&#xD;
vlan internal allocation policy ascending&#xD;
!&#xD;
! &#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
interface Loopback0&#xD;
description Loopback&#xD;
no ip address&#xD;
!&#xD;
interface GigabitEthernet0/1&#xD;
description to Switch-A&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/2&#xD;
description to Server-A&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/3&#xD;
description to Switch-C&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/0&#xD;
description OOB management&#xD;
no switchport&#xD;
ip address 10.255.0.231 255.255.0.0&#xD;
negotiation auto&#xD;
!&#xD;
ip forward-protocol nd&#xD;
!&#xD;
no ip http server&#xD;
no ip http secure-server&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
control-plane&#xD;
!&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD;
mac address-table aging-time 10&#xD;
!&#xD;
end</entry>
</extensions>
<interface id="0" name="GigabitEthernet0/1"/>
<interface id="1" name="GigabitEthernet0/2"/>
<interface id="2" name="GigabitEthernet0/3"/>
</node>
<node name="Switch-C" type="SIMPLE" subtype="IOSvL2" location="606,393">
<extensions>
<entry key="config" type="String">!&#xD;
! Last configuration change at 22:03:41 UTC Sun Jan 15 2017&#xD;
!&#xD;
version 15.2&#xD;
service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD;
no service password-encryption&#xD;
service compress-config&#xD;
!&#xD;
hostname Switch-C&#xD;
!&#xD;
boot-start-marker&#xD;
boot-end-marker&#xD;
!&#xD;
!&#xD;
vrf definition Mgmt-intf&#xD;
!&#xD;
address-family ipv4&#xD;
exit-address-family&#xD;
!&#xD;
address-family ipv6&#xD;
exit-address-family&#xD;
!&#xD;
enable password cisco&#xD;
!&#xD;
no aaa new-model&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
no ip domain-lookup&#xD;
ip cef&#xD;
no ipv6 cef&#xD;
!&#xD;
!&#xD;
!&#xD;
spanning-tree mode pvst&#xD;
spanning-tree extend system-id&#xD;
!&#xD;
vlan internal allocation policy ascending&#xD;
!&#xD;
! &#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
interface Loopback0&#xD;
description Loopback&#xD;
no ip address&#xD;
!&#xD;
interface GigabitEthernet0/1&#xD;
description to Switch-A&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/2&#xD;
description to Server-A&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/3&#xD;
description to Switch-B&#xD;
switchport access vlan 2&#xD;
switchport mode access&#xD;
media-type rj45&#xD;
negotiation auto&#xD;
!&#xD;
interface GigabitEthernet0/0&#xD;
description OOB management&#xD;
no switchport&#xD;
ip address 10.255.0.231 255.255.0.0&#xD;
negotiation auto&#xD;
!&#xD;
ip forward-protocol nd&#xD;
!&#xD;
no ip http server&#xD;
no ip http secure-server&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
control-plane&#xD;
!&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD;
mac address-table aging-time 10&#xD;
!&#xD;
end</entry>
</extensions>
<interface id="0" name="GigabitEthernet0/1"/>
<interface id="1" name="GigabitEthernet0/2"/>
<interface id="2" name="GigabitEthernet0/3"/>
</node>
<annotations/> <annotations/>
<connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/> <connection dst="/virl:topology/virl:node[4]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/>
<connection dst="/virl:topology/virl:node[5]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[5]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[2]/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[2]"/>
<connection dst="/virl:topology/virl:node[5]/virl:interface[3]" src="/virl:topology/virl:node[3]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[5]/virl:interface[3]" src="/virl:topology/virl:node[3]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[4]/virl:interface[3]" src="/virl:topology/virl:node[6]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[4]/virl:interface[2]" src="/virl:topology/virl:node[7]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[1]/virl:interface[2]" src="/virl:topology/virl:node[10]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[1]/virl:interface[2]" src="/virl:topology/virl:node[10]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[1]/virl:interface[3]" src="/virl:topology/virl:node[8]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[1]/virl:interface[3]" src="/virl:topology/virl:node[8]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[1]/virl:interface[4]" src="/virl:topology/virl:node[9]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[1]/virl:interface[4]" src="/virl:topology/virl:node[9]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[11]/virl:interface[2]" src="/virl:topology/virl:node[6]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[12]/virl:interface[2]" src="/virl:topology/virl:node[7]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[12]/virl:interface[3]" src="/virl:topology/virl:node[11]/virl:interface[3]"/>
<connection dst="/virl:topology/virl:node[11]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[2]"/>
<connection dst="/virl:topology/virl:node[12]/virl:interface[1]" src="/virl:topology/virl:node[4]/virl:interface[3]"/>
</topology> </topology>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment