Skip to content

Instantly share code, notes, and snippets.

@33Fraise33
Last active April 11, 2025 14:19
Show Gist options
  • Save 33Fraise33/fbc3f45fb90c521a41c2bad2b67966f3 to your computer and use it in GitHub Desktop.
Save 33Fraise33/fbc3f45fb90c521a41c2bad2b67966f3 to your computer and use it in GitHub Desktop.
Juniper Q-in-Q QFX5k
show interfaces ae11
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
esi {
00:00:00:00:00:0a:00:00:00:11;
all-active;
}
aggregated-ether-options {
minimum-links 1;
link-speed 1g;
lacp {
active;
periodic fast;
system-id 00:0a:00:00:00:11;
}
}
unit 2000 {
encapsulation vlan-bridge;
vlan-id 2000;
}
unit 2010 {
encapsulation vlan-bridge;
vlan-id 2010;
input-vlan-map pop;
output-vlan-map push;
}
show interfaces ge-0/0/11
gigether-options {
802.3ad ae11;
}
show interfaces ge-0/0/12
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 2010 {
encapsulation vlan-bridge;
vlan-id-list [ 1-4094 ];
}
show routing-instances vrf-12000
instance-type mac-vrf;
protocols {
evpn {
encapsulation vxlan;
default-gateway no-gateway-community;
extended-vni-list 12000;
}
}
vtep-source-interface lo0.1;
service-type vlan-based;
route-distinguisher 10.11.144.2:12000;
vrf-target {
target:64540:12000;
auto;
}
vlans {
VLAN_2000 {
vlan-id 2000;
interface ae11.2000;
l3-interface irb.2000;
vxlan {
vni 12000;
}
}
}
show routing-instances vrf-12010
instance-type mac-vrf;
protocols {
evpn {
encapsulation vxlan;
default-gateway no-gateway-community;
extended-vni-list 12010;
}
}
vtep-source-interface lo0.1;
service-type vlan-bundle;
route-distinguisher 10.11.144.2:12010;
vrf-target {
target:64540:12010;
auto;
}
vlans {
VLAN_2010 {
interface ge-0/0/12.2010;
interface ae11.2010;
vxlan {
vni 12010;
encapsulate-inner-vlan;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment