Reset Search
 

 

Article

How to find a device in the network using the EXOS CLI

« Go Back

Information

 
TitleHow to find a device in the network using the EXOS CLI
Objective
How to find a device in the network using the EXOS CLI
Environment
  • All EXOS Platforms
  • All EXOS Network
  • EDP enabled on switch interconnects
Procedure
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>" command.
 
Switch.1# show iparp 1.1.1.1
VR            Destination      Mac                Age  Static  VLAN          VID   Port
VR-Default    1.1.1.1          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

4. Issue the "show fdb <DEVICE_MAC_ADDRESS>" command.  This command will display 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
                                                           Port         Vlans
=============================================================================
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.
Additional notes
This guide assumes an ALL EXOS network that is utilizing EDP on switch interconnects.  A similar procedure could be performed in mixed vendor environments using LLDP or CDP.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255