On my CRS326, if I have 2 ports that carry the management VLAN - one is the trunk port (tagged), and the other is an access port on the switch (untagged) - how does the switch know which interface to hand out the management VLAN address to? Is it based on whichever device is connected first (that resides on the management VLAN)? If so, how does this work after a reboot?
Normally, I would not have multiple management ports on a switch, but on this particular switch, it's kind of a test bench, so it needs access ports to all of these different VLANs. See relevant config snippet below. Management VLAN is MGMT876
Code: Select all
/interface vlan
add interface=bridge name=vlan273 vlan-id=273
add interface=bridge name=vlan458 vlan-id=458
add interface=bridge name=vlan387 vlan-id=387
add interface=bridge name=MGMT876 vlan-id=876
add interface=bridge name=vlan123 vlan-id=123
/ip address
add address=10.10.1.5/24 interface=MGMT876 network=10.10.1.0
/interface bridge vlan
add vlan-ids=876 bridge=bridge tagged=bridge,ether1,ether15,ether16 untagged=ether11,ether12
/interface bridge port
set [ find interface=ether1 ] frame-types=admit-only-vlan-tagged
set [ find interface=ether11 ] pvid=876 comment="Spare MGMT876"
set [ find interface=ether12 ] pvid=876 comment="Spare MGMT876"
set [ find interface=ether15 ] frame-types=admit-only-vlan-tagged comment="Spare Trunk"
set [ find interface=ether16 ] frame-types=admit-only-vlan-tagged comment="Spare Trunk"