A packet of data leaves the smartphone’s radio and is received by the AP. The AP reads the data packet, and determines that it doesn’t know where the destination address in that packet header is located. The switch in the AP has been configured to send all packets with destination addresses it doesn’t know about to the Internet router, so it sends a copy of that data packet through its built-in switch towards the router.
From here, the data packet begins its journey across the Internet. From router to router, and across an unknown number of switches in between, that data packet will eventually arrive at a web server. The web server will respond in kind, sending data packets back along an Internet path toward the original source Internet router, AP-embedded switch, and eventually the smartphone.
This exchange of packets creates a data flow between the smartphone and the web server. Communication is possible because each one of dozens (if not hundreds) of different hardware devices and associated software between the source and destination adhere to standards that have been defined and maintained for decades.
How Juniper implements network switches
Juniper offers a variety of switches with different specs to fit a range of data centers, campus fabrics, and Internet service provider (ISP) networks. Juniper switches feature advanced capabilities and are proven to scale to accommodate the largest networks in the world. Juniper switches, routers, firewalls, and other network devices are at the core of many of the critical networks that underlie the modern Internet.
Juniper switches offer low latency and advanced functionality such as software-defined wide-area networking (SD-WAN) support. They can route packets to both Layer 2 (Ethernet) and Layer 3 (IP) addresses. In a switching context, Layer 2 refers to forwarding data packets to a certain switch port based on what’s known as a media access control (MAC) address, while Layer 3 refers to forwarding data packets based on IP address. Each packet’s destination is calculated using LUTs such as Address Resolution Protocol (ARP) routing tables.
Juniper switches and routers are supported by Mist AI™, which uses a combination of artificial intelligence (AI), machine learning, and data science techniques to optimize operations across multiple network domains. Juniper network switches and other devices can be managed in several ways, depending on your needs, including:
- Juniper Mist Cloud, which offers a single portal and AI-based insights and automation
- Juniper Apstra intent-based networking software
- Zero-touch provisioning (ZTP)
Juniper networking devices use the Junos OS to offer advanced networking features like:
- BGP Additional Paths (BGP-AP)
- Multiprotocol Label Switching (MPLS)
- Layer 3 VPN
- IPv6 Provider Edge (6PE)
- Cloud optimization
Some Juniper switches are modular, meaning they consist of a chassis and a series of add-in cards. These add-in cards allow for different numbers and speeds of network interface ports and multiple types of WAN connections. They might also contain additional processing cards that offer advanced features. Depending on functionality and number of connectivity ports, Juniper switches might be in form factors as compact as 1 U or as large as 16 U.
High-end Juniper switches can support speeds up to 1080 Gbps and can keep track of up to 1 million MAC address connections. These types of switches are optimal for large data centers, branch locations with advanced networking requirements, and campus deployments.
For large enterprise environments and data centers, it’s common to connect multiple switches together into a network fabric, which is resilient to the loss of any individual switch. Similarly, in these environments, it’s common to use link aggregation to combine multiple physical network connections into a single, highly available logical connection. Juniper recommends deploying switches in an EVPN-VXLAN fabric using Ethernet Switch Identifier-Link Aggregation Groups (ESI-LAGs), which enable peer client devices to form direct logical link interfaces with one another when high-availability connections are required. Juniper switches also support Multichassis LAGs (MC-LAGs) and virtual-chassis configurations for redundancy, although these are no longer recommended.
Network Switches FAQs
What are network switches used for?
A network switch allows two or more IT devices to communicate with one another. In addition to connecting to end devices like PCs and printers, switches may be connected to other switches, routers, and firewalls, all of which can provide connectivity to additional devices. Network switches can also support virtual networks, allowing large networks of interconnected devices to communicate while segmenting certain groups of devices from others for security purposes without requiring separate, costly physical networks.
What’s the difference between a switch and a router?
The practical difference between a switch and a router is what you plug in to each one. Switches are sold for the purpose of connecting many devices, such as servers, PCs, and printers. Routers have increasingly become specialized in routing packets between physical sites, as well as to and from the Internet, at scales ranging from small home networks to the largest data centers in the world.
When you buy a switch, you typically look at the number of ports it supports, the speed of those ports, and what kind of virtual networking the switch enables. Many switches also have basic routing capabilities; routers can route far larger numbers of packets than switches and increasingly support additional capabilities, such as data security.
Traditionally, the difference between a switch and a router was that switches could only forward packets based upon Layer 2 MAC addresses, while a router could route packets based on Layer 3 addresses like IP. In practice, this meant that switches connected a single LAN together, while routers connected multiple LANs, multiple physical locations, and/or offered connectivity to the Internet. This has changed.
In the context of modern networking, the difference between a switch and a router is largely about the primary purpose of the device. Today’s advanced switches support virtual networks and can route packets between different virtual and physical LANs. This means today’s switches can route packets based on both Layer 2 and Layer 3 addresses, just like routers can.
What are the advantages of switch deployments?
Switches allow networks to securely scale in size. Larger switches have the size, security programming, speed, and routing specs to manage up to 1 million MAC addresses. When combined into a network fabric, entire campuses can be connected into a single network, as can large-scale data centers that measure their compute capacity not in the number of servers they contain, but in the number of acres they occupy.
Today’s advanced switches, with support for functionality such as EVPN-VXLAN, enable these large-scale campus and data center networks to function. Combined with routers and firewalls, they can integrate AI, machine learning, and automation capabilities with cloud-based management to make even networks operating at extreme scale easy to manage.
What are the main functions of a network switch?
Switches have three primary tasks. They learn MAC addresses, forward data packets, and protect those packets. Switches learn and store MAC addresses in what’s called the Content Addressable Memory (CAM) table, a type of LUT. Some switches can forward data through Layer 3 network overlays using IP address parameters. Lastly, they keep data packets secure by incorporating VPNs, firewalls, and enhanced encryption embedded in the programming.
How do Juniper’s switches make networking better?
Juniper’s switches make the Internet itself possible. Our switches are deployed not only in the networks of ISPs around the world but also in the world’s largest data centers and in many campus networks, as well. Having to operate in these diverse and demanding environments means that Juniper has the experience to build networking equipment for any need.
Juniper switches are scalable, secure, compatible with non-Juniper equipment, and ready to meet the needs of any network, no matter how large. Juniper network management software takes advantage of AI to enable automation and personalized insights, easing the burden on network administrators.