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:
physical<:channel>.logical
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
- Logical Part of an Interface Name
- Separators in an Interface Name
- Chassis Interface Naming
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.
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
user@host> show interfaces terse Interface Admin Link Proto Local Remote pfh-1/0/0 up up pfh-1/0/0.16383 up up inet et-1/0/1 up up et-1/0/1.16386 up up multiservice et-1/0/3 up up et-1/0/3.16386 up up multiservice et-1/0/5 up up et-1/0/5.16386 up up multiservice et-1/0/7 up up et-1/0/7.16386 up up multiservice et-1/0/9 up up et-1/0/9.16386 up up multiservice et-1/0/11 up up et-1/0/11.16386 up up multiservice et-1/0/13 up up et-1/0/13.16386 up up multiservice et-1/0/15 up up et-1/0/15.16386 up up multiservice re0:mgmt-0 up up <---------------- re0:mgmt-0.0 up up inet 10.53.95.205/19 re1:mgmt-0 up up <---------------- re1:mgmt-0.0 up up inet 10.53.95.194/19 dsc up up esi up up fti0 up up fti1 up up fti2 up up fti3 up up fti4 up up fti5 up up fti6 up up fti7 up up irb up up lo0 up up lo0.0 up up inet 128.53.95.205 --> 0/0 iso 47.0005.80ff.f800.0000.0108.0001 inet6 abcd::128:53:95:205 --> fe80::5604:15f0:0:c200--> lsi up up pip0 up up vtep up up
This part of the interface name has the following format:
type-fpc/pic/port[:channel]
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 interfacelo0.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:
type-fpc/pic/port[:channel]
.logical-unit
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:
[edit chassis] fpc slot-number { pic pic-number { ... } }
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 theinterfaces interface-name
statement or by including the.logical
descriptor at the end of the interface name, as inet-0/0/0.1
, where the logical unit number is 1, as shown in the following examples:[edit] user@host# set interfaces et-0/0/0 unit 1 [edit] user@host# edit interfaces et-0/0/0.1 [edit interfaces et-0/0/0] user@host# set unit 1
-
You configure the family descriptor by including the
family
statement within theunit
statement. -
You configure address entries by including the
address
statement within thefamily
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.
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):
type-fpc/pic/port[:channel]
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.
Interface Type |
Physical Interface Encapsulation |
Logical Interface Encapsulation |
---|---|---|
|
|
|
|
NA |
NA |
Ethernet interfaces ( |
|
|
|
NA |
NA |
Services interface ( |
NA |
NA |
Unconfigurable, internally generated interface
( |
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.
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
andre1
) in order to support fault tolerance. Two physical links betweenre0
andre1
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.