• 4.14上午


    新建Packet Tracer拓扑图

    了解交换机命令行

    进入特权模式(en)

    进入全局配置模式(conf t)

    进入交换机端口视图模式(int f0/1)

    返回到上级模式(exit)

    从全局以下模式返回到特权模式(end)

    帮助信息(如? 、co?、copy?)

    命令简写(如 conf t)

    命令自动补全(Tab)

    快捷键(ctrl+c中断测试,ctrl+z退回到特权视图)

    Reload重启。(在特权模式下)

    修改交换机名称(hostname X)

    PC console端口

           Switch>enable

           Switch#conf t

           Switch(config)#hostname X

           Switch(config)#interface fa 0/1

           Switch(config-if)#end 

     

    PC console端口

           Switch>enable

           Switch#conf  t

           Switch(config)#hostname  S2960

           S2960(config)#interface fa 0/1

           S2960(config-if)#speed 100

           S2960(config-if)#duplex full

           S2960(config-if)#exit

           同时将PC的网卡改成全双工模式,100M速率,否则链路不通

           S2960(config)#hostname switch

           Switch(config)#exit

           Switch#show version

           Switch#show run

           Switch#show interface

           Switch#show mac-address-table

           Switch#config t

           Switch(config)#enable  password  cisco//激活特权模式密码为cisco

           Switch(config)#no enable password //取消特权模式密码

           Switch(config)#line console 0

           Switch(config-line)#password cisco

           Switch(config-line)#login

           Switch(config-line)#no password//取消密码

  • 相关阅读:
    推自己的镜像到网易云
    supervisord常见问题
    supervisord的配置
    一文解读SDN (转)
    一文解读ZooKeeper (转)
    使用 Docker 和 Nginx 打造高性能的二维码服务 (转)
    一文解读Docker (转)
    一文解读分布式架构 (转)
    一文解读分布式事务 (转)
    一文读懂工业大数据 (转)
  • 原文地址:https://www.cnblogs.com/bgd140206314/p/6709140.html
Copyright © 2020-2023  润新知