Hi.
I have to MAC-VRF routing instances configured to use the same vlan-id. Commit fails due to duplicate vlan-ids as follows:
{master:0}[edit]
lab@LEAF1# commit
[edit routing-instances tenant2 vlans]
'v101'
l2ald: MacVrf Duplicate vlan-id exists for vlan
[edit routing-instances tenant2 vlans]
Failed to parse vlan hierarchy completely
error: configuration check-out failed
My question is: Why is Junos complaining about duplicated VLAN IDs? Isn't the whole point of multiple MAC-VRF instances to reuse VLAN IDs?
Thanks,
Deepak
Configuration:
routing-instances {
tenant1 {
instance-type mac-vrf;
protocols {
evpn {
encapsulation vxlan;
extended-vni-list all;
}
}
vtep-source-interface lo0.0;
service-type vlan-based;
route-distinguisher 172.31.2.3:1;
vrf-target target:100:1;
vlans {
v101 {
vlan-id 101;
interface xe-0/0/2.101;
vxlan {
vni 10101;
}
}
}
}
tenant2 {
instance-type mac-vrf;
protocols {
evpn {
encapsulation vxlan;
extended-vni-list all;
}
}
vtep-source-interface lo0.0;
service-type vlan-based;
route-distinguisher 172.31.2.3:2;
vrf-target target:100:2;
vlans {
v101 {
vlan-id 101;
interface xe-0/0/3.101;
vxlan {
vni 10301;
}
}
}
}
}