Juniper Switch VLAN,TRUNK,Management VLAN Configuration

Juniper Basic Network Administrator

1. Create a vlan with the name “MKT” and assign a vlan id of 10
Create a vlan with the name “ACC” and assign a vlan id of 20
# set vlans MKT vlan-id 10

# set vlans ACC vlan-id 20

2. Assign two interfaces (Gigabit Ports) to the “MKT” vlan
#set interface ge-0/0/0 unit 0 family ethernet-switching port-mode access
#set interface ge-0/0/0 unit 0 family ethernet-switching vlan members MKT

->To set a trunk port to pass only MKT and ACC vlan traffics.
#set interface ge-0/0/5 unit 0 family ethernet-switching port mode trunk vlan member MKT
#set interface ge-0/0/5 unit 0 family ethernet-switching port mode trunk vlan member ACC

->To set a trunk port to pass all vlan traffics.
#set interface ge-0/0/6 unit 0 family ethernet-switching port mode trunk vlan member all

2 thoughts on “Juniper Switch VLAN,TRUNK,Management VLAN Configuration

Leave a Reply

Your email address will not be published. Required fields are marked *