annotations:
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#316C3FB2'
    thickness: 1
    type: rectangle
    x1: -480.0
    y1: 40.0
    x2: 280.0
    y2: 80.0
    z_index: 0
  - border_color: '#00000000'
    border_style: ''
    color: '#D93D3D'
    rotation: 0
    text_bold: false
    text_content: Trunk
    text_font: monospace
    text_italic: false
    text_size: 23
    text_unit: pt
    thickness: 1
    type: text
    x1: -400.0
    y1: 80.0
    z_index: 1
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#D23EB4'
    thickness: 1
    type: rectangle
    x1: -560.0
    y1: -120.0
    x2: 160.0
    y2: 120.0
    z_index: 2
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#D23EB4'
    thickness: 1
    type: rectangle
    x1: -240.0
    y1: 200.0
    x2: 160.0
    y2: 160.0
    z_index: 2
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#3EADD2'
    thickness: 1
    type: rectangle
    x1: -600.0
    y1: 200.0
    x2: 160.0
    y2: 160.0
    z_index: 2
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#3EADD2'
    thickness: 1
    type: rectangle
    x1: -240.0
    y1: -160.0
    x2: 160.0
    y2: 160.0
    z_index: 2
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    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: -600.0
    y1: 200.0
    z_index: 3
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    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: -200.0
    y1: -160.0
    z_index: 3
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#3EADD2'
    thickness: 1
    type: rectangle
    x1: -960.0
    y1: -40.0
    x2: 160.0
    y2: 120.0
    z_index: 2
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: VLAN 30
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -560.0
    y1: -120.0
    z_index: 4
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: VLAN 30
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -240.0
    y1: 280.0
    z_index: 4
  - border_color: '#808080FF'
    border_radius: 0
    border_style: ''
    color: '#D23EB4'
    thickness: 1
    type: rectangle
    x1: -960.0
    y1: 120.0
    x2: 200.0
    y2: 120.0
    z_index: 2
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: VLAN 30  - Students
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -960.0
    y1: 120.0
    z_index: 4
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    rotation: 0
    text_bold: true
    text_content: VLAN 20 - Staff
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -960.0
    y1: -40.0
    z_index: 3
  - border_color: '#00000000'
    border_style: ''
    color: '#808080FF'
    rotation: 0
    text_bold: false
    text_content: ''
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -920.0
    y1: 0.0
    z_index: 5
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    rotation: 0
    text_bold: false
    text_content: |-
      VLAN 20
      192.168.1.0 /24
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -960.0
    y1: 0.0
    z_index: 6
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: |-
      VLAN 30
      192.168.20.0 /24
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -960.0
    y1: 160.0
    z_index: 4
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    rotation: 0
    text_bold: false
    text_content: '.10'
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -480.0
    y1: 280.0
    z_index: 7
  - border_color: '#00000000'
    border_style: ''
    color: '#F6FF3F'
    rotation: 0
    text_bold: false
    text_content: '.20'
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -160.0
    y1: -40.0
    z_index: 7
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: '.10'
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -480.0
    y1: -40.0
    z_index: 8
  - border_color: '#00000000'
    border_style: ''
    color: '#28FF73'
    rotation: 0
    text_bold: false
    text_content: '.30'
    text_font: monospace
    text_italic: false
    text_size: 12
    text_unit: pt
    thickness: 1
    type: text
    x1: -120.0
    y1: 240.0
    z_index: 9
