Open for Voting

Configure Brocade VLAN parameters

I want to use a script through the device configuration tab on SolarWinds to configure VLANs parameters on each switch so I don’t have to do it manually.

The issue is there is no “all VLANs” configuration for Brocade, so each vlan would specifically need to be configured, by VLAN number.   For example:

Configure terminal

VLAN 5

Spanning-tree

Exit

VLAN 8

Spanning-tree

Exit

And so on…..

So, is there a way to determine which VLANs are running on the Brocade switches, then configure each VLAN with the same settings, all using a script?

C

  • Also, if they are VDXs, you can just use "vlan 1 to 4095" and it will only apply to configured vlans.

  • What model of Brocade are you running?  I have Brocade ICX 6610s running 08.0.10D1T7f1

    SSH@#conf t

    SSH@(config)#vlan 2 to 10

    SSH@(config-mvlan-2-10)#?

      atalk-proto                Set AppleTalk protocol VLAN

      clear                      Clear table/statistics/keys

      decnet-proto               Set decnet protocol VLAN

      end                        End Configuration level and go to Privileged level

      exit                       Exit current level

      ip-proto                   Set IP protocol VLAN

      ipv6-proto                 Set IPv6 protocol VLAN

      ipx-proto                  Set IPX protocol VLAN

      mac-vlan-permit            Define port to be used for MAC Based VLan

      monitor                    Monitor Ingress Traffic on this VLAN (Enable VLAN

                                 Mirroring)

      multicast                  IGMP snooping on this VLAN

      netbios-proto              Set netbios protocol VLAN

      no                         Undo/disable commands

      other-proto                Set other protocol VLAN

      quit                       Exit to User level

      show                       Show system information

      spanning-tree              Set spanning tree for this VLAN

      static-mac-address         Configure static MAC for this VLAN

      tagged                     802.1Q tagged port

      uplink-switch              Define uplink port(s) and enable uplink switching

      vsrp                       Configure VSRP

      vsrp-aware                 Configure VSRP Aware parameters

      write                      Write running configuration to flash or terminal

      <cr>

    SSH@(config-mvlan-2-10)#