Management Ethernet Interfaces
SUMMARY Learn about the management Ethernet Interface, how to configure the IP address and MAC address on the management Ethernet interfaces.
Management interface in networking is a protocol and format that allows network operators to remotely access, configure, and control network devices. It provides a unified view of the managed device, which helps with consistent management. To connect to the router through the management port, use the management Ethernet interface.
Use Feature Explorer to confirm platform and release support for specific features.
Review the Platform-Specific Management Ethernet Interfaces Behavior section for notes related to your platform
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:
[edit] user@host# set interfaces (fxp0 | em0 | re0:mgmt-0) unit 0 family inet address/prefix-length [edit] user@host# show interfaces { (fxp0 | em0 | re0:mgmt-0) { unit 0 { family inet { address/prefix-length; } } } }
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
.
Alternatively, refer to the Day One + quick start guide for your platform at: Day One + Guides.
Configure 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.
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
.
[edit groups re0 interfaces fxp0] unit 0 { family inet { address 10.17.40.131/25 { master-only; } address 10.17.40.132/25; } } [edit groups re1 interfaces fxp0] unit 0 { family inet { address 10.17.40.131/25 { master-only; } address 10.17.40.133/25; } }
Configure the MAC Address on the Management Ethernet Interface
The router’s management Ethernet interface uses as its MAC address the MAC address that is burned
into the Ethernet card. 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
).
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.
See Also
Platform-Specific Management Ethernet Interfaces Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behavior for your platform:
Platform |
Difference |
---|---|
ACX Series |
|
MX Series |
|
PTX Series |
|