cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1344
Views
6
Helpful
4
Replies

Logging in 4506 Switch

Sumit Basak
Level 1
Level 1

Hi All,

I am not getting interface up/down logs in my switch console through show logging command. Switch model cisco WS-C4506-E and IOS :- cat4500e-ipbasek9-mz.122-53.SG3.bin. I have done below mention configurations, please let me know if any thing missing, we can't configure logging level beyond informational.

Switch#sh run | in logging

logging buffered informational

no logging console

logging monitor informational

logging history informational

logging source-interface Vlan<l<an id>>

logging <<ip of syslog server>>

logging synchronous

Sh logging output :-

Console logging: disabled
    Monitor logging: level informational, 1 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level informational, 243 messages logged, xml disabled,
                     filtering disabled
    Exception Logging: size (8192 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled

No active filter modules.

    Trap logging: level informational, 247 message lines logged
        Logging to <<ip of syslog server>>  (udp port 514,  audit disabled,
              authentication disabled, encryption disabled, link up),
              247 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

How can you  get it on the console if you have it disabled:

Switch#sh run | in logging

logging buffered informational

no logging console

Sh logging output :-

Console logging: disabled

They should be in the buffer or on your syslog server

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Leo Laohoo
Hall of Fame
Hall of Fame
I am not getting interface up/down logs in my switch console through show logging command.

By default on the 4500 and 6500, this option is disabled.   Enable by doing this:

conf t

interface

logging event link-status

end

thanks leolaohoo

If this answers your question, can I ask if you can mark this thread as "Answered"?

Review Cisco Networking for a $25 gift card