Ethernet Switching
Highlighted
Ethernet Switching

STP logs

[ Edited ]
‎06-15-2012 01:14 AM

Hi,

I am not able see STP logs while troubleshooting.

 

In show log messege commands only ports up and down messeges are showing.

 

 I have already enbled SNMP.

 

Can somebody please help to configure spanning tree logs.

 

Thanks,

 

Nilesh

3 REPLIES 3
Highlighted
Ethernet Switching

Re: STP logs

‎06-15-2012 02:07 AM

Hi,

 

Have you enabled traceoptions at the STP hierarchy ? It is disabled by default .  If not please refer to

 

http://www.juniper.net/techpubs/en_US/junos10.2/topics/reference/configuration-statement/traceoption...

 

and configure traceoptions and issue "show log <filenamethatyougaveintraceoptions>" operational mode command to see STP Protocol level debug information .

Regards,
Pradeep 2xJNCIE(SEC/ENT)
Highlighted
Ethernet Switching

Re: STP logs

‎06-21-2012 08:28 AM

Hi ,

 

Thanks for your reply.

 

I have created one file STP and Flag all commands excuted butand still show log STP commands shows onlt Port STP status as i want to see Bridge priority changes of VLAN.

 

Means when the priority of the VLAN100 changed so i can see in Show log messege and i will troubleshoot next .

 

Please help if we wac configure any other way

 

Thanks ...

Highlighted
Ethernet Switching

Re: STP logs

[ Edited ]
‎07-16-2012 06:16 PM

It's split into a couple places.  Tracing inside the STP protocol alone doesn't really give what you're typically looking for even though you would expect it to be there.  Instead, it's part of ethernet-switching-options.

 

This is what I've put in place on most of our EXs.  STP is the one you are looking for, but the others are helpful to see what else was going on that may have been related.

 

set ethernet-switching-options traceoptions file eswd
set ethernet-switching-options traceoptions file size 2m
set ethernet-switching-options traceoptions file files 3
set ethernet-switching-options traceoptions flag interface
set ethernet-switching-options traceoptions flag stp
set ethernet-switching-options traceoptions flag state

 

Hope that helps.

 

-Chad

 

 

 

Feedback