cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2232
Views
5
Helpful
6
Replies

unable to ping and acces ssh on switch Cisco 2960xr 48 port

statio
Visitor

hi everyone

 

when changing my cisco Cisco 2960xr 24 port to another switch Cisco 2960xr 48 port i was unable to acces ssh

NB: i upload the config file of the 24 port to the 48 port

here is my config

-------------------------------------------------

interface Vlan1
ip address 192.168.0.116 255.255.254.0
no ip route-cache
shutdown
!
ip default-gateway 192.168.0.254
ip forward-protocol nd
!
no ip http server
no ip http secure-server
ip ssh time-out 60
ip ssh logging events
ip ssh version 2
!
!
!
!
snmp-server community forescout RO
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server host 192.168.0.198 forescout
snmp mib flash cache
!
line con 0
logging synchronous
login local
history size 200
line vty 0 4
logging synchronous
login local
line vty 5 15
logging synchronous
login local
transport input ssh
!
!
end

SW-2960XR-Risler#exit

 

can you help me please

 

cordially

 

2 Accepted Solutions

Accepted Solutions

Mark Elsen
Hall of Fame
Hall of Fame

 

               - You may need to create the crypto key(s) again (too) : https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_3_e/consolidated_guide/b_1523e_consolidated_2960x_cg/b_consolidated_152ex_2960-X_cg_chapter_0100110.pdf

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

View solution in original post

carstenlymann1
Level 4
Level 4

yes create a new crypto key should get you running

 

conf terminal

crypto key generate rsa

2048 bits is currently recommended

Please remember to select a correct answer and rate helpful posts
/ Carsten

View solution in original post

6 Replies 6

Mark Elsen
Hall of Fame
Hall of Fame

 

               - You may need to create the crypto key(s) again (too) : https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_3_e/consolidated_guide/b_1523e_consolidated_2960x_cg/b_consolidated_152ex_2960-X_cg_chapter_0100110.pdf

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Hi,

thank you for you answer , i shall try and get you back

cordially

Thank you marce1000

carstenlymann1
Level 4
Level 4

yes create a new crypto key should get you running

 

conf terminal

crypto key generate rsa

2048 bits is currently recommended

Please remember to select a correct answer and rate helpful posts
/ Carsten

statio
Visitor

hi every one ,

i tried to regenerate the ssh key but the issue still the same

 

SW-2960XR-Risler#show ip ssh
 
SSH Enabled - version 2.0
Authentication methods:publickey,keyboard-interactive,password
Authentication Publickey Algorithms:x509v3-ssh-rsa,ssh-rsa
Hostkey Algorithms:x509v3-ssh-rsa,ssh-rsa
Encryption Algorithms:aes128-ctr,aes192-ctr,aes256-ctr
MAC Algorithms:hmac-sha1,hmac-sha1-96
KEX Algorithms:diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
Authentication timeout: 60 secs; Authentication retries: 3
Minimum expected Diffie Hellman key size : 2048 bits
IOS Keys in SECSH format(ssh-rsa, base64 encoded): TP-self-signed-959778176
Modulus Size : 1024 bits
 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQClCn92ynomKPUsJFOwU1wLjdgbsSR+LOZtcCkLeCR3
IrhrE4pH0eyrrJgh4B9EBBifyK0f7becNTW4G/HOTUZDk0CmaGYiaqFr7wv7bx9wk1kLbwNDZApoQRQK
GxcX5w3lmQw7dspoWvQWPAbk69vEzuUMSQmbsR30f3M2MJ91Dw==
 
 
 
SW-2960XR-Risler#show ssh
%No SSHv2 server connections running.
 
Do you have other solutions for my issue
cordially

Hi

interface Vlan1
ip address 192.168.0.116 255.255.254.0
no ip route-cache
shutdown"

 
Your interface vlan is shutdown.

interface vlan 1

no shutdown

 

Save config 

wr