本帖最后由 yondong 于 2018-4-25 17:47 编辑
示例如下:
执行多次'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)