Let's try accessing the console port of the switch ``` ls /dev/tty.* ``` and connecting to it: ``` screen /dev/tty.usbserial 9600 ``` > 9600 is the baud rate, which is typically the default for Cisco switches. Show all VLANs ``` show vlan brief ``` Show VLAN info for a specific port ``` show interface GigabitEthernet1/0/1 switchport ``` # Set up SSH ``` crypto generate key rsa ``` #### Create VLAN1 ``` conf t interface vlan 1 ip address 192.168.1.100 255.255.255.0 no shutdown exit write memory ``` #### Set default gateway ``` conf t ip default-gateway 192.168.1.1 exit write memory ``` #### Set ports 1-3 to be in VLAN 1 ``` conf t interface range Gi1/0/1 - 3 switchport mode access switchport access vlan 1 exit write memory ```