nodes:
  - boot_disk_size: null
    configuration:
      - name: ios_config.txt
        content: |-
          Building configuration...

          Current configuration : 3427 bytes
          !
          ! Last configuration change at 09:43:10 UTC Mon May 6 2024
          !
          version 15.2
          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 logging console
          !
          no aaa new-model
          !
          !
          !
          !
          !
          !
          !
          !
          ip cef
          no ipv6 cef
          !
          !
          !
          spanning-tree mode pvst
          spanning-tree extend system-id
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          interface GigabitEthernet0/0
           switchport access vlan 20
           switchport mode access
           negotiation auto
          !
          interface GigabitEthernet0/1
           switchport access vlan 30
           switchport mode access
           negotiation auto
          !
          interface GigabitEthernet0/2
           negotiation auto
          !
          interface GigabitEthernet0/3
           negotiation auto
          !
          interface GigabitEthernet1/0
           negotiation auto
          !
          interface GigabitEthernet1/1
           negotiation auto
          !
          interface GigabitEthernet1/2
           negotiation auto
          !
          interface GigabitEthernet1/3
           negotiation auto
          !
          interface GigabitEthernet2/0
           negotiation auto
          !
          interface GigabitEthernet2/1
           negotiation auto
          !
          interface GigabitEthernet2/2
           negotiation auto
          !
          interface GigabitEthernet2/3
           negotiation auto
          !
          interface GigabitEthernet3/0
           negotiation auto
          !
          interface GigabitEthernet3/1
           negotiation auto
          !
          interface GigabitEthernet3/2
           negotiation auto
          !
          interface GigabitEthernet3/3
           switchport trunk encapsulation dot1q
           switchport mode trunk
           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
          !
          banner exec ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          banner incoming ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          banner login ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          !
          line con 0
           exec-timeout 0 0
          line aux 0
          line vty 0 4
           exec-timeout 0 0
           login
          !
          !
          end
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n0
    image_definition: null
    label: SW1
    node_definition: iosvl2
    parameters: {}
    ram: null
    tags: []
    x: -480
    y: 80
    interfaces:
      - id: i0
        label: Loopback0
        type: loopback
      - id: i1
        label: GigabitEthernet0/0
        slot: 0
        type: physical
      - id: i2
        label: GigabitEthernet0/1
        slot: 1
        type: physical
      - id: i3
        label: GigabitEthernet0/2
        slot: 2
        type: physical
      - id: i4
        label: GigabitEthernet0/3
        slot: 3
        type: physical
      - id: i5
        label: GigabitEthernet1/0
        slot: 4
        type: physical
      - id: i6
        label: GigabitEthernet1/1
        slot: 5
        type: physical
      - id: i7
        label: GigabitEthernet1/2
        slot: 6
        type: physical
      - id: i8
        label: GigabitEthernet1/3
        slot: 7
        type: physical
      - id: i9
        label: GigabitEthernet2/0
        slot: 8
        type: physical
      - id: i10
        label: GigabitEthernet2/1
        slot: 9
        type: physical
      - id: i11
        label: GigabitEthernet2/2
        slot: 10
        type: physical
      - id: i12
        label: GigabitEthernet2/3
        slot: 11
        type: physical
      - id: i13
        label: GigabitEthernet3/0
        slot: 12
        type: physical
      - id: i14
        label: GigabitEthernet3/1
        slot: 13
        type: physical
      - id: i15
        label: GigabitEthernet3/2
        slot: 14
        type: physical
      - id: i16
        label: GigabitEthernet3/3
        slot: 15
        type: physical
  - boot_disk_size: null
    configuration:
      - name: ios_config.txt
        content: |-
          Building configuration...

          Current configuration : 3427 bytes
          !
          ! Last configuration change at 09:43:08 UTC Mon May 6 2024
          !
          version 15.2
          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 logging console
          !
          no aaa new-model
          !
          !
          !
          !
          !
          !
          !
          !
          ip cef
          no ipv6 cef
          !
          !
          !
          spanning-tree mode pvst
          spanning-tree extend system-id
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          interface GigabitEthernet0/0
           switchport access vlan 30
           switchport mode access
           negotiation auto
          !
          interface GigabitEthernet0/1
           switchport access vlan 20
           switchport mode access
           negotiation auto
          !
          interface GigabitEthernet0/2
           negotiation auto
          !
          interface GigabitEthernet0/3
           negotiation auto
          !
          interface GigabitEthernet1/0
           negotiation auto
          !
          interface GigabitEthernet1/1
           negotiation auto
          !
          interface GigabitEthernet1/2
           negotiation auto
          !
          interface GigabitEthernet1/3
           negotiation auto
          !
          interface GigabitEthernet2/0
           negotiation auto
          !
          interface GigabitEthernet2/1
           negotiation auto
          !
          interface GigabitEthernet2/2
           negotiation auto
          !
          interface GigabitEthernet2/3
           negotiation auto
          !
          interface GigabitEthernet3/0
           negotiation auto
          !
          interface GigabitEthernet3/1
           negotiation auto
          !
          interface GigabitEthernet3/2
           negotiation auto
          !
          interface GigabitEthernet3/3
           switchport trunk encapsulation dot1q
           switchport mode trunk
           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
          !
          banner exec ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          banner incoming ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          banner login ^C
          IOSv - Cisco Systems Confidential -

          Supplemental End User License Restrictions

          This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.

          By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
          ^C
          !
          line con 0
           exec-timeout 0 0
          line aux 0
          line vty 0 4
           exec-timeout 0 0
           login
          !
          !
          end
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n1
    image_definition: null
    label: SW2
    node_definition: iosvl2
    parameters: {}
    ram: null
    tags: []
    x: -200
    y: 80
    interfaces:
      - id: i0
        label: Loopback0
        type: loopback
      - id: i1
        label: GigabitEthernet0/0
        slot: 0
        type: physical
      - id: i2
        label: GigabitEthernet0/1
        slot: 1
        type: physical
      - id: i3
        label: GigabitEthernet0/2
        slot: 2
        type: physical
      - id: i4
        label: GigabitEthernet0/3
        slot: 3
        type: physical
      - id: i5
        label: GigabitEthernet1/0
        slot: 4
        type: physical
      - id: i6
        label: GigabitEthernet1/1
        slot: 5
        type: physical
      - id: i7
        label: GigabitEthernet1/2
        slot: 6
        type: physical
      - id: i8
        label: GigabitEthernet1/3
        slot: 7
        type: physical
      - id: i9
        label: GigabitEthernet2/0
        slot: 8
        type: physical
      - id: i10
        label: GigabitEthernet2/1
        slot: 9
        type: physical
      - id: i11
        label: GigabitEthernet2/2
        slot: 10
        type: physical
      - id: i12
        label: GigabitEthernet2/3
        slot: 11
        type: physical
      - id: i13
        label: GigabitEthernet3/0
        slot: 12
        type: physical
      - id: i14
        label: GigabitEthernet3/1
        slot: 13
        type: physical
      - id: i15
        label: GigabitEthernet3/2
        slot: 14
        type: physical
      - id: i16
        label: GigabitEthernet3/3
        slot: 15
        type: physical
  - boot_disk_size: null
    configuration:
      - name: node.cfg
        content: |-
          # this is a shell script which will be sourced at boot
          hostname inserthostname-here
          # configurable user account
          USERNAME=cisco
          PASSWORD=cisco
          echo '127.0.0.1 Desktop-0' >> /etc/hosts
          ip address add 192.168.20.10/255.255.255.0 dev eth0
          route add default gw 192.168.20.1 eth0
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n2
    image_definition: null
    label: desktop-0
    node_definition: desktop
    parameters: {}
    ram: null
    tags: []
    x: -520
    y: -80
    interfaces:
      - id: i0
        label: eth0
        slot: 0
        type: physical
  - boot_disk_size: null
    configuration:
      - name: node.cfg
        content: |-
          # this is a shell script which will be sourced at boot
          hostname inserthostname-here
          # configurable user account
          USERNAME=cisco
          PASSWORD=cisco
          echo '127.0.0.1 Desktop-1' >> /etc/hosts
          ip address add 192.168.1.20/255.255.255.0 dev eth0
          route add default gw 192.168.1.1 eth0
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n3
    image_definition: null
    label: desktop-1
    node_definition: desktop
    parameters: {}
    ram: null
    tags: []
    x: -520
    y: 320
    interfaces:
      - id: i0
        label: eth0
        slot: 0
        type: physical
  - boot_disk_size: null
    configuration:
      - name: node.cfg
        content: |-
          # this is a shell script which will be sourced at boot
          hostname inserthostname-here
          # configurable user account
          USERNAME=cisco
          PASSWORD=cisco
          echo '127.0.0.1 Desktop-2' >> /etc/hosts
          ip address add 192.168.1.20/255.255.255.0 dev eth0
          route add default gw 192.168.1.1 eth0
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n4
    image_definition: null
    label: desktop-2
    node_definition: desktop
    parameters: {}
    ram: null
    tags: []
    x: -160
    y: -120
    interfaces:
      - id: i0
        label: eth0
        slot: 0
        type: physical
  - boot_disk_size: null
    configuration:
      - name: node.cfg
        content: |-
          # this is a shell script which will be sourced at boot
          hostname inserthostname-here
          # configurable user account
          USERNAME=cisco
          PASSWORD=cisco
          echo '127.0.0.1 Desktop-3' >> /etc/hosts
          ip address add 192.168.20.30/255.255.255.0 dev eth0
          route add default gw 192.168.20.1 eth0
    cpu_limit: null
    cpus: null
    data_volume: null
    hide_links: false
    id: n5
    image_definition: null
    label: desktop-3
    node_definition: desktop
    parameters: {}
    ram: null
    tags: []
    x: -160
    y: 320
    interfaces:
      - id: i0
        label: eth0
        slot: 0
        type: physical
