cancel
Showing results for 
Search instead for 
Did you mean: 

Script to show the total number of @MAC in each Vlan ?

Script to show the total number of @MAC in each Vlan ?

Mikou
New Contributor
hi everyone,
I need a command or script to get the total number of MAC@ in a VLAN
thanks for your help
17 REPLIES 17

Alcatel-Lucent 10k os 10k 7.3.4.236.R02

Mikou
New Contributor
Hi Patrick,
this is exactly what I m looking for, but this command is not working in my switch (Alcatel) 😞

Patrick_Voss
Extreme Employee
Hi Mikou,

I believe we are confused about what you are asking for. The command Henrique provided outputs this:

FDB Statistics Tue Mar 8 02:31:05 2016
VLAN MAC Addresses Dynamic Static Dropped
==============================================================================
Red 9 1 0 0
Default 6 0 0 0
==============================================================================

This shows the amount of mac addresses on each VLAN.

If this is not what you are looking for can you please elaborate so we can understand a little better.

Mikou
New Contributor
hi Henrique,
Unfortunately its doesn't work, but like I said before, I can see the numbers for all Vlan or just for one vlan by using show mac-learning domain vlan vlan id summary
what I need is a script/command that allows me to show the number by VLAN in one time (not total number in all vlans)

example :
Vlan 1 = 420
vlan 2 = 50
......
vlan n = 389

Henrique
Extreme Employee
Also, if you want to see the numbers for all vlan you can use show fdb stats vlan all.
GTM-P2G8KFN