How To Find Mac Address On Cisco Ip Phone
In everyday piece of work, it'south frequently necessary to determine the switch and port a user or device is continued to. To exercise it, you don't have to look for it visually. All you need is to know its MAC address.
The point is that each switch stores information nearly all MAC addresses that showed at least any network activity in the final few minutes. Your chore is to utilize this information wisely.
And then, let's say y'all demand to find the switch port a user John is continued to. It's known that the IP address of his computer is 192.168.x.100
At that place are two possible ways of how y'all can determine the MAC accost:
- To execute the ipconfig /all command in the command line on the user's reckoner
Or
- To learn the MAC address remotely if you know the user's computer IP address. It'due south possible if you have access to a Cisco router or Cisco ASA firewall which is the default host gateway. The ARP tabular array on these devices volition contain the compliance of the MAC and IP addresses.
For searching, use the sh arp | inc x.ten.x.x command, where x.ten.10.ten is the IP of the host nosotros need.
R-DELTACONFIG-i# sh arp | inc 192.168.10.100
Protocol Accost Age (min) Hardware Addr Type Interface
Internet 192.168.10.100 236 78ac.c0bb.74f2 ARPA Vlan10
Equally we see, the device with the 192.168.10.100 IP accost has the 78ac.c0bb.74f2 MAC accost and is located in VLAN 10.
Having determined the device'due south MAC address, you can keep on searching for its direct location on the switch.
The show mac accost-tabular array command (information technology can sometimes exist written with an additional hyphen instead of a space, similar this: show mac — accost-table) shows the MAC address tabular array of all active devices that are connected to the switch.
SW-DELTACONFIG-1# sh mac address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 1111.1111.1111 DYNAMIC Fa0/1
2 2222.2222.2222 DYNAMIC Fa0/2
3 3333.3333.3333 DYNAMIC Fa0/3
4 4444.4444.4444 DYNAMIC Fa0/4
Usually, there are a large number of records shown at this table. For more convenience, you can filter the necessary МАС address. Usually, 4 last symbols will be enough. In our case, search for the 78ac.c0bb. 74f2 MAC address looks and then:
SW-DELTACONFIG-i#sh mac address-tabular array | inc 74f2
10 78ac.c0bb.74f2 DYNAMIC Gi0/1
The output line shows that the host is located in VLAN 10 and is continued to a port of the Gigabitethernet 0/i switch.
If you have a pocket-sized office and all network is organized only using ane switch, your search is finished. But if there are several switches in the network, it'due south possible that you lot plant not the last one. Sometimes, another switch is connected to the found port of the current switch. In this instance, you should repeat search in the MAC addresses table of the neighboring switch.
If you have several switches in your role, use the sh cdp neighbors control to make up one's mind the name and accost for running the neighbor switch. The control volition show you names and related ports of all the Cisco switches that are connected to the current switch. The sh cdp neighborsdetail control will additionally prove the IP addresses for controlling the neighbor switches.
SW-DELTACONFIG-1# sh cdp neighbors
Capability Codes: R - Router, T - Trans Span, B - Source Route Span
S - Switch, H - Host, I - IGMP, r - Repeater, P - Telephone
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW-DELTACONFIG-ii
Gig 0/1 123 S I WS-C3560G- Gig 0/18
Device ID (SW-DELTACONFIG-2) – the proper noun of the neighbor device
Local Intrfce (Gig 0/1) –the local interface where the neighbour switch is continued to
Port ID (Gig 0/xviii) – the interface of the neighbor switch.
SW-DELTACONFIG-one#sh cdp nei detail Now yous should connect to the neighbor switch SW-DELTACONFIG-two with the running accost 192.168.1.202 and discover the necessary MAC address there.
-------------------------
Device ID: SW-Examination-ii
Entry accost(es):
IP address: 192.168.1.202
Platform: cisco WS-C2960-24TT-L, Capabilities: Switch IGMP
Interface: GigabitEthernet0/1 , Port ID (outgoing port): GigabitEthernet0/18
Holdtime : 144 sec
With proper skill, this method will allow yous to notice hosts in a network of any size in no more than a couple of minutes without evenhttps:// abroad from your workplace.
This article was written by Alexey Yurchenko
Back to Table of contents
How To Find Mac Address On Cisco Ip Phone,
Source: https://deltaconfig.com/find-a-host-by-mac-address/
Posted by: pennywilsock.blogspot.com

0 Response to "How To Find Mac Address On Cisco Ip Phone"
Post a Comment