SWOS/CSS326-VLAN-Example: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Warning|This manual is moved to [[https://help.mikrotik.com/docs/pages/viewpage.action?pageId=76415036#CRS3xxandCSS32624G2S+seriesManual-VLANConfigurationExample https://help.mikrotik.com/docs/pages/viewpage.action?pageId=76415036#CRS3xxandCSS32624G2S+seriesManual-VLANConfigurationExample]]}} | |||
{{ Note | These are basic VLAN configuration examples, in case you need more advanced options (e.g. ingress VLAN filtering, VLAN mirroring) then please refer to [[SwOS/CRS3xx#VLAN_and_VLANs | VLAN Manual ]] for a more detailed property description.}} | |||
===VLAN Example #1 (Trunk and Access Ports)=== | ===VLAN Example #1 (Trunk and Access Ports)=== | ||
Latest revision as of 15:59, 21 July 2021
Warning: This manual is moved to [https://help.mikrotik.com/docs/pages/viewpage.action?pageId=76415036#CRS3xxandCSS32624G2S+seriesManual-VLANConfigurationExample]
Note: These are basic VLAN configuration examples, in case you need more advanced options (e.g. ingress VLAN filtering, VLAN mirroring) then please refer to VLAN Manual for a more detailed property description.
VLAN Example #1 (Trunk and Access Ports)
1) In VLAN menu configure Default VLAN ID on planned access ports to assign untagged traffic to specific VLAN in the switch.
2) In VLANs menu add VLAN entries and specify port membership to certain VLANs.
3) At the end, enable strict VLAN filtering to ensure only allowed VLANs can pass through the ports.
VLAN Example #2 (Trunk and Hybrid Ports)
1) In VLAN menu configure Default VLAN ID on planned hybrid ports to assign untagged traffic to specific VLAN in the switch.
2) In VLANs menu add VLAN entries and specify port membership to certain VLANs. Just like the previous example, add ports with untagged traffic (defined by Default VLAN ID) to certain VLAN (black arrows). Also, we need to add ports, which are allowed to forward tagged traffic.
3) At the end, enable strict VLAN filtering to ensure only allowed VLANs can pass through the ports. For hybrid ports to work properly, make sure VLAN Receive is selected as any
, otherwise ingress tagged or untagged traffic can be dropped (depending on selected option), but for the trunk port, it is possible to allow only packets with VLAN tag. To filter specific ingress VLAN traffic on hybrid ports, use ACL rules.