Re: make the collecting of logging message

From: Tom Young (gitsyoung@yahoo.co.jp)
Date: Mon Mar 17 2003 - 00:03:56 GMT-3


Hi, Gerry

    Thank you very much for your reply, it is very very
helpful.
   Would you plz answer me two question?
You said
> logging facility local4
Why it is local4? not others?
The second is, I know some command was used for special
routing protocol , for example,the log-change-adjance, ...
for ospf, eigrp, bgp,etc. If I don't use those command,
the message will not appear in my logging file ?

Thanks alot

--- Gerry Boudreaux <gerry@intersurf.com> $B$+$i$N%a%C%;!<(B
$B%8!'(B
> If I understand your question, the following should
> help.
>
> The following line will cause the router to buffer
> the log locally:
>
> logging buffered 16384 debugging
> (16384 is the buffer size, I normally use larger
> than this, debugging is
> the logging level I wish to see, debugging means
> everything is logged, and
> is the default)
>
> You can also add:
> service timestamps log [ several options here
> ]
> to specify timestamps for the log messages, I use:
> datetime msec localtime show-timezone
> as the options, but that assumes that your clock is
> sync'd or at least set.
>
> Lastly you may wish to investigate the following
> commands:
>
> logging trap debugging
> logging facility local4
> logging A.B.C.D
>
> Hope this helps.
>
> See the following for more:
>
>
http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_configuration_guide_chapter09186a00800d9b68.html
>
>
> At 08:45 AM 3/16/2003, Tom Young
> <gitsyoung@yahoo.co.jp> wrote:
> >Hi, group
> >
> > Sorry for a quesion that hasn't relation with
> CCIE, I
> >want to make the log collection on my router that
> running
> >now. For supervision all the status of the router
> by show
> >logging command. I know if I don't set some command
> ,I
> >couldn't see anything by show log command. Who can
> provide
> >the the useful setting command or a list ,a url for
> some
> >infomation. Thank you very much.
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:40 GMT-3