设为首页收藏本站language 语言切换
查看: 479|回复: 1
收起左侧

[分享] CCNA Lab 119: Enabling Remote Access

[复制链接]
 成长值: 63715
发表于 2024-12-6 19:23:01 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2024-12-6 19:24 编辑


A device can be managed either locally or remotely. There are various protocols, tools, and services (such as Telnet, Secure Shell, and Putty) that are used to manager devices remotely. These tools are also referred as remote administration tools.

We will use the following simple topology to configure remote access.



1.  First of all, execute the following command to change the current hostname as Switch1.

Switch( config)# hostname Switch1
2.  Next, configure an IP address on switch. Unlike the routers, typically switch does not require to be configured with an IP address. However, we need to configure an IP address on the switch’s vlan 1 interface in order to manage it remotely. The following commands will configure 10.0.0.100/ 8 IP address on the vlan 1 interface.

Switch1( config)# interface vlan 1
Switch1( config-if)# ip address 10.0.0.100 255.0.0.0
Switch1( config-if)# no shutdown
Switch1( config-if)# exit
3.  Once you have configured the appropriate hostname and IP address on the switch, execute the following commands to enable the Telnet protocol.

Switch1( config)# line vty 0 4
Switch1( config-line)# password 123456
Switch1( config-line)# login
Switch1( config-line)# exit
4.  In the preceding commands, vty − means virtual terminal, 0 4 means ─ total five (0 to 4) users can access the switch remotely at a time. 123456 is the password that remote users need to know in order to connect to the switch.



5.  Once you have done your configuration on switch1, move to a PC. Configure an IP address, for example 10.0.0.1/ 8 on the PC.

6.  After configuring the appropriate IP address on the PC, open the Command Prompt window of the PC, type telnet 10.0.0.100  and press Enter.

7.  At the Password: prompt, type your telnet password (123456) and verify that you are able to connect to switch’s console remotely.



8.  In the preceding figure, you can see that you are successfully connected to the switch’s console remotely. At the Switch1 > prompt (User EXEC mode), you can execute all the commands that you can use locally.





来源: Lab 115: Implementing IPv6 Addressing
来源: Lab 116: Configuring RIP for IPv6 (RIPng)
来源: CCNA Lab 117: Configuring EIGRP for IPv6 (EIGRPv6)
来源: CCNA Lab 118: Configuring DHCP on Router
来源: CCNA Lab 118: Configuring DHCP on Router
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-23 13:27 , Processed in 0.059680 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表