cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1981
Views
10
Helpful
5
Replies

Layer 2 logging - What do you logg? and how?

rokir
Level 1
Level 1

Hello Guys,

This is my first post (yay!),

 

Either way I was interested to hear a little about what people prefer to logg on their layer 2 access layer devices and which commands you enable to get these info.

 

I am curious since I have noticed there is a huge spectrum of debugging messages etc, to enable/disable, but the info we can find in my network when "show logging", is limited to what is given standard, like link up/down status, err-disables and so on.

 

Is there anything people turn on/off standard, which isn't on default int Catalyst C2960-X's with IOS 15.4(2)E6 ?

 

All cool idea and setups have interest! Please share !

 

- Regards

    Roar Kirkeby - Networks Students

1 Accepted Solution

Accepted Solutions

Hi dude;

You can try this :) 

First, install a syslog software like TFTPD32. Then you can perform below configuration on your device:

Time

SW1# clock set 13:35:30 Oct 07 2018

SW1# configure terminal

SW1# service timestamps  

SW1(config)# logging on
SW1(config)# logging host X.X.X.X   <- The IP address of TFTPD32
SW1(config)# logging trap 7
SW1(config)# logging buffered 64000
 
 
Type of Trap
 
Emergency (severity 0)  System is unusable.
Alert (severity 1)  Immediate action is needed.
Critical (severity 2)  Critical condition.
Error (severity 3)  Error condition.
Warning (severity 4)  Warning condition.
Notification (severity 5)  Normal but significant condition.
Information (severity 6)  Normal information message.
Debugging (severity 7)  Debugging message.
 
I hope this information will be helpful for you.  
Kind Regards.

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

Depends on how you configured you logging option and what exactly you want to see in the log console or buffer.

 

good document for reference :

https://community.cisco.com/t5/network-architecture-documents/how-to-configure-logging-in-cisco-ios/ta-p/3132434

 

Post your configuration also.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thx! I'll take a look

Hi dude;

You can try this :) 

First, install a syslog software like TFTPD32. Then you can perform below configuration on your device:

Time

SW1# clock set 13:35:30 Oct 07 2018

SW1# configure terminal

SW1# service timestamps  

SW1(config)# logging on
SW1(config)# logging host X.X.X.X   <- The IP address of TFTPD32
SW1(config)# logging trap 7
SW1(config)# logging buffered 64000
 
 
Type of Trap
 
Emergency (severity 0)  System is unusable.
Alert (severity 1)  Immediate action is needed.
Critical (severity 2)  Critical condition.
Error (severity 3)  Error condition.
Warning (severity 4)  Warning condition.
Notification (severity 5)  Normal but significant condition.
Information (severity 6)  Normal information message.
Debugging (severity 7)  Debugging message.
 
I hope this information will be helpful for you.  
Kind Regards.

Hey man! Really helpful thx!

You welcome dude, Please rate my answer if it was helpful.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card