8/09/2013

CISCO 指令:設定Console 的Timeout

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#line console 0
Switch(config-line)#exec
Switch(config-line)#exec-timeout ?
  <0-35791>  Timeout in minutes
Switch(config-line)#exec-timeout 0 0

Switch(config-line)#logging synchronous
Switch(config-line)#exit
Switch(config)#exit


  • exec-timeout minutes seconds

  • 第一組參數為分鐘
    第二組參數為秒鐘

  • logging synchronous

  • 避免指令輸入一半時被訊息打斷。讓系統自動重新補上輸入到一半的指令。