Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Device Interfaces Overview

The interfaces on a device provide network connectivity to the device. This topic discusses about the various device interfaces supported on Junos OS Evolved such as transient interfaces, services interfaces, container interfaces, and internal ethernet interfaces. This topic also provides basic interface related information such as interface naming conventions, overview of interface encapsulation, and overview of interface descriptors.

Device Interfaces Overview

Juniper devices typically contain several different types of interfaces suited to various functions. For the interfaces on a device to function, you must configure them. Specifically, you must configure the interface location (that is, the slot where the Flexible PIC Concentrator [FPC] is installed). You must also specify the location of the Physical Interface Card [PIC] and the interface type. Finally, you must specify the encapsulation type and any interface-specific properties that may apply.

You can configure interfaces that are currently present in the device as well as interfaces that are not currently present but that are expected to be added in the future. Junos OS Evolved detects the interface after the hardware has been installed and applies the pre-set configuration to it.

To see which interfaces are currently installed in the device, issue the show interfaces terse operational mode command. If an interface is listed in the output, it is physically installed in the device. If an interface is not listed in the output, it is not installed in the device.

You can configure Junos OS Evolved class-of-service (CoS) properties to provide a variety of classes of service for different applications, including multiple forwarding classes for managing packet transmission, congestion management, and CoS-based forwarding.

Types of Interfaces

Interfaces can be permanent or transient, and they are used for networking or services:

  • Permanent interfaces—Interfaces that are always present in the device.

    Permanent interfaces in the device consist of management Ethernet interfaces and internal Ethernet interfaces, both of which are described separately in the following topics:

  • Transient interfaces—Interfaces that can be inserted into or removed from the device depending on your network configuration needs.

  • Networking interfaces—Interfaces that primarily provide traffic connectivity.

  • Services interfaces—Interfaces that provide specific capabilities for manipulating traffic before it is delivered to its destination.

Interface Naming Overview

Each interface has an interface name, which specifies the media type, the slot in which the Flexible PIC Concentrator (FPC) is located, the location on the FPC where the PIC is installed, and the PIC port. The interface name uniquely identifies an individual network connector in the system. You use the interface name when configuring interfaces and when enabling various functions and properties, such as routing protocols, on individual interfaces. The system uses the interface name when displaying information about the interface, such as in the show interfaces command.

The interface name is represented by a physical part, a channel part, and a logical part in the following format:

The channel part of the name is optional for all interfaces except channelized DS3, E1, OC12, and STM1 interfaces.

The following sections provide interface naming configuration guidelines:

Physical Part of an Interface Name

The physical part of an interface name identifies the physical device, which corresponds to a single physical network connector.

Note:

The internal management interface is dependent on the Routing Engine. To identify if the Routing Engine is using this type of interface, use the following command:

show interfaces terse

This part of the interface name has the following format:

type is the media type, which identifies the network device that can be one of the following:

  • ae—Aggregated Ethernet interface. This is a virtual aggregated link and has a different naming format from most PICs.

  • dsc—Discard interface.

  • et—Ethernet interfaces (10-, 25-, 40-, 50-, 100-, 200-, and 400-Gigabit Ethernet interface).

  • gr—Generic routing encapsulation (GRE) tunnel interface.

  • lo—Loopback interface. The Junos OS Evolved automatically configures one loopback interface (lo0). The logical interface lo0.16383 is a nonconfigurable interface for router control traffic.

  • lsi—Internally generated interface that is not configurable.

  • pip—Provider Instance Port (PIP) interface for EVPNs.

  • vtep—Virtual tunnel endpoint interface for VXLANS.

fpc identifies the number of the FPC card on which the physical interface is located. Specifically, it is the number of the slot in which the card is installed.

pic identifies the number of the PIC on which the physical interface is located. Specifically, it is the number of the PIC location on the FPC. The slots in an FPC with four PIC slots are numbered 0 through 3. The slots in an FPC with three PIC slots are numbered 0 through 2. The PIC location is printed on the FPC carrier board. For PICs that occupy more than one PIC slot, the lower PIC slot number identifies the PIC location.

port identifies a specific port on a PIC. The number of ports varies, depending on the PIC. The port numbers are printed on the PIC.

channel identifies the channel identifier part of the interface name and is required only on channelized interfaces. For channelized interfaces, channel 0 identifies the first channelized interface.

Logical Part of an Interface Name

The logical unit part of the interface name corresponds to the logical unit number. The range of available numbers varies for different interface types.

In the virtual part of the name, a period (.) separates the port and logical unit numbers:

Separators in an Interface Name

There is a separator between each element of an interface name.

In the physical part of the name, a hyphen (-) separates the media type from the FPC number, and a slash (/) separates the FPC, PIC, and port numbers.

In the virtual part of the name, a period (.) separates the channel and logical unit numbers.

A colon (:) separates the physical and virtual parts of the interface name.

Chassis Interface Naming

You configure some PIC properties, such as framing, at the [edit chassis] hierarchy level. Chassis interface naming varies, depending on the routing hardware.

  • To configure PIC properties for a standalone router, you must specify the FPC and PIC numbers, as follows:

Interface Descriptors Overview

When you configure an interface, you are effectively specifying the properties for a physical interface descriptor. In most cases, the physical interface descriptor corresponds to a single physical device and consists of the following parts:

  • The interface name, which defines the media type

  • The slot in which the FPC is located

  • The location on the FPC in which the PIC is installed

  • The PIC port

  • The interface’s channel and logical unit numbers (optional)

