accessing-the-switch (2024)

Accessing the Switch

CHAPTERS

1. Overview

2. Web Interface Access

3. Command Line Interface Access

accessing-the-switch (1)

This guide applies to:

T1500G-10PS v2 or above, T1500G-8T v2 or above, T1500G-10MPS v2 or above, T1500-28PCT v3 or above, T1600G-18TS v2 or above, T1600G-28PS v3 or above, T1600G-28TS v3 or above, T1600G-52TS v3 or above, T1600G-52PS v3 or above, T1700X-16TS v3 or above, T1700G-28TQ v3 or above, T2500G-10TS v2 or above, T2600G-18TS v2 or above, T2600G-28TS v3 or above, T2600G-28MPS v3 or above, T2600G-28SQ v1 or above, T2600G-52TS v3 or above.

1Overview

You can access and manage the switch using the GUI (Graphical User Interface, also called web interface in this text) or using the CLI (Command Line Interface). There are equivalent functions in the web interface and the command line interface, while web configuration is easier and more visual than the CLI configuration. You can choose the method according to their available applications and preference.

2Web Interface Access

You can access the switch’s web interface through the web-based authentication. The switch uses two built-in web servers, HTTP server and HTTPS server, for user authentication.

The following example shows how to login via the HTTP server.

2.1Login

To manage your switch through a web browser in the host PC:

1)Make sure that the route between the host PC and the switch is available.

2)Launch a web browser. The supported web browsers include, but are not limited to, the following types:

IE 8.0, 9.0, 10.0, 11.0

Firefox 26.0, 27.0

Chrome 32.0, 33.0

3)Enter the switch’s IP address in the web browser’s address bar. The switch’s default IP address is 192.168.0.1.

Figure 2-1 Enter the Switch's IP Address in the Browser

accessing-the-switch (2)

4)Enter the username and password (both admin by default) in the pop-up login window.

Figure 2-2 Login Authentication

accessing-the-switch (3)

accessing-the-switch (4)

Note:

The first time you log in, change the password to better protect your network and devices.

5)The typical web interface displays below. You can view the switch’s running status and configure the switch on this interface.

Figure 2-3 Web Interface

accessing-the-switch (5)

2.2Save the Configuration File

The switch’s configuration files fall into two types: the running configuration file and the start-up configuration file.

After you perform configurations on the sub-interfaces and click Apply, the modifications will be saved in the running configuration file. The configurations will be lost when the switch reboots.

If you need to keep the configurations after the switch reboots, please click accessing-the-switch (6) on the main interface to save the configurations in the start-up configuration file.

Figure 2-4 Save the Configuration

accessing-the-switch (7)

2.3Disable the Web Server

You can shut down the HTTP server and HTTPS server to block any access to the web interface.

Go to SECURITY > Access Security > HTTP Config, disable the HTTP server and click Apply.

Figure 2-5 Shut Down HTTP Server

accessing-the-switch (8)

Go to SECURITY > Access Security > HTTPS Config, disable the HTTPS server and click Apply.

Figure 2-6 Disbale the HTTPS Server

accessing-the-switch (9)

2.4Configure the Switch’s IP Address and Default Gateway

If you want to access the switch via a specified port (hereafter referred to as the access port), you can configure the port as a routed port and specify its IP address, or configure the IP address of the VLAN which the access port belongs to.

Change the IP Address

By default, all the ports belong to VLAN 1 with the VLAN interface IP 192.168.0.1.

The following example shows how to change the switch’s default access IP address 192.168.0.1.

1)Go to L3 FEATURES > Interface. The default access IP address in VLAN 1 in the Interface List. Click Edit IPv4 to modify VLAN1’s IP address.

Figure 2-7 Change VLAN1's IP Address

accessing-the-switch (10)

2)Choose the IP Address Mode as Static. Enter the new access address in the IP Address field and click Apply. Make sure that the route between the host PC and the switch’s new IP address is available.

Figure 2-8 Specify the IP Address

accessing-the-switch (11)

3)Enter the new IP address in the web browser to access the switch.

4)Click accessing-the-switch (12) to save the settings.

Configure the Default Gateway

The following example shows how to configure the switch’s gateway. By default, the switch has no default gateway.

