View specific connected physical ports by IP address (CISCO)

Source: Internet
Author: User

1, if know 192.168.1.100 host address, how to view the port of the host connection switch

For use on core switches: show ARP | In 192.168.1.100

Internet 192.168.1.100-8480.2D0D.1CCC ARPA Vlan1

Know the MAC address of the 192.168.1.100 host through the above

2. Use: Test#show mac address-table Address 8480.2D0D.1CCC
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----
8480.2D0D.1CCC DYNAMIC GI1/0/48

The above can be known that the host address is from the G1/0/48 interface learning from;

3. Use: Show CDP neighbors/detail to view the connection of local G1/0/48 interface;

Test#show CDP Neighbors (IP address of peer-to-peer device can be seen through detail)
Capability codes:r-Router, T-trans Bridge, B-source Route Bridge
S-switch, H-host, I-igmp, R-repeater, P-phone,
D-remote, C-cvta, M-two-port Mac Relay

Device ID Local intrfce holdtme Capability Platform Port ID
LAB Gig 0/47 148 S I ws-c3750g Gig 2/0/2

4, check the connection to the specific device, log in to use this device:

Lab#show mac address-table Address 8480.2D0D.1CCC

Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----
8480.2D0D.1CCC DYNAMIC GI1/0/9

Thus learned that the 192.168.1.100 host is connected to the G1/0/9 port of the Switch lab;

View specific connected physical ports by IP address (CISCO)

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.