实验拓扑
1、 配置IP地址,ping通互连
R1:
int f0/0
Ip add170.1.12.1 255.255.255.0
no sh
R2:
int f0/0
ipadd 170.1.12.2 255.255.255.0
nosh
R1 ping R2
R1(config)#do ping 170.1.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to170.1.12.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5),round-trip min/avg/max = 32/41/52 ms
2、 开启telnet远程访问
方式一:
R1(config)#line vty 0 4
//允许用户远程登陆, 0 4 就是指同时允许5个虚拟终端登陆进行配置, CISCO设备一般支持16个并行的远程虚拟终端
R1(config-line)#password ccna<