Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show chassis mac-addresses

date_range 29-Nov-24

Syntax

content_copy zoom_out_map
show chassis mac-addresses

Syntax (TX Matrix Router)

content_copy zoom_out_map
show chassis mac-addresses
<lcc number | scc>

Syntax (TX Matrix Plus Router)

content_copy zoom_out_map
show chassis mac-addresses
<lcc number | sfc number>

Syntax (MX Series Router)

content_copy zoom_out_map
show chassis mac-addresses
<all-members>
<local>
<member member-id>

Syntax (QFX Series)

content_copy zoom_out_map
show chassis mac-addresses
<interconnect-device name>
<node-group name>

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

content_copy zoom_out_map
user@host> show chassis mac-addresses             
MAC address information 
  Public base address   0:90:69:0:4:0
  Public count       1008
  Private base address   0:90:69:0:7:f0
  Private count       16

show chassis mac-addresses (MX2010 Router)

content_copy zoom_out_map
user@host> show chassis mac-addresses
MAC address information:
  Public base address     64:87:88:04:50:00
  Public count            1984
  Private base address    64:87:88:04:57:c0
  Private count           64

show chassis mac-addresses (PTX10008 Router)

content_copy zoom_out_map
user@host> show chassis mac-addresses
MAC address information:
  Public base address      30:b6:4f:0a:7a:bb
  Public count             1856
  Private base address     30:b6:4f:0a:81:fb
  Private count            192

show chassis mac-addresses (TX Matrix Router)

content_copy zoom_out_map
user@host> show chassis mac-addresses             
scc-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:05:85:9e:cc:00
  Public count            8064
  Private base address    00:05:85:9e:eb:80
  Private count           128
lcc0-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:05:85:68:98:00
  Public count            2032
  Private base address    00:05:85:68:9f:f0
  Private count           16
lcc2-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:05:85:68:78:00
  Public count            2032
  Private base address    00:05:85:68:7f:f0
  Private count           16

show chassis mac-addresses (TX Matrix Plus Router)

content_copy zoom_out_map
user@host> show chassis mac-addresses             
sfc0-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:1d:b5:14:00:00
  Public count            65023
  Private base address    00:1d:b5:14:fd:ff
  Private count           512

lcc0-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:1f:12:7a:84:00
  Public count            2032
  Private base address    00:1f:12:7a:8b:f0
  Private count           16

lcc1-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:22:83:42:48:00
  Public count            2032
  Private base address    00:22:83:42:4f:f0
  Private count           16

lcc2-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:1f:12:c3:58:00
  Public count            2032
  Private base address    00:1f:12:c3:5f:f0
  Private count           16

lcc3-re0:
--------------------------------------------------------------------------
MAC address information:
  Public base address     00:21:59:ef:b8:00
  Public count            2032
  Private base address    00:21:59:ef:bf:f0
  Private count           16

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

content_copy zoom_out_map
user@switch> show chassis mac-addresses
MAC address information:
Public base address 02:00:08:00:00:00
Public count 512
Private base address 02:00:00:00:00:00
Private count 64

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

content_copy zoom_out_map
user@switch> show chassis mac-addresses interconnect-device
interconnect1
MAC address information:
  Public base address     00:1f:12:30:9c:c0
  Public count            58
  Private base address    00:1f:12:30:9c:fa
  Private count           6

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

content_copy zoom_out_map
user@switch> show chassis mac-addresses node-group
NW-NG-0
MAC address information:
------------------------
RE:
  FC MAC base    00:11:00:00:00:00
  FC MAC count   2
  VLAN MAC       00:11:00:00:00:09
EC6007
  Base address   00:00:01:76:00:00
  Count          64
EC6008
  Base address   00:22:83:22:52:ae
  Count          260

show chassis mac-addresses (ACX5048 and ACX5096 Routers)

content_copy zoom_out_map
user@host> show chassis mac-addresses
FPC 0
    Base address   64:64:9b:5e:0a:00
    Count          1280

show chassis mac-addresses (ACX500 and ACX Series)

content_copy zoom_out_map
user@host> show chassis mac-addresses
MAC address information:
  Public base address     f0:1c:2d:1b:60:80
  Public count            112
  Private base address    f0:1c:2d:1b:60:f0
  Private count           16

show chassis mac-addresses (EX9251 Switche)

content_copy zoom_out_map
user@switch> show chassis mac-addresses
 MAC address information:
  Public base address      4c:16:fc:90:68:00
  Public count             2032
  Private base address     4c:16:fc:90:6f:f0
  Private count            16

show chassis mac-addresses (EX9253 Switche)

content_copy zoom_out_map
user@switch> show chassis mac-addresses
 MAC address information:
  Public base address      38:4f:49:8f:00:b8
  Public count             2330
  Private base address     38:4f:49:8f:09:d2
  Private count            1766

Release Information

Command introduced before JUNOS Release 7.4.

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

footer-navigation