cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
686
Views
0
Helpful
1
Replies

OID for MAC address to Port lookup in Sx500 switches?

danielj80
Level 1
Level 1

Dear Community,

We have several stacked SG500 switches running in Layer 3 mode. I've been trying to figure out which OID will let me know the learned MAC address to switch port mapping. The purpose of the questions is to try to use Netdisco (and help the community by getting these switch to work with Netdisco).  I've tried lots of different OIDs, but have so far not been successful in finding the right one.

Thanks!

Jordan

1 Reply 1

jeffrrod
Level 4
Level 4

Dear Jordan,

Thank you for reaching the Small Business Support Community.

I think there is a CLI command that will show you the desired information. Use the show mac address-table EXEC command to view entries in the MAC address table.

Syntax:

show mac address-table [dynamic | static| secure] [vlan vlan] [interface interface-id] [address mac-address]

Parameters:

• dynamic—Displays only dynamic MAC address table entries.

• static—Displays only static MAC address table entries.

• secure—Displays only secure MAC address table entries.

• vlan—Displays entries for a specific VLAN.

• interface-id—SDisplays entries for a specific interface ID. The interface ID

can be one of the following types: Ethernet port or port-channel.

• mac-address—Displays entries for a specific MAC address.

Default Configuration:

If no parameters are entered, the entire table is displayed.

Command Mode:

EXEC mode

For more detailed information about this command and others, I suggest you to look at page 464 on the "CLI guide for SG500 switches";

http://www.cisco.com/en/US/docs/switches/lan/csbms/Sx500/cli_guide/CLI_500.pdf

Please do not hesitate to reach me back if there is any further assistance I may help you with.

Kind regards,

Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer

*Please rate the Post so other will know when an answer has been found.

Jeffrey Rodriguez S. .:|:.:|:. Cisco Customer Support Engineer *Please rate the Post so other will know when an answer has been found.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X