Menu

skip_port and use_port

Help
2014-06-17
2014-06-18
  • Gibran Gibran

    Gibran Gibran - 2014-06-17

    Greetings all -

    This is my second post today, bear with me:)

    I have couple of aggregation switches I would like to exclude bunch of port-channels and allow few only, what's the best way to do that?

    I was going to use the skip_port, but I have about 20 interfaces I need to skip and I was hoping there is another option. Is there a way I can exclude all and allow few with the "use_port" option? Or is there an impact if I exclude bunch of ports? I have no problem typing them, just want to make sure I am not introducing any slowness on the server.

    Thank you.

     
  • Jonathan Yantis

    Jonathan Yantis - 2014-06-18

    Gilbran,

    I may have to provide a knob for this functionality, but try this. In your devicelist file, append this to a switch.

    switch,max_macs=0,use_port=Po1,use_port=Po2

    See if that works for you. If you just set the switch to max_macs=0 in the devicelist file you should be able to include all the use_port entries in your netdb.conf if you prefer. You don't want to modify the global max_macs though.

    If that doesn't work, let me know and I'll add a knob to skip an entire switch and combine with use_port.

    Jonathan

     

Log in to post a comment.