Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize remote control of network equipment

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

First, take a look at how the device is managed:

Local management-managed through the console port, no password is required by default

Remote administration-managed through the vty port; password is required by default

Console line (reverse line):

Crystal head-RS232-> usb-> RS232

Crystal head-USB

Location of the console port:

Equipment front panel

Device rear panel

Note:

The port will be clearly marked-console

Prerequisite for remote control of the switch:

1. Set the IP address (IP on PC and IP on the switch)

Select the third picture to configure the switch.

Switch > enable enters privileged mode

Switch#config terminal enters global configuration mode

Switch (config) # no ipdomain lookup turns off the domain name query function

Switch (config) # interface vlan 1 enters the virtual port

Switch (config-if) # ip address 192.168.1.2 255.255.255.0 configure IP address

Switch (config-if) # no shutdown Open Port

Note:

Because the switch port cannot be configured with IP, open the virtual port.

2. Make sure that the host and the device are on the same network segment. IP of PC's IP:192.168.1.1; switch: 192.168.1.2

3. Close the login on vty, or set the password on vty

Switch (config) # line vty 0 4

Switch (config-line) # no login shuts down the login protocol on vty

Or

SW1 (config-line) # password "password" set password on vty

4. Set the password for user mode to enter privileged mode

SW1 (config) # enable secret "password" sets the ciphertext password

5. Configure privileged password:

Password required when entering privileged mode through user mode

Command:

Switch > enable

Switch#configure terminal

Switch (config) # enable password 123456 (the configured password exists in the configuration file in clear text)

Switch (config) # enable secret 123456 (configured password is stored in ciphertext and configuration file)

When both modes exist at the same time, secret has a high priority.

Verification method:

1. Switch# show running-config (view the running configuration file)

2. Switch# disable (exit from privileged mode to user mode)

Switch > enable (from user mode to privileged mode)

After the above steps are completed, unplug the console cable and plug in the network cable.

Remote access Protocol:

Enter telnet 192.168.1.2 on the PC side

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report