links:
  - id: l0
    n1: n0
    n2: n1
    i1: i16
    i2: i16
    conditioning: {}
    label: SW1-GigabitEthernet3/3<->SW2-GigabitEthernet3/3
  - id: l1
    n1: n3
    n2: n0
    i1: i0
    i2: i1
    conditioning: {}
    label: desktop-1-eth0<->SW1-GigabitEthernet0/0
  - id: l2
    n1: n2
    n2: n0
    i1: i0
    i2: i2
    conditioning: {}
    label: desktop-0-eth0<->SW1-GigabitEthernet0/1
  - id: l3
    n1: n4
    n2: n1
    i1: i0
    i2: i2
    conditioning: {}
    label: desktop-2-eth0<->SW2-GigabitEthernet0/1
  - id: l4
    n1: n5
    n2: n1
    i1: i0
    i2: i1
    conditioning: {}
    label: desktop-3-eth0<->SW2-GigabitEthernet0/0
lab:
  description: ''
  notes: |-
    Lab guide for 2.1 Configure and verify VLANs (normal range) spanning multiple switches

    In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch access ports,verify that VLANs are working as expected, and then create a VLAN trunk between the two switches to allow hosts in the same VLAN to communicate through the trunk, regardless of which switch the host is actually attached to.



    Step 1: For each Switch, Configure the hostname according to the Topology.

    Step 2: Configure the ports between the two switches as trunk ports as per the Topology.

    Step 3: Create the VLANs listed on the Topology on each switch, then Assign the relevant VLAN to the corresponding ports listed on the Topology as Access ports EG: VLAN 30 to desktop-3.

    Step 4: Copy the Running configuration to the startup configuration on each switch.

    Step 5: Assign the relevant IP Addresses to the end devices within each VLAN as per the Topology. Note: You will need to console onto the desktops to change their IP's Manually using the following Command:"sudo ifconfig eth0 192.168.X.X netmask 255.255.255.0"

    Step 6. Verify on each switch that the correct port is assigned. Using the show vlan brief command.

    Step 7: Verify connectivity between devices within the same VLAN across other switches.
  title: Lab at Mon 08:49 AM
  version: 0.2.2
