Also large self-learning 51cto---Cisco switch terminal PC MAC address tracking

Source: Internet
Author: User
Tags cisco switch

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.