Trunks and access ports?
Several people convinced me that the next platform I should learn is Fortinet's, so I just got a used FortiGate 90D. Amusingly enough, it still has support and contracts for a few more weeks, so I updated it to 5.4, build 1011. I can't seem to find a way to set up a VLAN that is tagged on one physical interface and untagged on another. On JunOS, I would do this:
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members userVlan
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan userVlan
set interfaces vlan unit 10 family inet address 192.168.10.1/24
set vlans userVlan vlan-id 10 set vlans userVlan l3-interface vlan.10
That would tag the VLAN out port 0/0/0, not tag it out port 0/0/1, and the router would have a layer 3 interface on the VLAN that can be reached from either to act as the gateway for all traffic on that VLAN.
I don't see a way to do anything similar on my FortiGate. It looks like VLANs are always subordinate to a physical port. Is there a way to bridge a tagged VLAN on one physical port with untagged traffic on another physical port and have only one IP on the FortiGate to represent that combined interface? If not, it seems silly to have such a huge number of ports on the boxes.
