How can I find MAC address of switch?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hello!

Some strange question/task )))

There is big nework.
We have serial number of switch X670.
How can we find MAC address of this switch?

Thank you!
Photo of Alexandr P

Alexandr P, Embassador

  • 12,766 Points 10k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Darin Seiler

Darin Seiler

  • 402 Points 250 badge 2x thumb

To view the system MAC on EXOS you would typically use the command show system and it will list the system MAC and system type at the top. If you are looking for a specific mac on a port or vlan you could use show fdb

Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi,
try the command: show switch
Photo of Alexandr P

Alexandr P, Embassador

  • 12,766 Points 10k badge 2x thumb
Issue not so trivial.

For example there is ISP with a lot of Customers.
ISP have no access credentials for Customers switches, but know that there is present switch with some S/N.
How ISP can find MAC address of this switch?

Thank you!
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi,

When you say they know the S/N, How do they know that there is some S/N? Spreadsheet?

Are all those switches (ISP and Customer side) from Extreme Networks?
Photo of Alexandr P

Alexandr P, Embassador

  • 12,766 Points 10k badge 2x thumb
"When you say they know the S/N, How do they know that there is some S/N? Spreadsheet?" - they know because this switch is belongs to ISP.
ISP and Customers has a lot of switches from different vendors (and Extreme too) in their networks.

Is it possible to do with Asset Discovery Tool (ADT)?
Or if ISP install NetSight in he's area?

Thank you!
Photo of Drew C.

Drew C., Community Manager

  • 40,690 Points 20k badge 2x thumb
ADT doesn't provide the MAC address, but I do see that Inventory Manager lists this information.
Photo of Alexandr P

Alexandr P, Embassador

  • 12,766 Points 10k badge 2x thumb
Or, may be, we can do this through SNMP?

Thank you!
Photo of Ron Huygens

Ron Huygens, Employee

  • 3,360 Points 3k badge 2x thumb
You can get the MAC with the following OID
Name:    ifPhysAddress
Type:    OBJECT-TYPE
OID:    1.3.6.1.2.1.2.2.1.6
Full path:    iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).interfaces(2).ifTable(2).ifEntry(1).ifPhysAddress(6)
(Edited)
Photo of Stephen Williams

Stephen Williams, Employee

  • 9,076 Points 5k badge 2x thumb
A NMS is your easiest route.  But if you don't have one of those just laying around you could use the Asset Discovery Tool to find the SN# and IP.  Then you can just login of use SNMP.  A SNMP get for ".1.3.6.1.2.1.2.2.1.6.1001"  should do it.
Photo of Alexandr P

Alexandr P, Embassador

  • 12,766 Points 10k badge 2x thumb
Also, may be, we can filter all MAC addresess in all networks by first 3 octets of MAC addresses?
Like 
D88466            Extreme Networks

00E02B            EXTREME NETWORKS

000496             Extreme Networks

000130             Extreme Networks

To find in what exactly IP-networks is present Extreme switches.

Do you have all variants of theese 3 octets of MAC?

Thank you!
Photo of Drew C.

Drew C., Community Manager

  • 40,690 Points 20k badge 2x thumb
EXOS stacks use 020496, so you may see that show up.