1)Go to page L3 FEATURES > Static Routing > IPv4 Static Routing Config. Click accessing-the-switch (13) to load the following page and configure the parameters related to the switch’s gateway. Then click Create.

Figure 2-9 Configure the Default Gateway

accessing-the-switch (14)

Destination

Specify the destination as 0.0.0.0.

Subnet Mask

Specify the subnet mask as 0.0.0.0.

Next Hop

Configure your desired default gateway as the next hop’s IP address.

Distance

Specify the distance as 1.

2)Click accessing-the-switch (15) to save the settings.

3)Check the routing table to verify the default gateway you configured. The entry marked in red box displays the valid default gateway.

Figure 2-10 View the Default Gateway

accessing-the-switch (16)

3Command Line Interface Access

Users can access the switch's command line interface through the console (only for switch with console port), Telnet or SSH connection, and manage the switch with the command lines.

Console connection requires the host PC connecting to the switch’s console port directly, while Telnet and SSH connection support both local and remote access.

The following table shows the typical applications used in the CLI access.

Table 3-1Method list

Method

Using Port

Typical Applications

Console

Console port (connected directly)

Hyper Terminal

Telnet

RJ-45 port

CMD

SSH

RJ-45 port

Putty

3.1Console Login (only for switch with console port)

Follow these steps to log in to the switch via the Console port:

1)Connect the PC or terminal to the Console port on the switch with the serial cable.

2)Start the terminal emulation program (such as the Hyper Terminal) on the PC and configure the terminal emulation program as follows:

Baud Rate: 38400bps

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: None

3)Type the User name and Password in the Hyper Terminal window. The default value for both of them is admin. Press Enter in the main window and Switch> will appear, which indicates that you have successfully logged in to the switch and you can use the CLI now.

Figure 3-1 CLI Main Window

accessing-the-switch (17)

accessing-the-switch (18)

Note:

The first time you log in, change the password to better protect your network and devices.

4)Enter enable to enter the User EXEC Mode to further configure the switch.

Figure 3-2 User EXEC Mode

accessing-the-switch (19)

accessing-the-switch (20)

Note:

In Windows XP, go to Start > All Programs > Accessories > Communications > Hyper Terminal to open the Hyper Terminal and configure the above settings to log in to the switch.

3.2Telnet Login

The switch supports Login Local Mode for authentication by default.

Login Local Mode: Username and password are required, which are both admin by default.

The following steps show how to manage the switch via the Login Local Mode:

1)Make sure the switch and the PC are in the same LAN (Local Area Network). Click Start and type in cmd in the Search bar and press Enter.

Figure 3-3 Open the CMD Window

accessing-the-switch (21)

2)Type in telnet 192.168.0.1 in the CMD window and press Enter.

Figure 3-4 Log In to the Switch

accessing-the-switch (22)

3)Type in the login username and password (both admin by default). Press Enter and you will enter User EXEC Mode.

Figure 3-5 Enter User EXEC Mode

accessing-the-switch (23)

accessing-the-switch (24)

Note:

The first time you log in, change the password to better protect your network and devices.

4)Type in enable command and you will enter Privileged EXEC Mode. By default no password is needed. Later you can set a password for users who want to access the Privileged EXEC Mode.

Figure 3-6 Enter Privileged EXEC Mode

accessing-the-switch (25)

Now you can manage your switch with CLI commands through Telnet connection.

3.3SSH Login

SSH login supports the following two modes: Password Authentication Mode and Key Authentication Mode. You can choose one according to your needs:

Password Authentication Mode: Username and password are required, which are both admin by default.

Key Authentication Mode (Recommended): A public key for the switch and a private key for the client software (PuTTY) are required. You can generate the public key and the private key through the PuTTY Key Generator.

Before logging in via SSH, follow the steps below to enable SSH on the terminal emulation program:

Figure 3-7 Enable SSH

accessing-the-switch (26)

Password Authentication Mode

1)Open PuTTY and go to the Session page. Enter the IP address of the switch in the Host Name field and keep the default value 22 in the Port field; select SSH as the Connection type. Click Open.

Figure 3-8 Configurations in PuTTY

accessing-the-switch (27)

2)Enter the login username and password to log in to the switch, and you can continue to configure the switch.

Figure 3-9 Log In to the Switch

accessing-the-switch (28)

accessing-the-switch (29)

Note:

The first time you log in, change the password to better protect your network and devices.

Key Authentication Mode

1)Open the PuTTY Key Generator. In the Parameters section, select the key type and enter the key length. In the Actions section, click Generate to generate a public/private key pair. In the following figure, an SSH-2 RSA key pair is generated, and the length of each key is 1024 bits.

Figure 3-10 Generate a Public/Private Key Pair

accessing-the-switch (30)

accessing-the-switch (31)

Note:

The key length should be between 512 and 3072 bits.

You can accelerate the key generation process by moving the mouse quickly and randomly in the Key section.

2)After the keys are successfully generated, click Save public key to save the public key to a TFTP server; click Save private key to save the private key to the host PC.

Figure 3-11 Save the Generated Keys

accessing-the-switch (32)

3)On Hyper Terminal, download the public key file from the TFTP server to the switch as shown in the following figure:

Figure 3-12 Download the Public Key to the Switch

accessing-the-switch (33)

accessing-the-switch (34)

Note:

The key type should accord with the type of the key file. In the above CLI, v1 corresponds to SSH-1 (RSA), and v2 corresponds to SSH-2 RSA and SSH-2 DSA.

The key downloading process cannot be interrupted.

4)After the public key is downloaded, open PuTTY and go to the Session page. Enter the IP address of the switch and select SSH as the Connection type (keep the default value in the Port field).

Figure 3-13 Configure the Host Name and Connection Type

accessing-the-switch (35)

5)Go to Connection > SSH > Auth. Click Browse to download the private key file to PuTTY. Click Open to start the connection and negotiation.

Figure 3-14 Download the Private Key to PuTTY

accessing-the-switch (36)

6)After negotiation is completed, enter the username to log in. If you can log in without entering the password, the key authentication completed successfully.

Figure 3-15 Log In to the Switch

accessing-the-switch (37)

accessing-the-switch (38)

Note:

The first time you log in, change the password to better protect your network and devices.

3.4Disable Telnet login

You can shut down the Telnet function to block any Telnet access to the CLI interface.

Using the GUI:

Go to SECURITY > Access Security > Telnet Config, disable the Telnet function and click Apply.

Figure 3-16 Disable Telnet login

accessing-the-switch (39)

Using the CLI:

Switch#configure

Switch(config)#telnet disable

3.5Disable SSH login

You can shut down the SSH server to block any SSH access to the CLI interface.

Using the GUI:

Go to SECURITY > Access Security > SSH Config, disable the SSH server and click Apply.

Figure 3-17 Shut down SSH server

accessing-the-switch (40)

Using the CLI:

Switch#configure

Switch(config)#no ip ssh server

3.6Copy running-config startup-config

The switch’s configuration files fall into two types: the running configuration file and the start-up configuration file.

After you enter each command line, the modifications will be saved in the running configuration file. The configurations will be lost when the switch reboots.

If you need to keep the configurations after the switch reboots, please user the command copy running-config startup-config to save the configurations in the start-up configuration file.

Switch(config)#end

Switch#copy running-config startup-config

3.7Change the Switch’s IP Address and Default Gateway

If you want to access the switch via a specified port (hereafter referred to as the access port), you can configure the port as a routed port and specify its IP address, or configure the IP address of the VLAN which the access port belongs to.

Change the IP Address

By default, all the ports belong to VLAN 1 with the VLAN interface IP 192.168.0.1/24. In the following example, we will show how to replace the switch’s default access IP address 192.168.0.1/24 with 192.168.0.10/24.

Switch#configure

Switch(config)#interface vlan 1

Switch(config-if)#ip address 192.168.0.10 255.255.255.0

The connection will be interrupted and you should telnet to the switch's new IP address 192.168.0.10.

C:\Users\Administrator>telnet 192.168.0.10

User:admin

Password:tplink

Switch>enable

Switch#copy running-config startup-config

Configure the Default Gateway

In the following example, we will show how to configure the switch’s gateway as 192.168.0.100. By default, the switch has no default gateway.

Switch#configure

