Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nothing in my 2811 log

On my 2811 routers I don't get anything in the sh log. I've shutdown and reenabled interfaces and nothing appears in the log.

gateway(config-if)#do sh log

Syslog logging: enabled (0 messages dropped, 3 messages rate-limited,

                0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

    Console logging: disabled

    Monitor logging: level debugging, 7 messages logged, xml disabled,

                     filtering disabled

        Logging to: vty514(5)

    Buffer logging:  level debugging, 0 messages logged, xml disabled,

                     filtering disabled

    Logging Exception size (4096 bytes)

    Count and timestamp logging messages: disabled

    Persistent logging: disabled

No active filter modules.

ESM: 0 messages dropped

    Trap logging: level informational, 90 message lines logged

Log Buffer (10000 bytes):

10 REPLIES
New Member

Nothing in my 2811 log

Any ideas, I still can't get logs to appear.

Hall of Fame Super Silver

Nothing in my 2811 log

Is it possible that you are typing some character (other than space bar or carriage return/enter key) that is interrupting the display? Many devices will display this general logging information and then wait for a continuation character (space bar or carriage return/enter key) to display the log messages. If any other key is typed then the display is terminated.

If that is not the issue then can you post the output of show run | include log

HTH

Rick

New Member

Nothing in my 2811 log

dot11 syslog

log config

logging synchronous

login

login

Hall of Fame Super Silver

Nothing in my 2811 log

Thanks for the information. Can you post the output of the command show run | begin log config

HTH

Rick

New Member

Nothing in my 2811 log

r1#sh run | b log config

log config

  hidekeys

!

Nothing in my 2811 log

Francis,

Can you run these commands and then test again:

logging buffere debug

logging buffered 24000

Under your interface that you were testing by shutting down:

int

logging event link-status

Then do a show log and post the results.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
New Member

Nothing in my 2811 log

Ok, i did and then shut the inface and bought it back up. I was able to get a log but doing that on all interfaces will it allow me to have debugging logs and etc sent to the console?

Syslog logging: enabled (0 messages dropped, 4 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

    Console logging: disabled

    Monitor logging: level debugging, 0 messages logged, xml disabled,

                     filtering disabled

    Buffer logging:  level debugging, 2 messages logged, xml disabled,

                    filtering disabled

    Exception Logging: size (4096 bytes)

    Count and timestamp logging messages: disabled

    Persistent logging: disabled

No active filter modules.

    Trap logging: level informational, 49 message lines logged

        Logging Source-Interface:       VRF Name:

Log Buffer (24000 bytes):

*Feb 17 19:45:36.051: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down

*Feb 17 19:45:38.763: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

Hall of Fame Super Silver

Nothing in my 2811 log

Your output shows that console logging is currently disabled.

  Console logging: disabled

If you want to send logs messages to the console then you need to enable console logging.

As you enable console logging you might want to think about severity level of messages that will be sent. If this is a lab environment then it probably does not matter and you can use logging console debugging, which will send all severity levels of log messages. If this is for a live router you might consider excluding debug level messages by doing logging console informat.

HTH

Rick

New Member

Nothing in my 2811 log

I'm still not getting any logs.

Router# sh log

Syslog logging: enabled (0 messages dropped, 4 messages rate-limited,

                0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

    Console logging: level debugging, 261 messages logged, xml disabled,

                     filtering disabled

    Monitor logging: level debugging, 0 messages logged, xml disabled,

                     filtering disabled

    Buffer logging:  disabled, xml disabled,

                     filtering disabled

    Logging Exception size (4096 bytes)

    Count and timestamp logging messages: disabled

    Persistent logging: disabled

No active filter modules.

ESM: 0 messages dropped

    Trap logging: level informational, 36 message lines logged

Nothing in my 2811 log

I think we need to back up a little. On your original question, you weren't getting logs to the buffer by shutting down the interface and bringing it back up. That was resolved from the post that I did yesterday:

"Ok, i did and then shut the inface and bought it back up. I was able to  get a log but doing that on all interfaces will it allow me to have  debugging logs and etc sent to the console?"

I'm lost as to what you're trying to accomplish. Are you wanting logs in memory and on the console? I'm assuming that you're consoled into the router and you're not seeing logs to the console? If that's the case add:

logging console debug

From one of your other posts above, you didn't have logging enabled anywhere:

"

dot11 syslog

log config

logging synchronous

login

login

"

There are 3 different types of logs: Buffered, console, monitor. In order to get those logs, you have to specify each one individually:

logging buffere debug

logging console debug

logging monitor debug

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
565
Views
0
Helpful
10
Replies
CreatePlease login to create content