Private VLANs
The private VLAN feature allows segmenting the Layer 2 broadcast domain of a VLAN into subdomains. A subdomain is represented by a pair of private VLANs: a primary VLAN and a secondary VLAN. A private VLAN domain can have multiple private VLAN pairs, one pair for each subdomain. All VLAN pairs in a private VLAN domain share the same primary VLAN. The secondary VLAN ID differentiates one subdomain from another.
Private VLANs over VXLAN extends private VLAN across VXLAN. The secondary VLAN can exist on multiple VTEPs across VXLAN. MAC address learning happens over the primary VLAN and advertises via BGP EVPN. When traffic is encapsulated, the VNI used is that of the secondary VLAN. The feature also supports Anycast Gateway. Anycast Gateway must be defined using the primary VLAN.
Packets originating from secondary VLAN promiscuous ports are encapsulated using the VN-segment of the primary VLAN.
-
When a VXLAN packet arrives with the VNID of a secondary private VLAN (for example, an isolated VLAN), after decapsulation, the packet is forwarded exclusively to promiscuous ports.
-
Conversely, when a VXLAN packet arrives with the VNID of the primary VLAN, the packet is forwarded to the private VLAN secondary host or trunk ports.

Feedback