ON THIS PAGE
Interface Types and Configuration
Learn how to configure interfaces on your Juniper MX204, MX301, MX304, MX10004, or MX10008 router.
Configuring interfaces on a Juniper MX204, MX301, MX304, MX10004, or MX10008 router
involves entering configuration mode (clithen configure),
setting the interface type (ge,xe, et), assigning a logical unit, and setting the
encapsulation or family (inet for L3, bridge for L2)
before using committo apply changes. Key commands include set
interfaces [name] unit 0 family inet address [ip].
Interface Types
(ge/xe/et)-(fpc-slot)/(pic-slot)/(port-slot):(channel-num)
Interface Types
On MX Series routers, physical interfaces follow this naming format:
Field Definitions
<type>Identifies the interface speed:
ge— 1-Gigabit Ethernetxe— 10-Gigabit Ethernetet— 25-Gigabit Ethernet and higher
<fpc>(Flexible PIC Concentrator slot)Specifies the line card slot number.
- On fixed-form-factor platforms (for example, MX301 or MX304), this value is
always
0.
- On fixed-form-factor platforms (for example, MX301 or MX304), this value is
always
<pic>(Physical Interface Card)Identifies the Trio ASIC (Packet Forwarding Engine) instance on the line card.
- Example: On an LC9600 line card, six Trio 6 ASICs are present, so PIC values
range from
0to5. - On an MX301 router, only one Trio ASIC is present, so the PIC value is always
0.
- Example: On an LC9600 line card, six Trio 6 ASICs are present, so PIC values
range from
<port>Indicates the physical port that contains the pluggable transceiver (such as SFP or QSFP).
[:channel](optional)Required only when channelization is configured.
- The channel number depends on the port and optic capabilities.
- Valid values typically range from
0through7.
Logical Interfaces
A logical interface is derived by appending a unit number to the physical interface name:
<physical-interface>.<unit>
Verifying Interface Mapping
To view hardware-to-interface mappings:
- Use an operational command to display PIC assignments for each slot.
- Use another command to list ports for a specific FPC and PIC, including supported speeds for multi-rate ports.
These commands help verify how ports, PICs, and line cards map to interface names.
regress@r2mx10008wf> show chassis fpc pic-status Slot 0 Online JNP10K-LC480 PIC 0 Online 24xSFPP 1/10GE PIC PIC 1 Online 24xSFPP 1/10GE PIC Slot 1 Online JNP10K-LC4800 PIC 0 Online MRATE-2xQDD-12xSFPDD PIC 1 Online MRATE-2xQDD-12xSFPDD PIC 2 Online MRATE-16xSFPDD Slot 2 Online JNP10K-LC480 PIC 0 Online 24xSFPP 1/10GE PIC PIC 1 Online 24xSFPP 1/10GE PIC Slot 3 Online JNP10K-LC4802 PIC 0 Online MRATE-2xQDD-8xQSFP PIC 1 Online MRATE-2xQDD-8xQSFP PIC 2 Online MRATE-16xQSFP Slot 4 Online JNP10K-LC9600 PIC 0 Online MRATE-4xQDD PIC 1 Online MRATE-4xQDD PIC 2 Online MRATE-4xQDD PIC 3 Online MRATE-4xQDD PIC 4 Online MRATE-4xQDD PIC 5 Online MRATE-4xQDD show chassis pic fpc-slot <fpc-slot> pic-slot <pic-slot> FPC slot 0, PIC slot 0 information: Type MRATE LMIC 16x100G/4x400G State Online PIC version 0.0 Uptime 17 days, 17 hours, 6 minutes, 45 seconds […] Port speed information: Port PFE Capable Port Speeds 0 1 1x1GE, 1x10GE, 1x25GE, 8x50GE, 100GE, 2x100GE, 3x100GE, 4x100GE, 400GE 1 1 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 2 1 1x1GE, 1x10GE, 1x25GE, 100GE 3 1 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 4 1 1x1GE, 1x10GE, 1x25GE, 100GE 5 1 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 6 1 1x1GE, 1x10GE, 1x25GE, 8x50GE, 100GE, 2x100GE, 3x100GE, 4x100GE, 400GE 7 1 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 8 0 1x1GE, 1x10GE, 1x25GE, 8x50GE, 100GE, 2x100GE, 3x100GE, 4x100GE, 400GE 9 0 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 10 0 1x1GE, 1x10GE, 1x25GE, 100GE 11 0 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 12 0 1x1GE, 1x10GE, 1x25GE, 100GE 13 0 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE 14 0 1x1GE, 1x10GE, 1x25GE, 8x50GE, 100GE, 2x100GE, 3x100GE, 4x100GE, 400GE 15 0 1x1GE, 1x10GE, 1x25GE, 4x1GE, 4x10GE, 4x25GE, 40GE, 100GE
For aggregated Ethernet (AE) interfaces (also called link aggregation groups [LAGs] or
Ethernet bundles), configure the number of AE interfaces supported on the chassis before
using them. Configure this value under the [edit chassis] hierarchy.
You typically set this value once, but you can modify it later without disrupting
traffic.
set chassis aggregated-devices ethernet device-count (1..1000)
Aggregated Ethernet (AE) interfaces use the following naming format:
ae<lag-id>
<lag-id> specifies the interface identifier. Valid values range from
0 through 4091.
The lag-id is independent of the device-count
configured under [edit chassis], which defines the maximum number of AE
interfaces supported on the chassis. For example, if the device count is
2, you can configure two AE interfaces with any valid IDs, such as
ae0 and ae1325.
Configuration
The following are specific interface types and options:
Ethernet interface (ge, xe or et): You may need to set the framing to LAN or WAN:
set interfaces xe-fpc/pic/port framing [lan | wan]
Aggregated Ethernet (AE): For link aggregation (LACP):
set interfaces ge-0/0/0 ether-options 802.3ad ae0
Disable/Enable Port:
set interfaces ge-0/0/0 disable delete interfaces ge-0/0/0 disable
Enter configuration mode.
user@host> configure
Set Interface Description (optional but recommended).
set interfaces ge-0/0/0 description "Link-to-Core"
Configure Layer 3 (IP) Interface.
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
Configure Layer 2 (Access) Interface.
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
Commit the Configuration.
user@host# commit
Verify the configuration.
show interfaces terse show configuration interfaces [interface-name] show vlans