Files
cml-community/lab-topologies/cml-free/vlan-tasks/topology.yaml
2025-02-23 10:26:14 -05:00

683 lines
14 KiB
YAML

annotations:
- border_color: '#808080FF'
border_radius: 2
border_style: ''
color: '#F8EFBB'
rotation: 0
thickness: 1
type: rectangle
x1: 440.0
y1: 40.0
x2: 440.0
y2: 120.0
z_index: 0
- border_color: '#808080FF'
border_radius: 2
border_style: ''
color: '#C4D9F0'
rotation: 0
thickness: 1
type: rectangle
x1: 440.0
y1: 387.0
x2: 436.0
y2: 120.0
z_index: 1
- border_color: '#00000000'
border_style: ''
color: '#000000FF'
rotation: 0
text_bold: true
text_content: VLAN 10
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 800.0
y1: 56.0
z_index: 3
- border_color: '#00000000'
border_style: ''
color: '#000000FF'
rotation: 0
text_bold: true
text_content: VLAN 20
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 798.0
y1: 485.0
z_index: 4
- border_color: '#808080FF'
border_style: ''
color: '#5FD34A'
rotation: 0
thickness: 1
type: ellipse
x1: 649.1808510638298
y1: 261.84574468085106
x2: 26.10638297872339
y2: 39.93794326241135
z_index: 5
- border_color: '#00000000'
border_style: ''
color: '#000000'
rotation: 0
text_bold: true
text_content: VLANs 10 and 20 ONLY trunked here.
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: -15.497049430398334
y1: 188.37721292720124
z_index: 6
- border_color: '#808080FF'
border_style: ''
color: '#000000'
line_end: arrow
line_start: null
thickness: 1
type: line
x1: 320.0
y1: 200.0
x2: 609.8262411347517
y2: 222.16312056737587
z_index: 7
- border_color: '#808080FF'
border_style: ''
color: '#5FD34A'
rotation: 0
thickness: 1
type: ellipse
x1: 836.3120567375887
y1: 261.78014184397153
x2: 26.10638297872339
y2: 41.52836879432627
z_index: 5
- border_color: '#00000000'
border_style: ''
color: '#000000'
rotation: 0
text_bold: true
text_content: VLANs 10 and 20 ONLY trunked here.
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 990.8754995421232
y1: 171.1980648504783
z_index: 6
- border_color: '#808080FF'
border_style: ''
color: '#000000'
line_end: arrow
line_start: null
thickness: 1
type: line
x1: 1060.2659574468087
y1: 198.9787234042553
x2: 876.4468085106384
y2: 222.16312056737587
z_index: 8
- border_color: '#00000000'
border_style: ''
color: '#000000'
rotation: 0
text_bold: true
text_content: |-
Use 192.168.10.1/24 for VLAN 10
Use 192.168.20.1/24 for VLAN 20
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 920.0
y1: 320.0
z_index: 9
- border_color: '#00000000'
border_style: ''
color: '#000000'
rotation: 0
text_bold: true
text_content: |-
IP address 192.168.10.2
Login:
cisco / cisco
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 480.0
y1: 80.0
z_index: 10
- border_color: '#00000000'
border_style: ''
color: '#000000'
rotation: 0
text_bold: true
text_content: |-
IP address 192.168.20.2
Login:
cisco / cisco
text_font: monospace
text_italic: false
text_size: 12
text_unit: pt
thickness: 1
type: text
x1: 587.0857921413347
y1: 421.2179892684938
z_index: 10
smart_annotations: []
nodes:
- boot_disk_size: 16
configuration:
- name: node.cfg
content: |-
# this is a shell script which will be sourced at boot
hostname PC
# configurable user account
ip addr add 192.168.10.2/24 dev eth0
ip route add default via 192.168.10.1
USERNAME=cisco
PASSWORD=cisco
cpu_limit: 100
cpus: 1
data_volume: 0
hide_links: false
id: n0
image_definition: null
label: PC
node_definition: desktop
parameters: {}
ram: 512
tags: []
x: 742
y: 91
interfaces:
- id: i0
label: eth0
mac_address: null
slot: 0
type: physical
- boot_disk_size: 16
configuration:
- name: iosxe_config.txt
content: |-
# this is a shell script which will be sourced at boot
hostname server
# configurable user account
USERNAME=cisco
PASSWORD=cisco
ifconfig eth0 inet 192.168.20.2 netmask 255.255.255.0
route add default gw 192.168.20.1
# no password for tc user by default
TC_PASSWORD=
cpu_limit: 100
cpus: 1
data_volume: 0
hide_links: false
id: n1
image_definition: server-tcl-11-1
label: server
node_definition: server
parameters: {}
ram: 128
tags: []
x: 552
y: 440
interfaces:
- id: i0
label: eth0
mac_address: null
slot: 0
type: physical
- boot_disk_size: null
configuration:
- name: ios_config.txt
content: |-
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname RTR
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
!
ip cef
login on-success log
no ipv6 cef
!
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
memory free low-watermark processor 81225
!
!
spanning-tree mode rapid-pvst
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
no shutdown
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip ssh bulk-mode 131072
!
!
!
!
!
control-plane
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
!
!
end
cpu_limit: null
cpus: null
data_volume: null
hide_links: false
id: n2
image_definition: null
label: RTR
node_definition: iol-xe
parameters: {}
ram: null
tags: []
x: 941
y: 260
interfaces:
- id: i0
label: Loopback0
mac_address: null
type: loopback
- id: i1
label: Ethernet0/0
mac_address: null
slot: 0
type: physical
- id: i2
label: Ethernet0/1
mac_address: null
slot: 1
type: physical
- id: i3
label: Ethernet0/2
mac_address: null
slot: 2
type: physical
- id: i4
label: Ethernet0/3
mac_address: null
slot: 3
type: physical
- boot_disk_size: null
configuration:
- name: ios_config.txt
content: |-
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
vtp mode transparent
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
negotiation auto
!
interface GigabitEthernet0/1
negotiation auto
!
interface GigabitEthernet0/2
negotiation auto
!
interface GigabitEthernet0/3
negotiation auto
!
ip forward-protocol nd
!
ip http server
ip http secure-server
!
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
!
!
control-plane
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
!
!
end
cpu_limit: null
cpus: null
data_volume: null
hide_links: false
id: n3
image_definition: null
label: SW1
node_definition: ioll2-xe
parameters: {}
ram: null
tags: []
x: 740
y: 263
interfaces:
- id: i0
label: Loopback0
mac_address: null
type: loopback
- id: i1
label: Ethernet0/0
mac_address: null
slot: 0
type: physical
- id: i2
label: Ethernet0/1
mac_address: null
slot: 1
type: physical
- id: i3
label: Ethernet0/2
mac_address: null
slot: 2
type: physical
- id: i4
label: Ethernet0/3
mac_address: null
slot: 3
type: physical
- boot_disk_size: null
configuration:
- name: ios_config.txt
content: |-
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
vtp mode transparent
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
negotiation auto
!
interface GigabitEthernet0/1
negotiation auto
!
interface GigabitEthernet0/2
negotiation auto
!
interface GigabitEthernet0/3
negotiation auto
!
ip forward-protocol nd
!
ip http server
ip http secure-server
!
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
!
!
end
cpu_limit: null
cpus: null
data_volume: null
hide_links: false
id: n4
image_definition: null
label: SW2
node_definition: ioll2-xe
parameters: {}
ram: null
tags: []
x: 552
y: 265
interfaces:
- id: i0
label: Loopback0
mac_address: null
type: loopback
- id: i1
label: Ethernet0/0
mac_address: null
slot: 0
type: physical
- id: i2
label: Ethernet0/1
mac_address: null
slot: 1
type: physical
- id: i3
label: Ethernet0/2
mac_address: null
slot: 2
type: physical
- id: i4
label: Ethernet0/3
mac_address: null
slot: 3
type: physical
links:
- id: l0
n1: n3
n2: n2
i1: i1
i2: i1
conditioning: {}
label: SW1-Ethernet0/0<->RTR-Ethernet0/0
- id: l1
n1: n3
n2: n0
i1: i2
i2: i0
conditioning: {}
label: SW1-Ethernet0/1<->PC-eth0
- id: l2
n1: n4
n2: n1
i1: i1
i2: i0
conditioning: {}
label: iol-l2-0-Ethernet0/0<->server-eth0
- id: l3
n1: n4
n2: n3
i1: i2
i2: i3
conditioning: {}
label: iol-l2-0-Ethernet0/1<->SW1-Ethernet0/2
lab:
description: ''
notes: |-
# CCNA: Implement Multiple VLANs and Basic Routing Between the VLANs
In this lab you need to do the following:
- Implement VLAN assignments on two switches
- Configure a dot1q trunk between those switches
- Configure a dot1q trunk between one switch and a router that will handle the routing for the VLANs
- Configure VLAN trunking on that router to act as a gateway between VLANs
- Verify that connectivity exists between hosts in the lab on each VLAN, and that the connectivity goes through the router
title: Sample Lab 1 FREE (VLAN Configuration)
version: 0.3.0