Each physical interface descriptor can contain one or more logical interface descriptors. These descriptors enable you to map one or more logical (or virtual) interfaces to a single physical device. Creating multiple logical interfaces enables you to associate multiple virtual circuits, data-link connections, or virtual LANs (VLANs) with a single interface device.

Each logical interface descriptor can have one or more family descriptors to define the protocol family that is associated with and allowed to run over the logical interface.

The following protocol families are supported:

  • Internet Protocol version 4 (IPv4) suite (inet)

  • Internet Protocol version 6 (IPv6) suite (inet6)

  • Ethernet (ethernet switching)

  • Circuit cross-connect (CCC)

  • Translational cross-connect (TCC)

  • International Organization for Standardization (ISO)

  • Multiprotocol Label Switching (MPLS)

Finally, each family descriptor can have one or more address entries, which associate a network address with a logical interface and hence with the physical interface.

You configure the various interface descriptors as follows:

  • You configure the physical interface descriptor by including the interfaces interface-name statement.

  • You configure the logical interface descriptor by including the unit statement within the interfaces interface-name statement or by including the .logical descriptor at the end of the interface name, as in et-0/0/0.1, where the logical unit number is 1, as shown in the following examples:

  • You configure the family descriptor by including the family statement within the unit statement.

  • You configure address entries by including the address statement within the family statement.

Physical Part of an Interface Name

Interface Names for ACX Series, PTX Series, and QFX Series Devices

When you display information about an interface, you specify the interface type, the slot in which the Flexible PIC Concentrator (FPC) is installed, the slot on the FPC in which the Physical Interface Card (PIC) is located, and the configured port number.

Note:

Some Juniper devices do not have actual PICs. Instead, they have built-in network ports on the front panel of the router. These ports are named using the same naming convention used for devices with PICs with the understanding that the FPC, PIC, and port are pseudo devices. When you display information about one of these ports, you specify the interface type, the slot for the Flexible PIC Concentrator (FPC), the slot on the FPC for the Physical Interface Card (PIC), and the configured port number.

In the physical part of the interface name, a hyphen (-) separates the media type (for example, et) from the FPC number. A slash (/) separates the FPC, PIC, and port numbers. A colon (:) separates the port number and channel (optional):

Displaying Interface Configurations

To display a configuration, use either the show command in configuration mode or the show configuration top-level command. Interfaces are listed in numerical order, first from lowest to highest slot number, and then from lowest to highest PIC number, and finally from lowest to highest port number.

Interface Encapsulations Overview

Table 1 lists encapsulation support by interface type.

Table 1: Encapsulation Support by Interface Type

Interface Type

Physical Interface Encapsulation

Logical Interface Encapsulation

ae—Aggregated Ethernet interface

ethernet-ccc—Ethernet cross-connect

extended-vlan-ccc—Nonstandard TPID tagging for a cross-connect

extended-vlan-vpls—Extended VLAN virtual private LAN service

flexible-ethernet-services—Allows per-unit Ethernet encapsulation configuration.

vlan-ccc—802.1Q tagging for a cross-connect

ethernet-vpls—Ethernet virtual private LAN service

vlan-vpls—VLAN virtual private LAN service

 

dix—Ethernet DIXv2 (RFC 894)

vlan-ccc—802.1Q tagging for a cross-connect

 

dsc—Discard interface

NA

NA

Ethernet interfaces (et)

ethernet-ccc—Ethernet cross-connect

ethernet-tcc—Ethernet translational cross-connect

ethernet-vpls—Ethernet virtual private LAN service

extended-vlan-ccc—Nonstandard TPID tagging for a cross-connect

extended-vlan-tcc—802.1Q tagging for a translational cross-connect

extended-vlan-vpls—Extended VLAN virtual private LAN service

flexible-ethernet-services—Allows per-unit Ethernet encapsulation configuration

vlan-ccc—802.1Q tagging for a cross-connect

vlan-vpls—VLAN virtual private LAN service

dix—Ethernet DIXv2 (RFC 894)

vlan-ccc—802.1Q tagging for a cross-connect

vlan-tcc—802.1Q tagging for a translational cross-connect

vlan-vpls—VLAN virtual private LAN service

lo—Loopback interface; the Junos OS Evolved automatically configures one loopback interface (lo0).

NA

NA

Services interface (gr)

NA

NA

Unconfigurable, internally generated interface (lsi)

NA

NA

Understanding Internal Ethernet Interfaces

Within a Juniper device, internal Ethernet interfaces provide communication between the Routing Engine and the Packet Forwarding Engines. Junos OS Evolved automatically configures internal Ethernet interfaces when Junos OS Evolved boots. Junos OS Evolved boots the packet-forwarding component hardware. When these components run, the Control Board (CB) uses the internal Ethernet interface to transmit hardware status information to the Routing Engine. Hardware status information includes the internal router temperature, the condition of the fans, whether an FPC has been removed or inserted, and information from the LCD on the craft interface.

Note:

Do not modify or remove the configuration for the internal Ethernet interface that Junos OS Evolved automatically configures. If you do, the device stops functioning.

  • Most Juniper devices—Junos OS Evolved creates the internal Ethernet interface. The internal Ethernet interface connects the Routing Engine re0 to the Packet Forwarding Engines.

    If the device has redundant Routing Engines, another internal Ethernet interface is created on each Routing Engine (re0 and re1) in order to support fault tolerance. Two physical links between re0 and re1 connect the independent control planes. If one of the links fails, both Routing Engines can use the other link for IP communication.

Each device also has one or two serial ports, labeled CON (console) or AUX (auxiliary), for connecting tty type terminals to the device using standard PC-type tty cables. Although these ports are not network interfaces, they do provide access to the device. Refer to your devices hardware guide for details.