Menu

Exclude Trunk Ports

Help
Thies
2011-04-21
2013-02-02
  • Thies

    Thies - 2011-04-21

    Hi Jonathan,

    I was wondering the following, i have used the following option in our netdb.conf: use_trunks, this works just fine. Only i would like to exclude the uplink ports, is it possible to exclude a serie of ports like this:

    use_trunks = switch01,23,24

    With in this example you can exclude port 23 and 24, why do we want to exclude them? Because these MAC tables are containing MAC information for the rest of the network. These ports are uplink ports to the rest of our corenetwork.

    I hope you can also help with this request! :)

    Best,
    - Thijs

     
  • Jonathan Yantis

    Jonathan Yantis - 2011-04-21

    Thijs,

    So the solution I currently have to deal with this problem is the max_macs setting in netdb.conf.  If you set this to a reasonable level, it should exclude uplink trunk ports with lots of macs on them, but include access layer trunk ports.  You can also override that setting for any individual switch.  I'm going to include that documentation below.

    If this is not good enough, I can consider excluding individual ports.  Try working with max_macs though and let me know, I think it's easier to manage, especially on larger networks.  If your access layer trunk ports have 20 or so macs on them, and your entire network has 500 or so, if you set max_macs to 40, you should be OK.

    # You can override this value on any individual switch by appending max_macs=XX                                                                          
    # in the devicelist file:                                                                                                                                
    # switchname,max_macs=100                                                                                                                                
    #                                                                                                                                                        
    # If you have a lot of hubs and unmanaged switches on your network, you can                                                                              
    # raise the number of macs to accept on a port before it's considered an uplink                                                                          
    # port and discarded.                                              

    • Jonathan
     
  • Thies

    Thies - 2011-04-22

    Hi Jonathan,

    Nice, i will edit the settings and do an test run. I thought my proposal was easier because in large networks all the switches are connect trough the same uplink ports. In our case all the edge switches are connected trough Gi0/1 and Gi0/2.

    So an regexp would do with my option: use_trunks = es-*-*, Gi0/1,Gi0/2

    Never mind, i will try it with your option! Thnks…. :)

    Gr,
    - Thijs

     

Log in to post a comment.