Switching

Juniper filter-based VLANs questions

  • 1.  Juniper filter-based VLANs questions

    Posted 05-26-2021 22:48
    I came across this topic from Juniper Filter-based VLANs
    Crypt.gen.nz remove preview
    Juniper Filter-based VLANs
    So during my efforts to study for the Juniper JNCIP-Ent ( Enterprise Routing & Switching ) exam, I happened to come across a Juniper switching feature called Filter-based VLANs. In normal VLAN-based switching, a device's assigned VLAN is configured on it's access port and can't be changed no matter what is connected to that port.
    View this on Crypt.gen.nz >
    The following configuration is not available on the switches I have now.
    1	interfaces {
    2	    ge-0/0/0 {
    3	        unit 0 {
    4	            family ethernet-switching {
    5	                port-mode access;
    6	                filter {
    7	                    input VLAN_map;
    8	                }
    9	            }
    10	        }
    11	    }
    12	}
    ​

    I assumed this configuration is for non-ELS.  but not sure.

    1.  Anyone can tell me whether the same  feature is available on ELS switches.
    2. Anyone can show me when I need to use L2 filter like the following:

    set firewall family ethernet-switching filter assign-vlan term 100 from ip-source-address 10.1.100.11/32
    set firewall family ethernet-switching filter assign-vlan term 100 then accept
    set firewall family ethernet-switching filter assign-vlan term 100 then vlan user


    thanks a lot !!