Header Only - DO NOT REMOVE - Extreme Networks

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


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

17 replies

Userlevel 6
show fdb vlan

Please let me know if this is what you are looking for.
I try this command : show mac-learning domain vlan vlan id summary and it's working but actually is showing the total number of Mac@ in one Vlan or a range of vlan . But me, I m looking for the number of mac@ by Vlan
example :
Vlan 1 = 420
vlan 2 = 50
......
vlan n = 389

thanks for your help
Userlevel 6
Hi Mikou,

You can use the following command:

show fdb stats vlan {no-refresh}
Userlevel 6
Also, if you want to see the numbers for all vlan you can use show fdb stats vlan all.
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
Userlevel 6
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.
Hi Patrick,
this is exactly what I m looking for, but this command is not working in my switch (Alcatel) 😞
Userlevel 6
What model switch is this and what version?
Patrick Voss wrote:

What model switch is this and what version?

Alcatel-Lucent 10k os 10k 7.3.4.236.R02
Userlevel 6
What about show mac-address-table count ?

Example:
show mac-address-table count 100[/code]
Henrique wrote:

What about show mac-address-table count ?

Example:
show mac-address-table count 100[/code]

not working !
the only choice which I have 😞
->show mac ?
mac-learning mac-range mac-retention
Alcatel-Lucent 10k os 10k 7.3.4.236.R02
Userlevel 6
Hi Mikou,

That switch is not an Extreme Networks device. I found a CLI reference guide for the Omniswitch models that may be able to help you out.

http://enterprise.alcatel-lucent.com/assets/documents/OmniSwitch_7_CLI_Reference_Guide_Rev-L_EN.pdf

Other than that I am not sure if this thread will be much help for you.
Patrick Voss wrote:

Hi Mikou,

That switch is not an Extreme Networks device. I found a CLI reference guide for the Omniswitch models that may be able to help you out.

http://enterprise.alcatel-lucent.com/assets/documents/OmniSwitch_7_CLI_Reference_Guide_Rev-L_EN.pdf

Other than that I am not sure if this thread will be much help for you.

oki doki , thank you 🙂
Userlevel 6
I would check if a higher version add some options to show mac output. If so, an upgrade might help.
Henrique wrote:

I would check if a higher version add some options to show mac output. If so, an upgrade might help.

oki thank you 🙂
Userlevel 7
As this thread isn't related to an Extreme Networks device, I'm going to close it for further comment. 🙂

Reply