网络初学必学之cisco思科Telnet
搭建拓扑结构,如图1所示Router0与switch0之间的线路无法联通,双击Router0---config--FastEthernet0/0--勾选ON,打开FastEthernet0/0的端口,1-2秒网络慢慢联通。
在PC0计算机上使用Console对rouer0进行配置,代码如下:
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1 //修改Router0名字
R1(config)#line vty 0 4 //进入路由器的Vty虚拟终端
R1(config-line)#password cisco //设置vty密码也就是telnet密码
R1(config-line)#login
R1(config)#enable password cisco //设置进入路由器的特权模式密码
R1(config)#int f0/0
R1(config-if)#ip address 172.16.68.88 255.255.255.0 //设置 F0/0的IP子网掩码
R1(config-line)#exit