思科Telnet登陆配置命令

我们将采用Cisco Packet Tracer进行拓扑搭建,如图所示
思科Telnet登陆配置命令
我们对主机进行IP地址、子网掩码以及网关的配置:
思科Telnet登陆配置命令
思科Telnet登陆配置命令
然后进行路由器R1端口配置:
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int s2/0
R1(config)#clock rate 64000
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#exit
R1#
然后进行路由器R2端口配置:
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int s2/0
R2(config-if)#ip add 192.168.1.2 255.255.255.0
R2(config-if)#exit
R2(config)#exit
R2#
然后进行路由器的登陆账号、密码、账号级别的配置
R1:
R1>
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#username abc privilege 15 secret 123
R1(config)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#lin vty 0 4
R1(config-line)#login local
R1(config-line)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#exit
R2同样即可
然后再PC1上去Ping R1路由器,在Telnet登陆一下:
思科Telnet登陆配置命令
然后再PC1上去Ping R2路由器,在Telnet登陆一下:
思科Telnet登陆配置命令
这样就好了!!!