Both Cisco IOS and Juniper JunOS, the operating systems for their respective networking devices, implement VLANs with similar core functionalities but differ in their configuration syntax and some default behaviors.
Here's the some highlighting VLANs, Access Ports, and Trunking Ports, comparing Cisco and JunOS:
root@SW1#set interfaces {interface-name} unit 0 family ethernet-switching port-mode access
root@SW1#set interfaces {interface-name} unit 0 family ethernet-switching vlan members {vlan-name}
Example:
root@SW1#set interfaces unit 0 family ethernet-switching port-mode access
root@SW1#set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN-10
root@SW1#set interfaces {interface-name} unit 0 family ethernet-switching port-mode trunk
root@SW1#set interfaces {interface-name} unit 0 family ethernet-switching vlan members {vlan-name or all}
Example:
root@SW1#set interfaces unit 0 family ethernet-switching port-mode access
root@SW1#set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members [VLAN-10 VLAN-20]
OR
root@SW1#set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members all