Pen name is also large, the motto of the game
Today it is the command of the Cisco switch which is the practice of the work operation, I feel that sometimes it may be necessary to trace the port of which the MAC address belongs to the switching device, and to determine the object quickly, I share my exercise to the lovers who need it.
The first thing you need to know is the IP address and account password of the core switch device of your organization.
Example: Core switch ip:192.168.11.1, Account: admin virtual Interface remote Password: yi+666 Privileged mode password: administration; computer MAC address 3w-45-65-e3-88-66
Step: Telnet Core switch
1, the Running box "Telnet 192.168.11.1";
2, enter the account: admin password: yi+666;
3, <>enable, #administration
4. Enter the core switch
Show mac address-table dynamic address 3w45.65e3.8866 get port number
Show CDP nei GI0/0/1 detail Show details and get connected to the switch IP address
5. Enter the aggregation layer switch
Run the box "Telnet 192.168.22.1";
Show mac address-table dynamic address 3w45.65e3.8866 get port number
Show CDP nei gi1/0/24 detail Show details and get connected to the switch IP address
6. Enter the access layer switch
Run the box "Telnet 192.168.66.1";
Show mac address-table dynamic address 3w45.65e3.8866 get port number
Show mac address-table Dynamic interface Gi2/0/17 detail get only one piece of information that proves that the MAC address is on this switch, if not repeat steps 4, 5
7, first introduced to switch configuration mode
End
8. Enter into the interface mode to divide the attribution VLAN
Interface GI2/0/17
Switchport Access VLAN 88
9. Exit Save
Exit
Write
10. Disconnect remote connections
Exit
This article from "7732617" blog, declined reprint!
Also large self-learning 51cto---Cisco switch terminal PC MAC address tracking