[j-nsp] QFX 5100 and vlan rewriting
Jonathan Call
lordsith49 at hotmail.com
Thu May 17 10:30:35 EDT 2018
Use the inner-vlan-id-list option:
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/vlan-translation-vlan-id-list-l2.html
Jonathan
From: juniper-nsp <juniper-nsp-bounces at puck.nether.net> on behalf of Vincent Bernat <bernat at luffy.cx>
Sent: Thursday, May 17, 2018 3:17 AM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] QFX 5100 and vlan rewriting
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)
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
juniper-nsp Info Page - puck.nether.net
puck.nether.net
To see the collection of prior postings to the list, visit the juniper-nsp Archives.. Using juniper-nsp: To post a message to all the list members, send email to juniper-nsp at puck.nether.net.
More information about the juniper-nsp
mailing list