Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Management Ethernet Interfaces

To connect to the router via the management port, use the management Ethernet interface. This topic provides you an overview of the management Ethernet Interface and describes how to configure the IP address and MAC address for the interface.

Management Ethernet Interface Overview

The router’s management Ethernet interface, fxp0 or em0, is an out-of-band management interface that needs to be configured only if you want to connect to the router through the management port on the front of the router. You can configure an IP address and prefix length for this interface, which you commonly do when you first install the Junos OS:

To determine which management interface type is supported on a router, locate the router and Routing Engine combination in Supported Routing Engines by Router and note its management Ethernet interface type, either em0 or fxp0.

Table 1 summarizes the management interfaces typically used on Junos and Junos Evolved platforms. It's always a good idea to refer to the specific documentation for your platform to confirm details about its management interface.

Refer to the Product Documentation page for details on your platform.

Alternatively, refer to the Day One + quick start guide for your platform at: Day One + Guides.

Table 1: Typical Management Interfaces on Junos and Junos Evolved Platforms

Platform

Interface Name Description

MX Series routers

fxp0

The fxp0 interface is typically an RJ-45 port on the Routing Engine.

EX Series switches

me0, vme

The me0 interface is typically an RJ-45 port on the Routing Engine.

The vme interface is used when the device is part of a Virtual Chassis (VC), and is accessed via the me0 port. For consistency you can configure and use the vme interface on a stand alone switch.

QFX Series switches

em0, vme

The em0 interface is typically an RJ-45 port on the Routing Engine.

The vme interface is used when the device is part of a Virtual Chassis (VC), and is accessed via the em0 port. For consistency you can configure and use the vme interface on a stand alone switch.

SRX Security Gateways

fxp0, ge-0/0/0

The fxp0 interface is typically an RJ-45 port on the Routing Engine.

On some SRX platforms the ge-0/0/0 interface is used as the management interface.

Platforms running Junos Evolved, for example, PTX10001-36MR, PTX10003, PTX10004, PTX10008, QFX5130, QFX5220, etc.

re0:mgmt-* and re1:mgmt-* Junos Evolved platforms typically support two management interfaces per Routing Engine. The two Routing Engines are identified as re0 and re1. The RJ-45 copper port on each Routing Engine is indexed as 0, while the SFP fiber port is indexed as 1.

For example, the RJ-45 management Ethernet port on Routing Engine 0 is typically named re0:mgmt-0.

Configuring a Consistent Management IP Address

On routers with multiple Routing Engines, each Routing Engine is configured with a separate IP address for the management Ethernet interface. To access the primary Routing Engine, you must know which Routing Engine is active and use the appropriate IP address.

Optionally, for consistent access to the primary Routing Engine, you can configure an additional IP address and use this address for the management interface regardless of which Routing Engine is active. This additional IP address is active only on the management Ethernet interface for the primary Routing Engine. During switchover, the address moves to the new primary Routing Engine.

Note:

For M Series, MX Series, and most T Series routers, the management Ethernet interface is fxp0. For TX Matrix Plus routers and T1600 or T4000 routers configured in a routing matrix, the management Ethernet interface is em0.

Note:

Automated scripts that you have developed for standalone T1600 routers (T1600 routers that are not in a routing matrix) might contain references to the fxp0 management Ethernet interface. Before reusing the scripts on T1600 routers in a routing matrix, edit the command lines that reference the fxp0 management Ethernet interface so that the commands reference the em0 management Ethernet interface instead.

To configure an additional IP address for the management Ethernet interface, include the master-only statement at the [edit groups] hierarchy level.

In the following example, IP address 10.17.40.131 is configured for both Routing Engines and includes a master-only statement. With this configuration, the 10.17.40.131 address is active only on the primary Routing Engine. The address remains consistent regardless of which Routing Engine is active. IP address 10.17.40.132 is assigned to fxp0 on re0, and address 10.17.40.133 is assigned to fxp0 on re1.

This feature is available on all routers that include dual Routing Engines. On the TX Matrix router, this feature is applicable to the switch-card chassis (SCC) only.

Configuring the MAC Address on the Management Ethernet Interface

By default, the router’s management Ethernet interface uses as its MAC address the MAC address that is burned into the Ethernet card.

Note:

For M Series, MX Series, and most T Series routers, the management Ethernet interface is fxp0. For TX Matrix Plus routers and T1600 routers configured in a routing matrix, and TX Matrix Plus routers with 3D SIBs, T1600 routers, and T4000 routers configured in a routing matrix, the management Ethernet interface is em0.

Note:

Automated scripts that you have developed for standalone T1600 routers (T1600 routers that are not in a routing matrix) might contain references to the fxp0 management Ethernet interface. Before reusing the scripts on T1600 routers in a routing matrix, edit the command lines that reference the fxp0 management Ethernet interface so that the commands reference the em0 management Ethernet interface instead.

To display the MAC address used by the router’s management Ethernet interface, enter the show interface fxp0 or show interface em0 operational mode command.

To change the management Ethernet interface’s MAC address, include the mac statement at the [edit interfaces fxp0] or [edit interfaces em0] hierarchy level:

Specify the MAC address as six hexadecimal bytes in one of the following formats: nnnn.nnnn.nnnn (for example, 0011.2233.4455) or nn:nn:nn:nn:nn:nn (for example, 00:11:22:33:44:55).

Note:

If you integrate a standalone T640 router into a routing matrix, the PIC MAC addresses for the integrated T640 router are derived from a pool of MAC addresses maintained by the TX Matrix router. For each MAC address you specify in the configuration of a formerly standalone T640 router, you must specify the same MAC address in the configuration of the TX Matrix router.

Similarly, if you integrate a standalone T1600 router into a routing matrix, the PIC MAC addresses for the integrated T1600 router are derived from a pool of MAC addresses maintained by the TX Matrix Plus router. For each MAC address you specify in the configuration of a formerly standalone T1600 router, you must specify the same MAC address in the configuration of the TX Matrix Plus router.