ā04-29-2019 03:47 AM
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.
Solved! Go to Solution.
ā04-29-2019 04:17 AM - edited ā04-29-2019 04:19 AM
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
ā04-29-2019 04:17 AM - edited ā04-29-2019 04:19 AM
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
ā04-29-2019 04:40 AM
Thank you for the provided information it was very useful.
ā04-29-2019 04:17 AM - edited ā04-29-2019 04:27 AM
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.
ā04-29-2019 04:19 AM
The problem is that trere are a lost of IPs in the arp table and i can't ssh tonone of them
ā04-29-2019 04:25 AM
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?
ā04-29-2019 04:27 AM
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.
ā04-29-2019 04:31 AM
@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?
ā04-29-2019 04:37 AM
Ah, I am too used to play with switching modules ;)
ā04-29-2019 04:39 AM
TBH mate it may have sw module in so its still valid
ā04-29-2019 04:39 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide