From: YourPal (dearprudence28@gmail.com)
Date: Thu Mar 13 2008 - 03:40:41 ARST
Hi Shine,
I see your point. I suppose you were doing "logging console". In my case,
I'm sending debug messages to a syslog server. Does the "logging rate-limit
all" command still apply?
I tested the "logging rate-limit all" command using "logging buffered
debugging". It is effective. I guess it applies to debug message logging to
syslog as well.
Thank you.
BR,
Emil
On 3/12/08, Shine Joseph <shinepjoseph@iprimus.com.au> wrote:
>
> Emil,
>
> When the command logging rate-limit is used, it doesn't include the
> debugging logs in the rate-limiting process. But the command logging
> rate-limit all includes the rate-limiting of debug logs as well.
>
> Please see below the outputs: To test this I have turned on the just ip
> icmp
> debugging. See the difference in debug outputs with the two commands.
> Initially, the rate-limit 1 is turned on. For testing the second command
> rate-limit all 1 is used.
>
> R1(config)#do debug ip icmp
> ICMP packet debugging is on
> R1(config)#logging rate-limit 1
> R1(config)#do ping 172.16.12.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
> R1(config)#
> *Sep 28 05:50:39.523: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.523: ICMP: echo reply rcvd, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.527: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.531: ICMP: echo reply rcvd, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.531: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.535: ICMP: echo reply rcvd, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.535: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.539: ICMP: echo reply rcvd, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.539: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
> *Sep 28 05:50:39.543: ICMP: echo reply rcvd, src 172.16.12.1, dst
> 172.16.12.1
> R1(config)#
> R1(config)#logging rate-limit all 1
> R1(config)#do ping 172.16.12.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
> R1(config)#
> *Sep 28 05:50:58.347: ICMP: echo reply sent, src 172.16.12.1, dst
> 172.16.12.1
>
>
> HTH,
> Shine
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> YourPal
> Sent: Wednesday, 12 March 2008 10:28 PM
> To: Cisco certification
> Subject: Question on "logging rate-limit" command
>
> Hi Group,
>
> Excuse me for posting this such a trivial question. It's bothering me and
> I
> wish to seek clarification.
>
> A router has the following config:
>
> !
> service timestamps debug datetime msec localtime show-timezone
> logging trap debugging
> logging 173.1.8.100
> !
>
> The task asks to configure the router to limit the number of syslog
> messages
> to 10 per second.
>
> Which one of the following commands answers the task accurately?
>
> logging rate-limit 10
> logging rate-limit all 10
>
> I don't quite understand their difference. Please shed some light.
>
>
> Thank you.
>
> BR,
> Emil
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART