Sunday, 26 February 2017

Junos Operating System Fundamentals(Part - 2)

Maintains Routing Engine Intelligence



The RE handles all protocol processes in addition to other software processes that control the device’s interfaces, the chassis components, system management, and user access to the device. These software processes run on top of the Junos kernel, which interacts with the PFE. The software directs all protocol traffic from the network to the RE for the required processing.

Controls and Monitors Chassis

The RE provides the CLI in addition to the J-Web GUI. These user interfaces run on top of the Junos kernel and provide user access and control of the device. We discuss user interfaces in a subsequent chapter in this course.

Manages Packet Forwarding Engine

The RE controls the PFE by providing accurate, up-to-date Layer 2 and Layer 3 forwarding tables and by downloading microcode and managing software processes that reside in the PFE’s microcode. The RE receives hardware and environmental status messages from the PFE and acts upon them as appropriate.

Forwards Traffic


The PFE is the central processing component of the forwarding plane. The PFE systematically forwards traffic based on its local copy of the forwarding table. The PFE’s forwarding table is a synchronized copy of the information created on and provided by the RE. Storing and using a local copy of the forwarding table allows the PFE to forward traffic more efficiently and eliminates the need to consult the RE each time a packet needs to be processed. Using this local copy of the forwarding table also allows platforms running the Junos OS to continue forwarding traffic during control plane instabilities.

Implements Services

In addition to forwarding traffic, the PFE also implements a number of advanced services. Some examples of advanced services implemented through the PFE include policers that provide rate limiting, stateless firewall filters, and class of service (CoS).Other services are available through special interface cards that you can add to the PFE complex.

Transit Traffic


Transit traffic consists of all traffic that enters an ingress network port, is compared against the forwarding table entries, and is finally forwarded out an egress network port toward its destination. A forwarding table entry for a destination must exist for a device running the Junos OS to successfully forward transit traffic to that destination. Transit traffic passes through the forwarding plane only and is never sent to or processed by the control plane.
By processing transit traffic through the forwarding plane only, platforms running the Junos OS can achieve predictably high performance rates.Transit traffic can be both unicast and multicast traffic. Unicast transit traffic enters one ingress port and is transmitted out exactly one egress port toward its destination. Although multicast transit traffic also enters the transit device through a single ingress port, it can be replicated and sent out multiple egress ports depending on the number of multicast receivers and the network environment.

Saturday, 18 February 2017

Juniper Basic

Junos Operating System Fundamentals(Part - 1)

  • Robust, Modular, and Scalable

Junos OS functionality is compartmentalized into multiple software processes.Each process handles a portion of the device’s functionality. Each process runs in its own protected memory space, ensuring that one process cannot directly interfere with another. When a single process fails, the entire system does not necessarily fail.This modularity also ensures that new features can be added with less likelihood of breaking current functionality.The Junos OS is the trusted, secure network operating system powering the high-performance network infrastructure offered by Juniper Networks. The Junos kernel is based on the FreeBSD UNIX operating system, which is an open-sourcesoftware system.
Juniper layers


  • Single Source Code Base

All platforms running the Junos OS use the same software source code base within their platform-specific images.This design ensures that core features work in a consistent manner across all platforms running the Junos OS.Because many features and services are configured and managed the same way, the setup tasks and ongoing maintenance and operation within your network are simplified.

  • Separate Control and Forwarding Planes


Another aspect of Junos modularity is the separation of the control plane and the forwarding or data plane. The processes that control routing and switching protocols are cleanly separated from the processes that forward frames, packets, or both through the device running the Junos OS. This design allows you to tune each process for maximum performance and reliability. The separation of the control and forwarding planes is one of the key reasons why the Junos OS can support many different platforms from a common code base.
















The graphic illustrates a basic view of the Junos architecture and highlights the control and forwarding planes. The control plane, shown above the dashed line on the graphic, runs on the Routing Engine (RE). The RE is the brain of the platform; it is responsible for performing protocol updates and system management. The RE runs various protocol and management software processes that reside inside a protected memory environment. The RE is based on an X86 or PowerPC architecture, depending on the specific platform running the Junos OS. The RE maintains the routing tables, bridging table, and primary forwarding table
and connects to the Packet Forwarding Engine (PFE) through an internal link. Although all Junos devices share this common design goal, the actual components that make up the control and forwarding planes vary between the different Junos devices.For additional details about a specific Junos device. 

The PFE, shown below the dashed line on the graphic, usually runs on separate hardware and is responsible for forwarding transit traffic through the device. In many platforms running the Junos OS, the PFE uses application-specific integrated circuits (ASICs) for increased performance. Because this architecture separates control operations—such as protocol updates and system management—from forwarding operations, platforms running the Junos OS can deliver superior performance and highly reliable deterministic operation. The PFE receives the forwarding table (FT) from the RE by means of an internal link. FT updates are a high priority for the Junos OS kernel and are performed incrementally.Because the RE provides the intelligence side of the equation, the PFE can simply perform as it is instructed—that is, it forwards
frames, packets, or both with a high degree of stability and deterministic performance. This architectural design also makes possible the incorporation of high availability features like graceful Routing Engine switchover (GRES), nonstop active routing (NSR), and unified in-service software upgrades (ISSUs).