user@host> configure
Entering configuration mode
# run show vlans
Routing instance VLAN name Tag Interfaces
default-switch EXTERNAL 30
ge-0/0/22.0*
# set vlans NEWVLAN vlan-id 55
# commit
configuration check succeeds
commit complete
# delete vlans NEWVLAN
commit
configuration check succeeds
commit complete
# set interfaces ge-0/0/30 unit 0 family ethernet-switching vlan members NEWVLAN
# set interfaces ge-0/0/30 unit 0 family ethernet-switching interface-mode trunk
# set interfaces ge-0/0/30 unit 0 family ethernet-switching vlan members [NEWVLAN1 NEWVLAN2]
# set interfaces ge-0/0/30 unit 0 family ethernet-switching interface-mode trunk
# set interfaces ge-0/0/30 unit 0 family ethernet-switching vlan members [NEWVLAN1 NEWVLAN2]
# set interfaces ge-0/0/30 native-vlan-id NEWVLAN1
# show interfaces ge-0/0/30
native-vlan-id NEWVLAN1;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members [NEWVLAN1 NEWVLAN2];
}
storm-control default;
}
}
* use "commit" command to save configuration