[j-nsp] QFX 5100 and vlan rewriting
Vincent Bernat
bernat at luffy.cx
Thu May 17 05:17:35 EDT 2018
Hey!
I am a bit puzzled how to do VLAN rewriting with the QFX5100. With a MX,
the following configuration would work:
interfaces {
xe-0/0/0 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list [ 57 58 ];
vlan-rewrite {
translate 3 57;
translate 4 58;
}
}
}
}
}
With a QFX5100, running 17.4, there is no "vlan-id-list" under "family
ethernet-switching" (but there is "inner-vlan-id-list" and there is
"vlan-id-list" outside "family ethernet-switching"). If I don't specify
anything, I get an error message saying to use "vlan members". However,
the following configuration does not translate VLANs:
interfaces {
xe-0/0/0 {
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan members [ vlan-57 vlan-58 ];
vlan-rewrite {
translate 3 57;
translate 4 58;
}
}
}
}
}
vlans {
vlan-57 vlan-id 57;
vlan-58 vlan-id 58;
}
Am I doing something wrong? Thanks!
--
Choose a data representation that makes the program simple.
- The Elements of Programming Style (Kernighan & Plauger)
More information about the juniper-nsp
mailing list