我想知道在Cisco设备上配置CLI的命令,使光标在显示消息后立即移至新行。
因此,例如:

Router#
Router#
*00:00:00: Interface Ethernet0 chaged state to up.Link blablalba* ***(cursor is here)**** 


,然后光标停留在显示消息的同一行。.

我希望它立即自动移至下一行。

示例:

Router#
Router#
00:00:00: Interface Ethernet0 chaged state to up. Line protocol blablalba
Router#****(cursor is here)**** 


评论

正如@KellerG和@Ryan所提到的,同步日志是您想要的,但是通常不希望将日志发送到控制台,除非您正在调试。

值得一提的是Ctrl-r刷新CLI。

#1 楼

我认为您正在寻找“同步记录”。

#2 楼

具体来说,您正在寻找的是:

line con 0
 logging synchronous
line vty 0 15
 logging synchronous