Setting up Vlan in Juniper Switch (JunOS)
- Last Updated: 08/06/2021
Another popular brand of switches is Juniper. These switches offer the same functionality of Cisco ones just with different syntax.
Commands to create Vlan:
Edit vlan Edit <vlan name> Set vlan-id <#>
Commands to allow the vlan on a port:
Edit interfaces Edit ge-0/0/<port #> Edit unit 0 Edit family ethernet-switching Edit vlan Set member <vlan id or vlan name>
Note: to delete lines that aren’t working/have errors use the delete command followed by the exact line or section that you would like to delete (“delete” functions similar to the “no” command in Cisco)