Current location - Quotes Website - Collection of slogans - How does a Cisco switch view the port corresponding to an IP address?
How does a Cisco switch view the port corresponding to an IP address?
IP check switch port

Enter the main exchange

1, enter privileged mode for input.

Showarp | Inc192.168.55.225 (or Sharp192.168.55.225)

You can see the mac address 0023.540d.47ed corresponding to 192. 168.55.225.

2. Display MAC Add | INCXXXX. XXXX. XXXX (0023.540D.47ED).

You can see from which interface the arp information of 192. 168.55.225 of the core switch was learned (for example, GigabitEthernet4/24).

3. Display the details of cdp nei Gigabit Ethernet 4/24.

If the switch is192.168.438+000.244, you can view the network management information of the access switch.

4. Enter the permission of192.168.438+000.244.

Show MAC add | INCXXXX. XXXX。 XXXX (0023.540D.47ED) from which port.

Note: Please fill in the above IP and mac addresses according to the actual situation.