RE: Logging to NVRAM or to FLASH

From: Tighe Kuykendall (tighe@buoy.net)
Date: Thu Jan 11 2007 - 12:17:19 ART


How about on the smaller routers?

Below is from my 2621XM running c2600-entbasek9-mz.124-11.T, but I didn't see it on my 2821 either which is running c2800nm-adventerprisek9-mz.124-11.T.

r1(config)#logging ?
  Hostname or A.B.C.D IP address of the logging host
  buffered Set buffered logging parameters
  buginf Enable buginf logging for debugging
  cns-events Set CNS Event logging level
  console Set console logging parameters
  count Count every log message and timestamp last occurrence
  discriminator Create or modify a message discriminator
  dmvpn DMVPN Configuration
  exception Limit size of exception flush output
  facility Facility parameter for syslog messages
  history Configure syslog history table
  host Set syslog server IP address and parameters
  message-counter Configure log message to include certain counter value
  monitor Set terminal line (monitor) logging parameters
  on Enable logging to all enabled destinations
  origin-id Add origin ID to syslog messages
  queue-limit Set logger message queue size
  rate-limit Set messages per second limit
  reload Set reload logging level
  server-arp Enable sending ARP requests for syslog servers when
                       first configured
  source-interface Specify interface for source address in logging
                       transactions
  trap Set syslog server logging level
  userinfo Enable logging of user info on privileged mode enabling

r1(config)#logging file ?
  <cr>

r1(config)#logging file flash:/syslog 16384 6
Translating "file"
                    ^
% Invalid input detected at '^' marker.

r1(config)#

================
Tighe Kuykendall
tighe@buoy.net

> -------- Original Message --------
> Subject: RE: Logging to NVRAM or to FLASH
> From: "Jim White" <jim.t.white@gmail.com>
> Date: Thu, January 11, 2007 6:02 am
> To: "'Chee Chew Leong'" <cleong3@csc.com>, <ccielab@groupstudy.com>
>
> Heres an example Chee Chew from a 3560 Switch...
>
> The max size is 16384 and the severity level is 6 in the example below.
>
> Rack1SW1(config)#logging file flash:Sw-Log.txt 16384 6
> Rack1SW1(config)#
> Rack1SW1(config)#^Z
> Rack1SW1#
> 2d19h: %SYS-5-CONFIG_I: Configured from console by console
> Rack1SW1#
> Rack1SW1#dir
> Directory of flash:/
>
> 2 -rwx 8451293 Mar 1 1993 00:26:39 +00:00
> c3560-advipservicesk9-mz.122-35.SE.bin
> 3 -rwx 1156 Mar 1 1993 00:00:56 +00:00 vlan.dat
> 4 -rwx 1664 Mar 1 1993 07:49:00 +00:00 config.text
> 5 drwx 192 Mar 1 1993 00:05:49 +00:00
> c3560-ipbase-mz.122-25.SEB2
> 358 -rwx 24 Mar 1 1993 07:49:00 +00:00 private-config.text
> 359 -rwx 59 Mar 3 1993 19:12:06 +00:00 Sw-Log.txt
>
> 32514048 bytes total (17042944 bytes free)
> Rack1SW1#
> Rack1SW1#more Sw-Log.txt
> 2d19h: %SYS-5-CONFIG_I: Configured from console by console
> Rack1SW1#
> Rack1SW1#
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Karl
> Brenner
> Sent: 11 January 2007 08:09
> To: 'Chee Chew Leong'; ccielab@groupstudy.com
> Subject: RE: Logging to NVRAM or to FLASH
>
> The command is:
>
> logging file flash:filename [max-file-size [min-file-size]]
> [severity-level-number | type]
>
>
> with this you van use the file and import it into viewing tools if needed.
>
> Regards,
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Chee
> Chew Leong
> Sent: 11 January 2007 07:23
> To: Noel Debouver III
> Cc: ccielab@groupstudy.com; nobody@groupstudy.com
> Subject: Re: Logging to NVRAM or to FLASH
>
> Is it possible to log to flash by using logging buffered? More seriously on
> nvram? Possible?
>
> Logging buffer should be logging to RAM.
>
>
>
>
>
> Noel Debouver III <noeldebouveriii@yahoo.com> Sent by: nobody@groupstudy.com
> 01/06/2007 12:39 PM
> Please respond to
> Noel Debouver III <noeldebouveriii@yahoo.com>
>
>
> To
> ccielab@groupstudy.com
> cc
>
> Subject
> Re: Logging to NVRAM or to FLASH
>
>
>
>
>
>
> When one uses the command logging buffered 55000 - it logs to Flash.
>
> When one
> uses the command logging persistent <device name> - Does one need both
> commads
> and does one also have to use the logging persistent command to write to
> NVRAM?
>
>
>
>
> ----- Original Message ----
> From: Noel Debouver III
> <noeldebouveriii@yahoo.com>
> To: Noel Debouver III <noeldebouveriii@yahoo.com>;
> Ivan <ivan@iip.net>; ccielab@groupstudy.com
> Sent: Friday, January 5, 2007
> 8:08:07 PM
> Subject: Logging to NVRAM or to FLASH
>
>
> Is anyone logging to NVRAM
> or Flash?
>
> Any tips here on making this work
> correctly?
>
> Thanks
>
> Noel
> __________________________________________________
> Do You Yahoo!?
> Tired of
> spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
> __________________________________________________
> Do You Yahoo!?
> Tired of
> spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART