Show MAC-ADDRESS-TABLE comands

Post Reply
alexadao
Member
Posts: 2
Joined: 27 Jul 2016 00:36

Show MAC-ADDRESS-TABLE comands

Post by alexadao »

I am a novice on this network device. I would like to search for the entire MAC-ADDRESS on a switch only with the four last characters of the MAC-ADDRESS-TABLE example: 00:6f - On Cisco, I do " show mac address-table | in 006f" in layer 2 switch.

Also, if I have the an ip address, how can I find the MAC ADDRESS on a switch?

Thank you for any help.
--Alex
User avatar
hombrezuelo
Member
Posts: 27
Joined: 12 Feb 2016 19:52
Location: /mnt/home/nirvana

Re: Show MAC-ADDRESS-TABLE comands

Post by hombrezuelo »

Hi Alex,

About your question
"Also, if I have the an ip address, how can I find the MAC ADDRESS on a switch?" you can use the following commands to get the mac address

Linux box:
on a console type:

nmblookup -A ip address you looking for

This is a output of that command:
nmblookup -A 172.16.40.20

Looking up status of 172.16.40.20
PCJOHN123 <00> - B <ACTIVE>
WORKGROUP <00> - <GROUP> B <ACTIVE>
PCJOHN123 <20> - B <ACTIVE>

MAC Address = 55-55-55-55-55-55 ------------> this is the mac addreess


Windows box:

nbtstat -A 172.16.40.20

C:\Windows\system32>nbtstat -A 172.16.40.20


Node IpAddress: [172.16.40.20] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
PCJOHN123 <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
WORKGROUP <1C> GROUP Registered
PCJOHN123 <20> UNIQUE Registered
WORKGROUP <1B> UNIQUE Registered

MAC Address = 55-55-55-55-55-55 ------------> this is the mac addreess

On alcatel switch you should to type the following command:

show mac-address-table 55:55:55:55:55:55

Legend: Mac Address: * = address not valid

Domain Vlan/SrvcId Mac Address Type Protocol Operation Interface
--------+--------------+---------------------+----------------+------------+--------------+------------------------
VLAN 1000 55:55:55:55:55:55 learned 806 bridging 1/15

Total number of Valid MAC addresses above = 1


Even if you do not have the mac address you are able to use the command: show mac-address-table + port

show mac-address-table 1/15

Kind regards.
alexadao
Member
Posts: 2
Joined: 27 Jul 2016 00:36

Re: Show MAC-ADDRESS-TABLE comands

Post by alexadao »

Thank you for your responses. I am an Alcatel-Lucent OmniSwitch 6450 or 6900. How can I emulate the CISCO command as stated on my previous question.
Thanks
--Alex Adao
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1886
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Show MAC-ADDRESS-TABLE comands

Post by silvio »

with AOS R7 and R8 switches (6860, 6900) this is easy (because linux):
show mac-learning | grep 00:aa

but with AOS R6 you find here a hint
viewtopic.php?f=394&t=22098&p=78651&hil ... ern#p78651
regards
Silvio
Post Reply

Return to “OmniSwitch 6450”