zoukankan      html  css  js  c++  java
  • [CISCO] 简单配置 Telnet 服务

    [CISCO] 简单配置 Telnet 服务

    一、Introduction

    Telnet 协议是一种应用层协议,使用于网际网路及区域网中,使用虚拟终端机的形式,提供双向、以文字字串为主的互动功能。属于 TCP/IP 协议族的其中之一,是 Internet 远端登录服务的标准协议和主要方式,常用于网页伺服器的远端控制,可供使用者在本地主机执行远端主机上的工作。

    传统Telnet会话所传输的资料并未加密,帐号和密码等敏感资料容易会被窃听,因此很多伺服器都会封锁Telnet服务,改用更安全的SSH。

    二、Prerequisites

    Requirements

    没有什么特殊的要求

    Components Used

    CISCO PACKET Tracer Student 6.2

    三、Configure Telnet

    First:Connection with Ethernet

    Second:Configure The IP address for the routing interface

    enable // 进入特权模式
    configure terminal // 打开 terminal 终端
        int f0/0  //进入快速以太网接口0/0
            ip address 192.168.1.1 255.255.255.0 //配置IP地址
            no shutdown //开启接口
            exit // 返回terminal
    

    Finished:Configure Telnet Password And Enable Password

    enable // 进入特权模式
    configure terminal // 打开 terminal 终端
        line vty 0 4 //“vty 0 4”表示 vty 0 到 vty 4,共 5 个虚拟终端
            password CISCO //配置密码
            exit
        enable password CISCO //配置进入到路由器特权模式的密码
        end // 结束返回 enable
    

    **Notice: **只有一个虚拟终端的话就只能等待连接中的用户断开连接,等待的那个人才能再连接。共 5 个虚拟终端,五个用户同时连接。多余用户继续等待!

    四、Connectivity testing

    
    C:>ping 192.168.1.1
    
    Pinging 192.168.1.1 with 32 bytes of data:
    
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
    
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
    
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
    
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
    
    Ping statistics for 192.168.1.1:
    
     Packets: Sent = 4, Received = 4, Lost = 0 (0% lo
    
    Approximate round trip times in milli-seconds:
    
     Minimum = 0ms, Maximum = 0ms, Average = 0ms
    
    //以上表明计算机能 ping 通路由器
    
    
    
    C:>telnet 192.168.1.1
    
    //telnet 路由器以太网卡上的 IP 地址
    
    User Access Verification
    
    Password:
    
    Router>enable
    
    Password:
    
    Router#exit
    
    //输入 vty 的密码 CISCO、输入 enable 的密码 CISCO,能正常进入路由器的特权模式。
    

    猜你喜欢:

    1、CISCO 交换机配置 SSH 登陆
    2、DHCP 之 Mac 绑定

  • 相关阅读:
    First duplicate value
    SQL学习笔记day1
    Find closest value in BST
    BST construction
    Closest sum_pair
    滑动窗口 sliding window
    设计模式(3)观察者模式
    设计模式(1)装饰模式总结
    深刻探讨public class=new class();
    与时间赛跑,我的2012
  • 原文地址:https://www.cnblogs.com/itxdm/p/Simple_configuration_Telnet_service.html
Copyright © 2011-2022 走看看