lab:
  version: 0.2.0
  title: "Your First Cisco Lab — CLI Basics"
  description: A free, ungraded starter lab. Configure one router from scratch and ping a PC — learn the Cisco IOS CLI basics hands-on.
  notes: >-
    # Your First Cisco Lab — CLI Basics


    A free, ungraded starter lab from Goldfish Networks. There is nothing to
    grade here — the goal is simply to get comfortable moving around the Cisco
    IOS command line and to bring a link up for the first time.


    ## Topology


    - **R1** — a router that boots almost blank. You will give it a hostname and
    bring up its Ethernet0/0 interface.

    - **PC1** — a host, already set to 192.168.1.10/24 with its default gateway
    at 192.168.1.1. You do not need to touch PC1.


    R1 Ethernet0/0 connects to PC1. Your job is to configure R1's Ethernet0/0 as
    192.168.1.1/24, bring it up, and ping PC1.


    ## What you'll practice


    - Moving between user EXEC (`>`), privileged EXEC (`#`), and global config
    (`(config)#`)

    - `show` commands: `show ip interface brief`, `show version`,
    `show running-config`

    - Setting a hostname, configuring an interface, and `no shutdown`

    - Verifying with a ping, then saving your work


    ## Follow the full step-by-step walkthrough


    Open the guided walkthrough at
    **goldfishnetworks.com/getting-started/first-lab** and follow along in this
    console. Every command is explained, with the output you should expect.
nodes:
  - id: n0
    label: R1
    node_definition: iol-xe
    x: -150
    y: 0
    interfaces:
      - id: i0
        label: Loopback0
        type: loopback
      - id: i1
        label: Ethernet0/0
        type: physical
        slot: 0
      - id: i2
        label: Ethernet0/1
        type: physical
        slot: 1
      - id: i3
        label: Ethernet0/2
        type: physical
        slot: 2
      - id: i4
        label: Ethernet0/3
        type: physical
        slot: 3
    configuration: |
      hostname Router
      !
      no ip domain-lookup
      !
      interface Loopback0
       no ip address
      !
      interface Ethernet0/0
       no ip address
       shutdown
      !
      interface Ethernet0/1
       no ip address
       shutdown
      !
      interface Ethernet0/2
       no ip address
       shutdown
      !
      interface Ethernet0/3
       no ip address
       shutdown
      !
      line con 0
       logging synchronous
       exec-timeout 0 0
      !
  - id: n1
    label: PC1
    node_definition: alpine
    x: 150
    y: 0
    interfaces:
      - id: i0
        label: eth0
        type: physical
        slot: 0
    configuration: |
      # PC1 is pre-configured for you — no changes needed.
      # IP 192.168.1.10/24, default gateway 192.168.1.1
      ip link set eth0 up
      ip addr add 192.168.1.10/24 dev eth0
      ip route add default via 192.168.1.1
links:
  - id: l0
    n1: n0
    i1: i1
    n2: n1
    i2: i0
