随风飞世 发表于 2017-7-8 19:22:37

4.14上午

  l新建Packet Tracer拓扑图
  l了解交换机命令行
  l进入特权模式(en)
  l进入全局配置模式(conf t)
  l进入交换机端口视图模式(int f0/1)
  l返回到上级模式(exit)
  l从全局以下模式返回到特权模式(end)
  l帮助信息(如? 、co?、copy?)
  l命令简写(如 conf t)
  l命令自动补全(Tab)
  l快捷键(ctrl+c中断测试,ctrl+z退回到特权视图)
  lReload重启。(在特权模式下)
  l修改交换机名称(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#conft
         Switch(config)#hostnameS2960
         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)#enablepasswordcisco//激活特权模式密码为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//取消密码
页: [1]
查看完整版本: 4.14上午