ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

cisco基础命令

2021-07-28 23:34:27  阅读:155  来源: 互联网

标签:cisco 1.1 ip 基础 命令 Switch Router line config


  • CDP
    • 拓扑图
    • 实验需求
      • 查看邻居的基本信息
    • 实验步骤
      • 一,给路由器16配置ip
        • Router>
        • Router>en
        • Router#config t
        • Enter configuration commands, one per line. End with CNTL/Z.
        • Router(config)#int f0/0
        • Router(config-if)#ip add 1.1.1.1 255.255.255.0
        • Router(config-if)#no sh
        • Router(config-if)#
      • 二,给路由器17配置ip
        • Router>
        • Router>en
        • Router#config t
        • Enter configuration commands, one per line. End with CNTL/Z.
        • Router(config)#int f0/0
        • Router(config-if)#ip add 1.1.1.2 255.255.255.0
        • Router(config-if)#no sh
        • Router(config-if)#
      • 三,ping路由器16的ip1.1.1.1验证是否连接成功
        • Router#
        • Router#ping 1.1.1.1
        • Type escape sequence to abort.
        • Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
        • !!!!!
        • Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
        • Router#
      • 四,输入命令查看邻居的基本信息
        • Router#show cdp neighbors detail
        • Device ID: Router
        • Entry address(es):
        • IP address : 1.1.1.1_->邻居的IP地址
        • Platform: cisco C2800, Capabilities: Router
        • Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/0
        • Holdtime: 174
        • Version :
        • Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
        • Technical Support: http://www.cisco.com/techsupport
        • Copyright (c) 1986-2007 by Cisco Systems, Inc.
        • Compiled Wed 18-Jul-07 06:21 by pt_rel_team
        • advertisement version: 2
        • Duplex: full
  • MAC地址
    • 拓扑图
    • 实验需求
      • 使用交换机获取MAC地址表
    • 实验步骤
      • 一,配置第一个终端的ip地址
      • 二,配置另一个终端的IP地址
      • 三,输入命令查看终端的MAC地址表
  • 超级终端
    • 拓扑图
    • 实验需求
      • 使用pc实现带外管理
    • 实验步骤
      • 一,使用控制台连线
      • 二,打开终端,配置终端
      • 三,打开终端开始操控路由器
  • 远程Telnet
    • 拓扑图
    • 实验需求
      • 实现远程登陆
    • 实验步骤
      • 一,给终端配置ip
      • 二,配置ip
      • Switch>en
      • Switch#config t
      • Enter configuration commands, one per line. End with CNTL/Z.
      • Switch(config)#int vlan 1
      • Switch(config-if)#ip add 1.1.1.2 255.0.0.0
      • Switch(config-if)#no sh
    • 三,验证是ip否配置成功
      • Switch#show ip interface brief
    • 四,配置明文密码和线路console口密码,开始远程登陆
      • Switch(config)#enable password 111
      • Switch(config)#line vty 0 4
      • Switch(config-line)#pass
      • Switch(config-line)#password 111
      • Switch(config-line)#login

标签:cisco,1.1,ip,基础,命令,Switch,Router,line,config
来源: https://blog.csdn.net/m0_58185842/article/details/119192402

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有