clear logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 12:52 AM
Documentation says to use clear logging to clear syslog. Syntax is
clear logging {logfile | nvram}
but
switch2# clear logging ?
session Clear logging session
switch2# clear logging session
CFS distribution is not enabled for logging
What is wrong ? I am on 2.0.3, the same is on 950[69] and 9216 switches.
- Labels:
-
Storage Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 01:11 AM
try, "clear logging logfile" instead of "clear logging session". The latter is for clearing a session lock, which is only applicable if Cisco Fabric Services (CFS) has been enabled to distribute the syslog config info around the fabric.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 02:06 AM
I was not clear enough - nothing else then clear logging session works
switch2# clear logging logfile
^
% invalid command detected at '^' marker.
switch2# clear logging nvram
^
% invalid command detected at '^' marker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 02:19 AM
I'm afraid the command was forgotten in 2.0(X).
The software defect is
CSCeg30714 clear logging logfile is NOT in CLI
verified in 2.1(0.119).
"clear logging session" is for CFS session for the syslog (you are right) it is not for
MDSwithSANOS134a# clear logging ?
logfile Clear logfile messages
nvram Clear nvram logs
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 03:31 AM
When is 2.1 due to come out ? I don't see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 02:30 AM
Maybe you do not have permission. Are you using user "admin" or some roles based user ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 02:33 AM
ignore my last post, just read it was a bug. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 03:27 AM
When will 2.1 come out ?
