Wired

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

vlan list variable and execpt?

This thread has been viewed 15 times
  • 1.  vlan list variable and execpt?

    Posted Jan 08, 2024 10:42 AM

    Hi,

    Like I wrote, almost ready to swap my old 3800 for my new 6300, just a few more things.

    For a number of ports I need the same vlan list, it is a list of dozens of vlans going to an ESX host. Is there a way in the new CX CLI interface to define a vlan list, maybe by way of a variable that I can use later on? Something line $esx-sw0-vlans = 2-5,9,20-99,101,110 

    Later on I could do something like # interface 1/1/10-1/1/25 # vlan trunk allowed $esx-sw0-vlans

    If not, no problem, just a few extra copy / paste lines in my config.

    Is there a way to have a statement like : vlan trunk allowed all except 100,200,300

    For most switch to switch links I need the all statement, glad it exists now. But for a few I need either to list all the allowed vlans, which is quite a list, or find something like that except parameter. For sure, I am happy that the all parameter exists now, it never did in the old AOS, but now that I have it "I want more". ;-)



  • 2.  RE: vlan list variable and execpt?

    EMPLOYEE
    Posted Jan 09, 2024 04:25 AM

    Hi

    Not exactly the same but you may use the interface templates called persona in the CLI for your purpose:

    1. Configure a template/persona
    2. Assign template/persona to a physical interface

    See also :