See debug swlog from console

Post Reply
tsastre

See debug swlog from console

Post by tsastre »

Hello,

I want to see debug3 messages from console. How can I do it?

Actually I have:

SW_ST_AL1-> show swlog
Operational Status : On,
Log Device 1 : flash,
Log Device 2 : console,
Syslog FacilityID : local0(16),
Remote command-log : Disabled,
Console Display Level : debug3 (9),
All Applications Not Shown Level : info (6)

Application ID Level
--------------------+----------------
INTERFACE ( 6) debug1 (7)

Also I've tried with swlog remote command-log enable, but it doesn't work.

Flash log has interface debug1 level messages, but I can't see them using the console connection.

Thanks in advance!
one6f

Re: See debug swlog from console

Post by one6f »

Hi,
normally you should already be able to see any relevant messages on the OS6850 console (through console cable), for example if anyone trying a remote access through a telnet or web (aaa auth. configuration required on the switch) you will see on the console new info messages. Or if you turn off the second power supply,...

Some times switch logging getting stuck. Then simple try to disable and enable it again (->no swlog ->swlog).

For remote logging you need a remote syslog server

For setting logging levels for interfaces status changes look at this post and following the TechTip.

If you really need more details then increase the severity level: ->swlog appid {application_id} debug3 (default is info)
Please consult swlog appid details or Network Configuration Guide.

For debugging purposes you can also enable DRC log (debug drclog)
DRC log by default will be displayed on the console -> show drclog
You can change the drclog to show up on the swlog or the current telnet session by giving the session number with the command
-> debug drclog output telnet-session <session> (the session can be got from the who command)
tsastre

Re: See debug swlog from console

Post by tsastre »

Hi,
I have relevant messages on OS6850 console (through console cable), for example I saw a ssh access. But I don't have all debug messages, for example I can't see link UP and link DOWN. I can see them with show log swlog (flash swlog) but not on the console.

Do you have any DRC log guide? It has a lot of options that I don't understand.

Thanks!
one6f

Re: See debug swlog from console

Post by one6f »

tsastre wrote: Do you have any DRC log guide? It has a lot of options that I don't understand.
Try here.
Post Reply

Return to “OmniSwitch 6850 / 6850E”