cisco Catalyst 9300 — Secondary and Primary VLAN Configuration

Private VLAN Interaction with VACL/QOS Private VLANs are bidirectional in case of this device, as compared to “Unidirectional” in other platforms. After layer-2 forward lookup, proper egress VLAN mapping happens and all the egress VLAN based feature processing happens in the egress VLAN context. When a frame in Layer-2 is forwarded within a private VLAN, the VLAN map is applied at the ingress side and at the egress side. When a frame is routed from inside a private VLAN to an external port, the private-VLAN map is applied at the ingress side. Similarly, when the frame is routed from an external port to a Private VLAN, the private-VLAN is applied at the egress side.

This is applicable to both bridged and routed traffic. Bridging: • For upstream traffic from secondary VLAN to primary VLAN, the MAP of the secondary VLAN is applied on the ingress side and the MAP of the primary VLAN is applied on the egress side. • For downstream traffic from primary VLAN to secondary VLAN, the MAP of the primary VLAN is applied in the ingress direction and the MAP of the secondary VLAN is applied in the egress direction. Routing If we have two private VLAN domains - PV1 (sec1, prim1) and PV2 (sec2, prim2). For frames routed from PV1 to PV2: • The MAP of sec1 and L3 ACL of prim1 is applied in the ingress port.

• The MAP of sec2 and L3 ACL of prim2 is applied in the egress port. For packets going upstream or downstream from isolated host port to promiscuous port, the isolated VLAN’s VACL is applied in the ingress direction and primary VLAN’s VACL is applied in the egress direction. This allows user to configure different VACL for different secondary VLAN in a same primary VLAN domain. 2-way community VLAN is now not required as the private VLANs on this device are always bi-directional. Note Private VLANs and HA Support PVLAN will work seamlessly with High Availability (HA) feature.

The Private VLAN existing on the active switch before changeover should be the same after changeover (new active switch should have similar PVLAN configuration both on IOS side and FED side as that of the old active switch). Private-VLAN Configuration Guidelines The following sections provide information about Private-VLAN configuration guidelines: Default Private-VLAN Configurations No private VLANs are configured. Secondary and Primary VLAN Configuration Follow these guidelines when configuring private VLANs: Configuring Private VLANs Private VLAN Interaction with VACL/QOS VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 72