Switch commands
- Indicates which port the device is connected to. (sees it on the console when you unplug and plug in the cable)
terminal monitor - Shows the mac addresses that are registered on the device.
show mac address-table
- To find out which switch or e port a particularmac address comes from, de:
sh mac-address-table address 0015.5d01.b317
- This example shows
how to show mac address-table static
- It gives detailed information about the interfaces on the device.
Show interfaces (sh int)
- Lists all interfaces with brief information.
Show IP interface brief (sh ip int br)
- Shows neighboring devices. The sh cdp nei details command also gives detailed information about neighboring devices.
Show CDP neighbors (sh cdp nei)
Find out which port the device is connected to from the Cisco Switch on mac
MAC ADDRESS FORMAT EXAMPLE : 0013.4c70.5899
sh mac address-table address 0023.5e69.9344
This way the result will return.
Mac Address Table
——————————————-
Vlan Mac Address Type Ports
—- ———– ——– —–
1 0013.4c70.5899 DYNAMIC Gi1/0/47
HP Switch commands, cisco switch commands, switch commands