To implement communication between hosts in a VLAN and hosts in another VLAN, create sub-interfaces on the Ethernet interface of a Layer 3 device that connects to a Layer 2 device and encapsulate 802.1q on the sub-interfaces.
This section provides configuration examples of Ethernet interfaces or sub-interfaces, including networking requirements, configuration roadmap, data preparation, and configuration files.