Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show mac-vrf forwarding global-mac-count



Display the number of globally-learned Layer 2 MAC addresses.


We've implemented the show mac-vrf commands on all supported platforms. If a particular platform doesn't support a specific sub-command or option, when you run the command, the output is empty. For example, show mac-vrf forwarding age is available only on MX Series platforms. If you run that command on any other supported platform, the output is empty.


No options exist for this command.

Additional Information

On MX Series routers, this command is an alias for show l2-learning global-mac-count.

On QFX Series switches, this command is an alias for show ethernet-switching global-mac-count.

Required Privilege Level


Sample Output

show mac-vrf forwarding global-mac-count

Release Information

Command introduced in Junos OS Release 20.4R1.