Cisco(思科)遠程登錄交換機
一、拓撲圖

二、實驗步驟
1.先配置好交換機,配置如下:
先進入配置電腦的終端進行配置操作
Switch>enable //進入特權模式
Switch>enable
Switch#
Switch#conf t //進入配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#enble password aaa //進入配置模式設定密碼
Switch(config)#interface vlan1 //進入VLAN1
Switch(config-if)#ip address 192.168.1.1 255.255.255.0 //給VLAN1配置ip
Switch(config-if)#no shutdown //激活介面
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
Switch(config-if)#exit
Switch(config)#
Switch(config)#line vty 0 15 //設定介面可以遠程登錄
Switch(config-line)#password 123 //為遠程登錄設定密碼
Switch(config-line)#login //激活可遠程登錄
2.使用一臺電腦(事先配置好ip)利用命令提示符遠程登錄交換機,具體如下:
Packet Tracer PC Command Line 1.0
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Request timed out.
Reply from 192.168.1.1: bytes=32 time=6ms TTL=255
Reply from 192.168.1.1: bytes=32 time=7ms TTL=255
Reply from 192.168.1.1: bytes=32 time=7ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 7ms, Average = 6ms
PC>telnet 192.168.1.1 //遠程登錄交換機telnet
Trying 192.168.1.1 ...Open
User Access Verification
Password:
Switch>enable
Password:
Switch#
Switch#
Switch#
喜歡的小可愛可以點贊關注哦,謝謝啦!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/233962.html
標籤:其他
上一篇:原始碼安裝mysql5.7
