Configuring an Omada switch SG2210XMP-M2

Written in

by

This is part of a personal network lab project and then I will use this to document the configuration of the switch that I will be using for the connectivity of my lab.

Connecting the laptop to the switch

In this case I am using a SG2210XMP-M2 v1.20 Omada switch by tp-link. According to the documentation, the IP of the switch is 192.168.0.1; following the steps to connect the switch to a laptop, which will be used to configure the switch.

Connect the cable between the laptop and switch. In this case I am using a RJ45 UTP CAT6 cable.

As I still do not have a DHCP service, I will use configure my LAN to be in the same subnet as the switch by following these steps.

Go to Control Panel > Network and Internet > Network and Sharing Centre and then click on Change adapter settings.

In my case I want to configure this connection “Ethernet Network 4” as we can see below.

Right click and select properties

Select (TCP/IPv4) and then click on Properties

Basically, I am configuring a static IP in the same subnet as the switch. In this case the IP is 192.168.0.2 and the subnet mas is 255.255.255.0

Now, if we try to use the http://192.168.0.1/ where you will have to setup the administration credentials.

Now we have access to the switch as we can see below.

Getting the command line interface (CLI)

Following I show what I did to use SSH to configure the switch via CLI.

Checking whether SSH is enabled or not by using the GUI.

As SSH is enabled, we can run the following ssh command.

ssh administrator@192.168.0.1

By default, we are in the User EXEC Mode, let’s type enable to get into Privileged EXEC mode and then let’s type show system-info to get information about this switch.

enable
show system-info

This is just the begining, starting from here we have two methods to configure the switch either by using the web GUI or the CLI.

Leave a comment

ComputingMan

IT, clusters, Kubernetes, WebLogic, JVM and more