1. Determine the IP address or MAC address of the device that needs to be located.
2. Connect to the core switch (or switch responsible for routing that device's traffic.)
3. If only the IP address is known, the MAC address can be determined by checking the ARP table of the devices gateway/router. Issue the "show iparp <IP_ADDRESS>
Switch.1# show iparp 188.8.131.52
VR Destination Mac Age Static VLAN VID Port
VR-Default 184.108.40.206 02:04:96:99:6d:dc 20 NO Default 12 1
Dynamic Entries : 2 Static Entries : 0
Pending Entries : 0
In Request : 701 In Response : 4824
Out Request : 15147 Out Response : 15
Failed Requests : 1715
Proxy Answered : 0
Rx Error : 0 Dup IP Addr : 0.0.0.0
Rejected Count : Rejected IP :
Rejected Port : Rejected I/F :
Max ARP entries : 8192 Max ARP pending entries : 256
ARP address check: Enabled ARP refresh : Enabled
Timeout : 20 minutes ARP Sender-Mac Learning : Disabled
Locktime : 1000 milliseconds
Retransmit Time : 1000 milliseconds
Reachable Time : 900000 milliseconds (Auto)
Fast Convergence : Off
- NOTE: The switch will only populate ARP entries on a VLAN that is configured for the same subnet as the connecting device. For instance, if a packet sourced form 192.168.1.2 arrived at a switch with a VLAN IP address of 10.0.1.1, the ARP entry would not be learned. Similarly, if the packet sourced form 192.168.1.2 arrived at a switch with a VLAN IP address of 192.168.1.1, then the ARP entry would be learned (subject to subnet mask rules). To configure an IP address on a VLAN, use the command "configure vlan <name> ipaddress <IP_address> [mask | CIDR].
4. Issue the "show fdb <DEVICE_MAC_ADDRESS>
" command. This command is a filtered output of the forwarding database table (i.e. mac address table) and displays the port where this switch has received traffic from the client.
Switch.1# show fdb 02:04:96:99:6d:dc
Mac Vlan Age Flags Port / Virtual Port List
02:04:96:99:6d:dc Default(0001) 0000 s m S 1
5. This port could be connected to another switch or it could be directly connected to the device. EDP can be used to determine if this port is connected to another switch. To check this, issue the "show edp port <PORT_NUMBER>" command:
Switch.2# show edp port 1
Port Neighbor Neighbor-ID Remote Age Num
1 Switch_2 00:00:00:04:96:XX:XX:XX 1:1 55 1
In the above output the port is connected to another EXOS switch (Switch_2). If the port is connected to another EXOS switch, proceed to the next step. If there is no switch connected to this port, this is the port where the device is connected.
6. Connect to the downstream switch (Switch_2 above) and repeat steps 3 and 4. If another switch is found, repeat steps 3-5 as necessary until the device is found.
Note: If the management IP address of the downstream switch is unknown, an IP address may be able to be determined by using the "show edp port <PORT_NUMBER> detail" command.