• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 670
  • Last Modified:

GNS3 Spantree Syslog Messages

Hello Experts,

I'm been trying to generate of the following syslog error messages on GNS3 lab multiswitch 3725 but no matter what I do none of messages appear. Can someone tell me what I'm doing wrong?

%SPANTREE-2-BLOCK_BPDUGUARD:
%SPANTREE-2-BLOCK_PVID_LOCAL:
%SPANTREE-2-BLOCK_PVID_PEER:
%SPANTREE-2-CHNL_MISCFG:
%SPANTREE-2-LOOPGUARD_BLOCK:
%SPANTREE-2-LOOPGUARD_CONFIG_CHANGE:
%SPANTREE-2-LOOPGUARD_UNBLOCK:
%SPANTREE-2-PVSTSIM_FAIL:
%SPANTREE-2-PVSTSIM_OK:
%SPANTREE-2-RECV_1Q_NON_1QTRUNK:
%SPANTREE-2-RECV_BAD_TLV:
%SPANTREE-2-RECV_PVID_ERR:
%SPANTREE-2-ROOTGUARD_BLOCK:
%SPANTREE-2-ROOTGUARD_CONFIG_CHANGE:
%SPANTREE-2-ROOTGUARD_UNBLOCK:
%SPANTREE-2-UNBLOCK_CONSIST_PORT:
%SPANTREE-3-BAD_PORTNUM_SIZE:
%SPANTREE-3-PORT_SELF_LOOPED:
%SPANTREE-3-PRESTD_NEIGH:
%SPANTREE-4-PORT_NOT_FORWARDING:
%SPANTREE-5-EXTENDED_SYSID:
%SPANTREE-5-ROOTCHANGE:
%SPANTREE-5-TOPOTRAP:
%SPANTREE-6-PORT_STATE:
%SPANTREE-7-BLOCK_PORT_TYPE:
%SPANTREE-7-PORTDEL_SUCCESS:
%SPANTREE_FAST-7-PORT_FWD_UPLINK

Cheers

Carlton
0
cpatte7372
Asked:
cpatte7372
  • 4
  • 4
1 Solution
 
gt2847cCommented:
Are these messages showing up in the console log and not syslog?  or are they not on the console either?
0
 
cpatte7372Author Commented:
Not in console either ...
0
 
gt2847cCommented:
What are you doing to try and generate the above messages?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
cpatte7372Author Commented:
I would like to test failures and there corresponding syslog message
0
 
gt2847cCommented:
How do you have the switch/network configured?  If it's not configured correctly, you won't get error messages of the sort you've listed above...  There are things you can do to create the circumstances that will generate those errors, but we have to know what you've got setup in order to give you some direction on it.
0
 
cpatte7372Author Commented:
hi gt2847

Please find attached screenshot and configs that will provide further insight.

Appreciate your help.
screenshot.png
ALS1.txt
ALS2.txt
DLS1.txt
DLS12.txt
0
 
gt2847cCommented:
It's not clear which ports on the various switches correspond to the interlink lines you have drawn on the network diagram, so I'm not sure which ports relate to which connections...

Your configs do not show VLANs set up.  Normally you'll have for each VLAN:

VLAN nnn
  name somename

This sets up the VLAN in the switches table and enables it.  So for all the VLANs you want to pass around your lab network, go ahead and create them on each switch.  

In order to use syslog, you're going to have to put an IP address on an interface so it can talk with your NMS system.  Easiest thing to do is to create a vlan interface (once you're named the VLANs as above).  Put the NMS server on the VLAN with that interface so that they can communicate with each other.  I'd recommend doing your logging from the ALS1 switch as you are likely to sever connectivity with your other devices during your testing.  If connections to ALS1 from the logging switch become blocked, you will lose syslog messages.  You are unlikely to kill NMS to ALS1 connectivity so that should be good.  Once you have IP connectivity to the NMS from the switch, you'll need to put logging statements in so it will send the console messages via syslog to your NMS system.

In order to see the BPDU failure messages, you're going to have to configure ports with "spanning-tree bpduguard enable" on a link between switches.  That port would then see a BPDU packet and block.  

For rootguard, the link shows failure modes you should be able to configure in your model which would generate those messages.

To see the self-loop message, you'll probably have to plug a switch into itself so that it will see its own BPDU packet and complain.

That should get things started...  Let me know if you need more info on configuring the switches...
0
 
cpatte7372Author Commented:
Cheers
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now