In the previous tutorial, we looked at how to create VLANs, assign ports to VLANs, and how to delete VLANs, all on one switch. In this tutorial, we shall look at how to configure VLANs on multiple switches, and how same VLANs on different switches can communicate; introducing a term known as Trunking.
In this tutorial, we shall create a lab in the Pocket CLI App to configure VLANs on two switches. Required devices for this lab are two Switches and four Hosts.
In this tutorial, we shall look at Virtual LANs (VLANs). VLANs are logical grouping of devices in the same broadcast domain. VLANs are usually configured on switches by placing some interfaces into one broadcast domain and some interfaces into another. A VLAN acts like a physical LAN, but it allows hosts to be grouped together in the same broadcast domain even if they are not connected to the same switch. They can be spread across multiple switches, with each VLAN being treated as its own broadcast domain. By default, all ports on a switch belong to the default VLAN, VLAN 1.
In this tutorial, we will create a simple Lab in the Pocket CLI App to configure VLAN on a switch. Devices we’ll use in this Lab are 1 Switch, and 4 Hosts. To setup this Lab:
In this tutorial, we shall look at the initial step-by-step configuration of a cisco switch in the Pocket CLI App. To get the nodes and your working area in the App, you first need to design a lab. In this case we are going to add a switch to the lab. To achieve this:
In the previous tutorial, we looked at getting used to the various prompts in the Pocket CLI App. In this tutorial, we will explore some keyboard shortcuts, and how to auto-complete commands.
There are several IOS keyboard shortcuts but we shall explore just a few, relevant to navigating around the Pocket CLI App.
At launch of the App, the only keyboard visible is your own smartphone’s keyboard. There is a ‘hidden’ keyboard (also known at the custom keyboard) that has the Tab, Ctrl, Alt, Break, and the Navigation/Arrow keys. To view this keyboard, tap on the dotted box at the top right corner of the screen as shown in the screenshot below. Tap on that same box to hide the keyboard again.
We just added a RIPv2 tutorial for the PocketCLI Network Simulator on youtube. Please check it out and don't forget to subscribe.
Primarily, the Cisco IOS offers these modes of operation: the user EXEC mode, the privileged EXEC mode, the Global Configuration mode, and other specific configuration modes such as; the Interface Configuration mode, Line Configuration Mode, and Router Configuration Mode.
The initial prompt you interface with when you first connect to a Cisco network Router or Switch is the user EXEC mode. This is denoted by a text and the greater-than (>) sign to the right of the text. See below an example of user EXEC mode prompt:
Router0>
The text represents the hostname of the device, which by default is the device type; Router or Switch. In this mode, you cannot edit or view device configurations; you can only view the device’s status and other miscellaneous information. See below a list commands you can execute in this mode:
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
logout Exit from the EXEC
ping Send echo messages
show Show running system information
ssh Open a secure shell client connection
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination