cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

394
Views
10
Helpful
5
Replies
Highlighted
Beginner

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

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
Highlighted

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

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
Highlighted
VIP Mentor

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

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 ***
Highlighted
Beginner

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

Thx! I'll take a look
Highlighted

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

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

Highlighted
Beginner

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

Hey man! Really helpful thx!
Highlighted

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

You welcome dude, Please rate my answer if it was helpful.
CreatePlease to create content
Content for Community-Ad