no logging console;不向console发送任何日志;

logging console 3;只向console发送0,1,2,3级别的日志警告;

windows日志转成syslog使用NTsyslog;

logging on;开启日志;

logging buffered 64000;定义保存日志消息缓冲区为64K;

cisco 默认为 logging console 6;

7级为debug日志;

默认cisco不会向vty发送日志,如要显示则需要一条命令:terminal monitor;

注意:该命令在当前telnet窗口去执行;


logging host 192.168.1.1 transport udp port 514 //声明日志服务器及端口

logging source-interface e0/1   //声明日志更新源端口