OK, I found a few good scripts and am starting an archive of the source(s) here..
I was super confused by the "t" in the set statement for the VLAN script so I finally found this comment in another script.
Sooo every port is linked to port 8(all) like to a switch backbone. If we want to isolate a single port from the rest (like when running a 5GHz Access Point off it...) then we will need to change it here.
root@bananapi ~ # swconfig list
Found: switch0 - eth0
root@bananapi ~ # swconfig dev switch0 help :(
switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096
--switch
Attribute 1 (int): enable_vlan (Enable VLAN mode)
Attribute 2 (string): ports (Available Ports (as bitmask))
Attribute 3 (int): reset_mib (Reset MIB counters)
Attribute 4 (int): enable_jumbo (Enable Jumbo Frames)
Attribute 5 (int): allow_vid_4095 (Allow VID 4095)
Attribute 6 (none): apply (Activate changes in the hardware)
Attribute 7 (none): reset (Reset the switch)
--vlan
Attribute 1 (ports): ports (VLAN port mapping)
--port
Attribute 1 (string): mib (Get port's MIB counters)
Attribute 2 (int): pvid (Primary VLAN ID)
Attribute 3 (string): link (Get port link information)
Reboot for changes to take effect...