create vlan and interface
#configuration of the interfaces set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members vlan2srv11 set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members vlan2srv11 #create vlan set vlans default vlan-id 1 set vlans vlan2srv11 vlan-id 10 <<< vlan-id = none will stop forwarding traffic!