cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
289
Views
15
Helpful
10
Replies
Highlighted
Beginner

Find ip address of connected device

Hello,

 

I have to find the ip of a switch that is connected to an ISR.

 

How can I find this ip? Right now I only have the IP if the ISR and i can only log into the ISR but i need to log into the switch.

The connection between the 2 devices is with trunk on the switch.

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Advisor

Re: Find ip address of connected device

Hello


@svetoslav141 wrote:

The connection between the 2 devices is with trunk on the switch.


If this the case then i assume the interface on the ISR has sub-interfaces correct?

ISR
sh arp <interface>x/x.y
sh cdp neighbor <interface> detail | in IP



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
10 REPLIES 10
VIP Advisor

Re: Find ip address of connected device

Hello


@svetoslav141 wrote:

The connection between the 2 devices is with trunk on the switch.


If this the case then i assume the interface on the ISR has sub-interfaces correct?

ISR
sh arp <interface>x/x.y
sh cdp neighbor <interface> detail | in IP



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Beginner

Re: Find ip address of connected device

Thank you for  the provided information it was very useful.

VIP Advisor

Re: Find ip address of connected device

Hi there,

Assuming the switch has an IP in a mangment VLAN and that VLAN is part of the trunk link, check the mac-address table on the ISE filtering for both the VLAN and the interface:

 

sh mac-address vlan <management_vlan_id> | inc <interface>

 

Now assuming your ISR has an IP in the management VLAN, you can then check its ARP cache and filter on the MAC address:

 

sh ip arp | inc <mac_address_from_previous_step>

 

cheers,

Seb.

Beginner

Re: Find ip address of connected device

The problem is that trere are a lost of IPs in the arp table and i can't ssh tonone of them

VIP Advisor

Re: Find ip address of connected device

Hello

You should be able to filter on interface as shown, try those two commands i have posted, as for gaining ssh access you sure remote access is enabled for either ssh or telnet?



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
VIP Advisor

Re: Find ip address of connected device

As shown, filter out the layer2 address from the mac-address using VLAN and interface. Once you have the mac-address select it from the ARP cache.

 

All being well you can filter from 000's to just one entry.

 

VIP Advisor

Re: Find ip address of connected device

@Seb Rupik 


@Seb Rupik wrote:

As shown, filter out the layer2 address from the mac-address using VLAN and interface. Once you have the mac-address select it from the ARP cache.

 


On a router?


 

 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
VIP Advisor

Re: Find ip address of connected device

Ah, I am too used to play with switching modules ;)

VIP Advisor

Re: Find ip address of connected device

@Seb Rupik 

TBH mate it may have sw module in so its still valid



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Beginner

Re: Find ip address of connected device

Hello,

Thank you for that it was really helpful.
I found the IP of the switch.
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards