Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show chassis mac-addresses

Syntax

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax (QFX Series)

Description

Display the media access control (MAC) addresses for the router, switch chassis, or switch.

Options

none

(TX Matrix, TX Matrix Plus routers, QFX Series, and OCX Series Switches) Display the MAC addresses for the router chassis or switch. On a TX Matrix router, display MAC addresses on the TX Matrix router and its attached T640 routers. On a TX Matrix Plus router, display MAC addresses on the TX Matrix Plus router and its attached routers.

all-members

(MX Series routers only) (Optional) Display the MAC addresses for all the member routers of the Virtual Chassis configuration.

interconnect-device name

(QFabric switches only) (Optional) Display the MAC addresses for the Interconnect device.

lcc number

(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display MAC addresses for a specified T640 router (or line-card chassis) that is connected to the TX Matrix Plus router. On a TX Matrix Plus router, display MAC addresses for a specified router (line-card chassis) that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

local

(MX Series routers only) (Optional) Display the MAC addresses for the local Virtual Chassis member.

member member-id

(MX Series routers only) (Optional) Display the MAC addresses for the specified member of the Virtual Chassis configuration. Replace member-id with a value of 0 or 1.

node-group name

(QFabric switches only) (Optional) Display the MAC addresses for the specified Node group.

scc

(TX Matrix routers only) (Optional) Display MAC addresses for the TX Matrix router (or switch-card chassis).

sfc number

(TX Matrix Plus routers only) (Optional) Display MAC addresses for the TX Matrix Plus router (or switch-fabric chassis).

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show chassis mac-addresses command. Output fields are listed in the approximate order in which they appear.

Table 1: show chassis mac-addresses Output Fields

Field Name

Field Description

MAC address information

Public base address

Base address of the MAC addresses allocated to this router or switch, for example 00:24:dc:18:09:40. This address is also printed on the box of the device.

Public MAC addresses are those addresses your switch/router assigns to Ethernet interfaces. The public base address is the first MAC address your device assigns to an interface. Consecutive public count MAC addresses are reserved for additional interfaces.

Public count

Number of allocated public addresses, for example 64. Public addresses are calculated starting with the public base address. If the public base address is 00:24:dc:18:09:40, then The MAC address of ge-0/0/0 on this device is 00:24:dc:18:09:40, and ge-0/0/1 is 00:24:dc:18:09:41, and so on, up to 64 available addresses.

Private base address

Base address of the private MAC addresses allocated to this router or switch. The private base address is the first MAC address after the allocated consecutive public count addresses. For example, if 00:24:dc:18:09:40 is the public base and 0x40 is the public count in hex, then 00:24:dc:18:09:80 would be the private base.

Private count

Number of allocated private addresses.

Note:

Starting in Junos OS Release 21.4R3, the SRX380 device increments the MAC address of all the revenue ports (for example, ge-0/0/0) by one upon upgrade. This resolves the MAC address duplication issue between fxp0 and revenue ports, aligning with the SRX340/345 Series MAC address pool design. If external applications or software rely on the old public base address or revenue ports MACs, they need to extract and refresh the MAC address from the ports after the upgrade. If the public base address is used for device identification, subtract one from the previously recorded public base address to access the same device.

Sample Output

show chassis mac-addresses

show chassis mac-addresses (MX2010 Router)

show chassis mac-addresses (PTX10008 Router)

show chassis mac-addresses (TX Matrix Router)

show chassis mac-addresses (TX Matrix Plus Router)

show chassis mac-addresses (QFX Series and OCX Series )

show chassis mac-addresses interconnect-device (QFabric Switches)

show chassis mac-addresses node-group (QFabric Switches)

show chassis mac-addresses (ACX5048 and ACX5096 Routers)

show chassis mac-addresses (ACX500 and ACX Series)

show chassis mac-addresses (EX9251 Switche)

show chassis mac-addresses (EX9253 Switche)

Release Information

Command introduced before JUNOS Release 7.4.

sfc option introduced for the TX Matrix Plus router in JUNOS Release 9.6.