网络初学必学之cisco思科Telnet
1、搭建拓扑结构,如图1所示Router0与switch0之间的线路无法联通,双击Router0---config--FastEthernet0/0--勾选ON,打开FastEthernet0/0的端口,1-2秒网络慢慢联通。

2、在PC0计算机上使用Console对rouer0进行配置,代码如下:Router#罕铞泱殳conf tEnter 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)#loginR1(config)#enable password cisco //设置进入路由器的特权模式密码R1(config)#int f0/0R1(config-if)#ip address 172.16.68.88 255.255.255.0 //设置 F0/0的IP子网掩码R1(config-line)#exit

3、双击PC2设置ip地址,config--IPconfiguration,详细设置见下图,使用Command Prompt,输入ping 172.16.68.88测试router0爵奏笆棚与PC2是否联通,如果联通会出现 如下信息,Reply表示连接成功。Pinging 172.16.68.88 with 32 bytes of data:Reply from 172.16.68.88: bytes=32 time=0ms TTL=255Reply from 172.16.68.88: bytes=32 time=6ms TTL=255Reply from 172.16.68.88: bytes=32 time=0ms TTL=255Reply from 172.16.68.88: bytes=32 time=0ms TTL=255

4、接着步骤3内容输入PC>telnet 172.16.68.88 //远程连接ROUTER0Trying 172.16.68.88 ...Open //表示连接成功User Access VerificationPassword:R1>enPassword:R1#conf tEnter configuration commands, one per line. End with CNTL/Z.
