I am new to Juniper and has a basic doubt about assigning an interface to a VLAN. I have read that JunOS admits both approaches. My question is, what method prevalence when you use both of them?
I mean, I have encountered this real config in a device:
xe-5/1/0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ v20 v30 ];
}
}
}
}
....
vlans {
v40 {
description OTHERVLAN;
vlan-id 40;
interface {
xe-0/1/0.0;
xe-5/1/0.0;
}
}
v50 {
description v50;
vlan-id 50;
interface {
xe-0/1/0.0;
xe-5/1/0.0;
}
...
In this case, what Vlan IDs are being transmitted by interface xe-5/1/0.0, v20 and v30? v40 and v50? all of them?
Thanks.
show ethernet-switching interfaces xe-5/1/0. – Ryan Foley Sep 10 '14 at 20:05