Cisco switch setup tips: MAC address, Technology Square: settings and skills of two CISCO switches, mainly: Cisco switch setup skills to find the MAC address corresponding to the IP address, cisco switch setup tips: Find the port corresponding to the MAC address on the switch.
In the middle of a Cisco switching network, how do I find out which port of the switch is connected to the IP address of a machine? The most convenient and quick way is to use the User tracking function of the CiscoWorks 2000 LMS network management software. The graphical interface is clear at a glance. If you do not have this software, you can use the following manual analysis method to find the answer. Example network: the core switch is 6509 switch engine SE using CatOS, MSFC running IOS software)
Cisco switch setup tips: Find the MAC address corresponding to this IP address:
You can view the ARP cache table of the system to find the MAC address corresponding to an IP address. Because ARP cannot be performed across VLANs, MSFC, the routing module connecting to each VLAN, is the best choice-generally, it has a port interface VLAN n in each VLAN ), correctly explains ARP settings for Cisco switches.
6509 MSFC # ping 10.10.1.65
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.1.65, timeout is 2 seconds:
Success rate is 100 percent 5/5), round-trip min/avg/max = 1/1/4 MS
6509 MSFC # show arp | in 10.10.1.65
Internet 10.10.1.65 2 0006.2973.121d ARPA Vlan2
Through the above Cisco switch setup command, we know that the MAC address of 10.10.1.65 is 0006.2973.121d, which is the MAC address expression of IOS devices. In CatOS, it should be written as 00-06-29-73-12-1d.
Cisco switch setup tips: Find the port corresponding to the MAC address on the switch:
Ipv9se> enable) show cam 00-06-29-73-12-1d
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry
X = Port Security Entry $ = Dot1x Security Entry
VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs/[Protocol Type]