当前位置:三九宝宝网 → 宝宝成长 → 成语寓言 → 正文

思科路由器查看历史命令怎么看

更新:01-23 整理:39baobao.com
字体:

设定历史缓存数目 更改当前终端会话历史缓存数目: terminal history [size number-of-lines] terminal no history [size number-of-lines] 设为default 10. Example: router#terminal history size 20 router#terminal no history size 20 更改所有会话历史缓存数目: history [size number-of-lines] no history [size number-of-lines] Example: router(config)#line con 0 router(config-line)#history size 20 router(config-line)#no history size 20 router(config-line)#end 调用历史命令 调用上一条命令:Press Ctrl-P or the up arrow key 调用下一条命令:Press Ctrl-N or the down arrow key. 列出缓存中的命令:show history router#show history en help conf t terminal history size 20 terminal no history size 20 history size 20 conf t show history 停止历史命令功能 停止当前会话的历史命令功能 Terminal no history router#terminal no history 停止所有会话的历史命令功能 No history router(config)#line console 0 router(config-line)#no history

本文地址:https://www.39baobao.com/show/13_28783.html

以上内容来自互联网,请自行判断内容的正确性。若本站收录的信息无意侵犯了贵司版权,请联系我们,我们会及时处理和回复,谢谢.