Find the corresponding port of the vswitch Based on the mac or IP address

Source: Internet
Author: User
Tags traceroute mac

There are two methods in cisco:

1. traceroute mac ip 211.151.181.70 211.151.181.78 the first ip address is the source ip address and the second ip address is the destination ip address. The result is as follows:

Ource d4be. d9ae. e669 found on Switch

1 Switch (211.151.181.70): Fa0/2 => Fa0/4

Destination d4be. d9ae. 67ac found on Switch

Layer2 trace completed.


2. show arp: Check the corresponding ip address and mac address. show mac-address: Check the port corresponding to the mac address. Then, compare it with the mac address found above to go to the corresponding port ).


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.