Facebook Inc. unveiled a new networking-equipment system designed to displace products from companies such as Cisco Systems Inc. and Juniper Networks Inc. with flexible hardware at the heart of large data centers.

The system, nicknamed 6-pack, will let Facebook build networks by filling large racks with a smaller switch called Wedge, introduced in June. Using its own design helped Facebook, whose social-networking website has 1.4 billion users, reduce spending on infrastructure and upgrade its capabilities without depending on outside suppliers.