Solved

GNS3 Spantree Syslog Messages

Posted on 2013-01-04
8
658 Views
Last Modified: 2013-02-01
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
Comment
Question by:cpatte7372
  • 4
  • 4
8 Comments
 
LVL 9

Expert Comment

by:gt2847c
ID: 38743952
Are these messages showing up in the console log and not syslog?  or are they not on the console either?
0
 

Author Comment

by:cpatte7372
ID: 38744163
Not in console either ...
0
 
LVL 9

Expert Comment

by:gt2847c
ID: 38744212
What are you doing to try and generate the above messages?
0
 

Author Comment

by:cpatte7372
ID: 38744478
I would like to test failures and there corresponding syslog message
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 9

Expert Comment

by:gt2847c
ID: 38744610
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
 

Author Comment

by:cpatte7372
ID: 38744651
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
 
LVL 9

Accepted Solution

by:
gt2847c earned 500 total points
ID: 38745955
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
 

Author Closing Comment

by:cpatte7372
ID: 38843000
Cheers
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now