Understanding Software Infrastructure and Processes on EX Series Switches
Each switch runs the Juniper Networks Junos operating system (Junos OS) for Juniper Networks EX Series Ethernet Switches on its general-purpose processors. Junos OS includes processes for Internet Protocol (IP) routing and for managing interfaces, networks, and the chassis.
Junos OS runs on the Routing Engine. The Routing Engine kernel coordinates communication among the Junos OS processes and provides a link to the Packet Forwarding Engine.
With the J-Web interface and the command-line interface (CLI) to Junos OS, you configure switching features and routing protocols and set the properties of network interfaces on your switch. After activating a software configuration, use either the J-Web or CLI user interface to monitor the switch, manage operations, and diagnose protocol and network connectivity problems.
Routing Engine and Packet Forwarding Engine
A switch has two primary software processing components:
Packet Forwarding Engine—Processes packets; applies filters, routing policies, and other features; and forwards packets to the next hop along the route to their final destination.
Routing Engine—Provides three main functions:
Creates the packet forwarding switch fabric for the switch, providing route lookup, filtering, and switching on incoming data packets, then directing outbound packets to the appropriate interface for transmission to the network
Maintains the routing tables used by the switch and controls the routing protocols that run on the switch.
Provides control and monitoring functions for the switch, including controlling power and monitoring system status.
Junos OS Processes
The Junos OS running on the Routing Engine and Packet Forwarding Engine consists of multiple processes that are responsible for individual functions.
The separation of functions provides operational stability, because each process accesses its own protected memory space. In addition, because each process is a separate software package, you can selectively upgrade all or part of the Junos OS, for added flexibility.
Table 1 describes the primary Junos OS processes.
Table 1: Junos OS Processes
Detects hardware on the system that is used to configure network interfaces.
Monitors the physical status of hardware components and field-replaceable units (FRUs), detecting when environment sensors such as temperature sensors are triggered.
Relays signals and interrupts—for example, when devices are taken offline, so that the system can close sessions and shut down gracefully.
Ethernet switching process
Handles Layer 2 switching functionality such as MAC address learning, Spanning Tree Protocol and access port security. The process is also responsible for managing Ethernet switching interfaces, VLANs, and VLAN interfaces.
Manages Ethernet switching interfaces, VLANs, and VLAN interfaces.
Note: The process is not applicable for EX2300 and EX3400 switches
Defines how routing protocols operate on the switch. The overall performance of the switch is largely determined by the effectiveness of the forwarding process.
Configures and monitors network interfaces by defining physical characteristics such as link encapsulation, hold times, and keepalive timers.
Provides communication between the other processes and an interface to the configuration database.
Populates the configuration database with configuration information and retrieves the information when queried by other processes to ensure that the system operates as configured.
Interacts with the other processes when commands are issued through one of the user interfaces on the switch.
If a process terminates or fails to start when called, the management process attempts to restart it a limited number of times to prevent thrashing and logs any failure information for further investigation.
Routing protocol process
Defines how routing protocols such as RIP, OSPF, and BGP operate on the device, including selecting routes and maintaining forwarding tables.