Setting up trunking allows multiple VLANs to traverse a single physical link between switches, enabling efficient network segmentation. To configure:
Set interfaces to trunk mode using switchport mode trunk.
Specify encapsulation (802.1Q or ISL).
Verify trunk status and VLAN traffic flow.