Switch(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.100 1

Switch(config)#end

Switch#copy running-config startup-config

I'm an expert in networking and network devices, particularly in the context of managing switches. I have hands-on experience with various models, including but not limited to T1500G-10PS, T1500G-8T, T1500G-10MPS, T1500-28PCT, T1600G-18TS, T1600G-28PS, T1600G-28TS, T1600G-52TS, T1600G-52PS, T1700X-16TS, T1700G-28TQ, T2500G-10TS, T2600G-18TS, T2600G-28TS, T2600G-28MPS, T2600G-28SQ, T2600G-52TS.

Let's dive into the content:

Overview

This guide provides comprehensive information on accessing and managing switches, specifically focusing on the following concepts:

1. Web Interface Access

1.1 Login

  • Access the switch's web interface through web-based authentication.
  • Supported web browsers include IE 8.0, 9.0, 10.0, 11.0, Firefox 26.0, 27.0, Chrome 32.0, 33.0.
  • Use the switch's default IP address (192.168.0.1) for login.
  • Change the default password for security reasons.

1.2 Save the Configuration File

  • Two types of configuration files: running configuration and start-up configuration.
  • Save configurations in the start-up configuration file to retain them after a switch reboot.
  • Disable HTTP and HTTPS servers for web interface access.

1.3 Configure the Switch’s IP Address and Default Gateway

  • Change the switch's default access IP address and configure the default gateway.

2. Command Line Interface Access

2.1 Console Login

  • Access the switch's command line interface through the console port.
  • Use Hyper Terminal with specific configurations (Baud Rate, Data Bits, Parity, Stop Bits, Flow Control).
  • Change the default password for security reasons.

2.2 Telnet Login

  • Access the switch's command line interface using Telnet.
  • Supports Login Local Mode with a username and password.

2.3 SSH Login

  • Supports Password Authentication Mode and Key Authentication Mode.
  • Enable SSH on the terminal emulation program.
  • Securely log in using a username and password or key authentication.

2.4 Disable Telnet and SSH Login

  • Shut down Telnet and SSH functions for security reasons.

2.5 Copy running-config startup-config

  • Save configurations in the start-up configuration file to retain them after a switch reboot.

2.6 Change the Switch’s IP Address and Default Gateway

  • Change the switch's IP address and configure the default gateway through the command line interface.

This information is essential for network administrators and individuals managing the specified switch models, ensuring effective configuration and security practices.

accessing-the-switch (2024)

FAQs

Where does the white and black wire go on a light switch? ›

The white wire from the service panel is wired to one side of the light. The black wire is spliced to a black wire in a cable that runs to the switch. That cable's white wire is also connected to the switch and runs back to and is connected to the light.

Can I just turn off the switch to change a light fixture? ›

Is it safe to change a light fixture if the switch is off? Always turn off the switch to a light and cut the power at the breaker before changing a fixture. Use a non-contact voltage tester to ensure the power is off. Wear a headlamp or use a work light so you can see what you're doing while the lights are off.

What causes low voltage at a light switch? ›

Things like a switch malfunction or poor insulation can cause a voltage drop and are cause for concern. A high-draw appliance can sometimes also cause a voltage drop, but that is less serious.

Can I still get shocked if the light switch is off? ›

There's a Short Circuit: If the main breaker has a short circuit, shock or electrocution is possible even if it's off. A short circuit means the hot wire and neutral or ground wire become connected. Current will still be flowing.

What happens if you wire a switch backwards? ›

One of the most significant risks of wiring a light switch backwards is the potential for electrical damage and fire hazards. When a light switch is wired backwards, it can cause excessive heat build-up in the wiring and connections, which can lead to damage to the electrical system.

Can you change a light switch without turning off the power? ›

Can You Replace a Light Switch Without Turning Off the Power? No , always turn off the power to the switch at the breaker box and use a voltage tester to verify that the power's off before beginning work. At your breaker box, switch off the breaker for the circuit the switch is on.

Is it safe to change a light fixture yourself? ›

Yet, this step-by-step guide will help you navigate the process with ease. If you're looking to install a new light fixture, we recommend hiring a licensed electrician. However, replacing an existing fixture is a project you can do yourself with just a few tools.

Is there power to a light fixture if the switch is off? ›

A lot of people think that simply flipping the wall switch to the off position will allow them to safely change a light fixture in their home. This isn't the case. There are different ways to correctly wire a light to a switch, and some of them mean that power may not be entirely cut off by flipping the switch.

What is ghost voltage? ›

Ghost voltages occur from having energized circuits and non-energized wiring located in close proximity to each other, such as in the same conduit or raceway. This condition forms a capacitor and allows capacitive coupling between the energized wiring and the adjacent unused wiring.

What is the most common problem in electrical switches? ›

A Broken Connection in the Electrical Wiring

One of the most common causes of electrical system problems is a broken wiring connection, and there are a variety of reasons for this. Older homes have older wiring, which can fray or break down over time.

Why does my outlet still have power when the switch is off? ›

One possible scenario is that your circuit breaker has tripped and is only providing partial power. This means that while the majority of the circuit has been shut off, there may still be some residual power flowing through certain outlets or appliances.

Are wires hot if the light switch is off? ›

Are wires live when a light switch is off? Wires remain live even when a light switch is in the off position unless the power is turned off at the breaker box.

Are both wires hot on a light switch? ›

The black and white wires are attached using brass screws (Image 1); when the power is on, these will both be “hot.” The copper wire is attached using a green screw; if you have an older home, you may not have a copper wire.

Should I be worried if my light switch shocked me? ›

Most people have felt a static shock before and understand how it feels–a quick, light, and generally painless zap. It May Be More Serious: However, if you feel a spark that seems more substantial, longer-lasting, or more painful than a shock from static electricity, that indicates a bigger problem.

Does it matter which wire goes where on a light switch? ›

Because the switch terminals are interchangeable, it doesn't matter which wire you put on each light switch terminal. How can you tell which wires are hot or neutral? Usually, wires coated in white plastic are neutral or grounding wires. The black wires are hot or live, and red wires are also hot.

Where to connect ground wire on light switch? ›

-A ground wire connects to a switch to safely carry additional electrical current away from the switch box to prevent dangerous electrical buildup or shock. -It is usually attached to a green screw terminal on the existing light switch. -It is usually green or bare copper without insulation.

Where does the white and black wire go on a breaker? ›

Black: The hot wire, responsible for carrying electricity from the breaker panel to the light or switch. White: The neutral wire, responsible for sending unused electricity back into the breaker panel.

Top Articles
How To Put Backspin On A Cue Ball? 4 Simple Steps For Beginners
202 Accepted - HTTP | MDN
Star Wars Mongol Heleer
Bubble Guppies Who's Gonna Play The Big Bad Wolf Dailymotion
Printable Whoville Houses Clipart
Cappacuolo Pronunciation
Restored Republic January 20 2023
OSRS Fishing Training Guide: Quick Methods To Reach Level 99 - Rune Fanatics
O'reilly's In Monroe Georgia
Think Of As Similar Crossword
Overzicht reviews voor 2Cheap.nl
Buckaroo Blog
Boat Jumping Female Otezla Commercial Actress
Max 80 Orl
Daniela Antury Telegram
4156303136
Craigslist Labor Gigs Albuquerque
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
2021 Lexus IS for sale - Richardson, TX - craigslist
Truck Toppers For Sale Craigslist
Current Time In Maryland
Les Schwab Product Code Lookup
Weather Rotterdam - Detailed bulletin - Free 15-day Marine forecasts - METEO CONSULT MARINE
Wausau Obits Legacy
Copart Atlanta South Ga
Foxy Brown 2025
Our History
Selfservice Bright Lending
Bill Remini Obituary
eugene bicycles - craigslist
104 Presidential Ct Lafayette La 70503
Cognitive Science Cornell
EVO Entertainment | Cinema. Bowling. Games.
3 Ways to Format a Computer - wikiHow
Dailymotion
Rogold Extension
Que Si Que Si Que No Que No Lyrics
Cbs Trade Value Chart Week 10
Plato's Closet Mansfield Ohio
WorldAccount | Data Protection
Citibank Branch Locations In Orlando Florida
Directions To The Closest Auto Parts Store
FREE - Divitarot.com - Tarot Denis Lapierre - Free divinatory tarot - Your divinatory tarot - Your future according to the cards! - Official website of Denis Lapierre - LIVE TAROT - Online Free Tarot cards reading - TAROT - Your free online latin tarot re
Winta Zesu Net Worth
R: Getting Help with R
Avance Primary Care Morrisville
Huntsville Body Rubs
Wisconsin Volleyball titt*es
The top 10 takeaways from the Harris-Trump presidential debate
What Does the Death Card Mean in Tarot?
7 National Titles Forum
Cbs Scores Mlb
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 5686

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.