January 4

How to find out what switchport a device is connected to in Cisco switch

Problem:

trying to find out which switch port a computer is connected to, the wall jack doesn’t have a label to tell the switchport.

Solutions:

Step 1 use command  terminal monitor

Step 2 disconnect/reconnect the computer from the network

The output shows the computer is connected to interface g1/0/44

Disconnection:

Mar 9 20:46:53.580 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to down

Mar 9 20:46:54.594 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to down

Connection:

Mar 9 20:47:02.311 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to up
Mar 9 20:47:03.311 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to up

Category: Cisco | LEAVE A COMMENT
January 1

How to locate a device using mac address in Cisco switch

  • log into Cisco switch Ping device’s IP address first and

  • find the mac address using show arp | include 99  (note: use include to filter the output)

  • use show mac address-table | include 8cce (note: use part of the mac address to filter the result)

  • Here, we know that the device is connect to port 9

Note: if the one switch is connected to another switch, we can use show cdp neighbors  and show cdp neighbors deail to find out the ip address of the connected switch  .

Category: Cisco | LEAVE A COMMENT