09-13-2013 01:24 PM
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
09-18-2013 10:24 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide