snmp query client-mac-address on interface from cisco switch

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
GamBit
Posts: 21
Joined: Thu Feb 20, 2003 9:46 am

snmp query client-mac-address on interface from cisco switch

Post by GamBit »

Hi!

Can someone tell me how to snmp-query the client-mac-address belongs to a interface on a cisco switch?

thanx for advice

GamBit
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The IF MIB will show a MAC address for each interface. But the index used is the ifIndex, not the MAC address itself. So you will have to scan through all of them
Reinhard
GamBit
Posts: 21
Joined: Thu Feb 20, 2003 9:46 am

Post by GamBit »

Thank you for your reply!

To get this mac-address ist not the problem.
This mac-address ist the interface-mac address of the switch-port.

I need the mac-address of the connected client on a interface.

Can someone tell me how to get this client-mac-address?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moving to General
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests