执行多次'conf t'/'end'便会看到以下log信息。
Sep 22 10:26:47.156 SW10-GSUK %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by chrisb on 172.16.33.39@pts/11
2011 Sep 22 10:29:47.093 SW10-GSUK last message repeated 1 time
2011 Sep 22 10:32:50.232 SW10-GSUK last message repeated 1 time
2011 Sep 22 11:39:14.789 SW10-GSUK last message repeated 1 time
2011 Sep 22 11:41:30.215 SW10-GSUK last message repeated 1 time
2011 Sep 22 12:22:59.138 SW10-GSUK last message repeated 1 time
2011 Sep 22 12:24:12.035 SW10-GSUK last message repeated 9 times
此时我们可以通过配置“no logging rate-limit”让“SW10-GSUK last message repeated 1 time”显示具体信息为“SW10-GSUK %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by chrisb on 172.16.33.39@pts/11”
配置方法:
(config)# no logging rate-limit
检查方法:
(config)# show logging rate-limit
增强功能适用版本:
7.3(0)N1(1) 7.2(1)N1(1) 7.2(0)N1(1) 7.2(0)D1(1) 7.1(2)N1(1) 7.0(7)N1(1) 7.0(3)I7(2) 7.0(3)I4(8)
来自 <https://community.cisco.com/t5/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83%E6%96%87%E6%A1%A3/%E5%8E%9F%E5%88%9B%E7%BF%BB%E8%AF%91-nexus%E5%A2%9E%E5%BC%BA%E5%8A%9F%E8%83%BD-%E7%A6%81%E6%AD%A2%E7%9B%B8%E5%90%8Clog%E6%98%BE%E7%A4%BA%E4%B8%BA-last-msg-repeated-n-times/ta-p/4354333> 执行多次'conf t'/'end'便会看到以下log信息。
2011 Sep 22 10:26:47.156 SW10-GSUK %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by chrisb on 172.16.33.39@pts/11
2011 Sep 22 10:29:47.093 SW10-GSUK last message repeated 1 time
2011 Sep 22 10:32:50.232 SW10-GSUK last message repeated 1 time
2011 Sep 22 11:39:14.789 SW10-GSUK last message repeated 1 time
2011 Sep 22 11:41:30.215 SW10-GSUK last message repeated 1 time
2011 Sep 22 12:22:59.138 SW10-GSUK last message repeated 1 time
2011 Sep 22 12:24:12.035 SW10-GSUK last message repeated 9 times
此时我们可以通过配置“no logging rate-limit”让“SW10-GSUK last message repeated 1 time”显示具体信息为“SW10-GSUK %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by chrisb on 172.16.33.39@pts/11”
配置方法:
(config)# no logging rate-limit
检查方法:
(config)# show logging rate-limit
增强功能适用版本:
7.3(0)N1(1) 7.2(1)N1(1) 7.2(0)N1(1) 7.2(0)D1(1) 7.1(2)N1(1) 7.0(7)N1(1) 7.0(3)I7(2) 7.0(3)I4(8)
来自 <https://community.cisco.com/t5/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83%E6%96%87%E6%A1%A3/%E5%8E%9F%E5%88%9B%E7%BF%BB%E8%AF%91-nexus%E5%A2%9E%E5%BC%BA%E5%8A%9F%E8%83%BD-%E7%A6%81%E6%AD%A2%E7%9B%B8%E5%90%8Clog%E6%98%BE%E7%A4%BA%E4%B8%BA-last-msg-repeated-n-times/ta-p/4354333>