cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
436
Views
0
Helpful
2
Replies

Login issue

sikandars2203
Level 1
Level 1

I'm unable to login a manageable switch from a router. I don't know IP address of switch. How can I access the switch from router by taking ssh.

Switch:2960

2 Replies 2

first try to get IP of switch. you can use CDP neighbors commands to check that or need to manually check that by login to switch. then make sure router have connectivity to that IP and use that to SSH.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Hello,

as far as I recall, you need to use the 'show cdp neighbors detail' command in order to be able to see the IP address:

Switch#sh cdp neighbors gigabitEthernet 0/0 detail
-------------------------
Device ID: Switch
Entry address(es):
IP address: 192.168.1.2
Platform: Cisco , Capabilities: Router Switch IGMP
Interface: GigabitEthernet0/0, Port ID (outgoing port): GigabitEthernet0/0
Holdtime : 175 sec