Labs

FreeVLANs and a trunk

Easiest on a computer, but it works here too.

Scenario

SW1 is a new switch shared by Sales and Engineering. Keep their traffic apart in two VLANs, then carry both over the uplink to SW2.

Initial config
hostname SW1
! every port starts in VLAN 1, mode dynamic auto
! Fa0/1  -> Sales PC
! Fa0/2  -> Engineering PC
! Gi0/1  -> uplink to SW2 (second floor)

Topology click a device to open its console

Requirements

    Not affiliated with Cisco. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.

    Console

    Tab completes · ? lists options

    About this lab

    SW1 is a new access switch. Sales and Engineering share it, so their traffic has to be kept apart in two VLANs. Fa0/1 is the Sales PC, Fa0/2 is the Engineering PC, and Gi0/1 is the uplink to SW2, which serves the same two groups on another floor.

    About 10 minutes. No account needed, nothing you type is stored.

    Questions about this lab

    Is this a real Cisco switch?

    No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one switch, so you can practise the ideas without any lab gear. Real devices print more, and the exam may ask for things this lab does not cover.

    Do I need an account?

    No. This lab is free and plays in your browser. Nothing you type is stored.

    Which commands work?

    enable, configure terminal, hostname, vlan, name, interface, switchport mode, switchport access vlan, switchport trunk allowed vlan, shutdown, show vlan brief, show interfaces trunk, show interfaces <port> switchport, show running-config, exit and end. Words can be shortened (conf t, int fa0/1) and ? lists what fits the current mode.

    CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.