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

%Error in connect v4 - Connection refused between CRS-1(IOS-XR) and ASR1k (IOS-XE)

Sergio_Garcia
Level 1
Level 1

Hello guys,

I am facing a new challenge, I have two interconnected equipments in which it is not possible to have remote access being inside one of them to the other via the SSH v2 protocol.

When I try to access from CRS-1 (IOS-XR) to ASR1k (IOS-XE) point-to-point using the syntax below I get the following message on the screen:

RP / 0 / RP1 / CPU0: ios-xr # ssh 172.1.1.1
% Error in connect v4 - Connection refused

RP / 0 / RP1 / CPU0: ios-xr #

Both devices are only allowing the SSH protocol according to the configuration below:

IOS-XR

! Only allow SSH in vty line
line default
  users group sysadmin
  users group root-system
  length 0
  transport input ssh
!

IOS-XE

line vty 0 4
  access-class 30 in vrf-also
  logging synchronous
  transport input ssh
!

Could you help me get over this issue sff?

greetings

Sérgio Garcia

2 Replies 2

smilstea
Cisco Employee
Cisco Employee

Do you have an available VTY line on the XE device?

Any syslogs from the XE device?

Can you SSH the XE device from any other devices or your laptop?

Can you verify that the CRS IP being used to source the SSH session is in the ACL on the XE device (access-class 30)?

 

Thanks,

Sam

aleosori
Cisco Employee
Cisco Employee

I think you need to enable server

 

RP/0/0/CPU0:Router1(config)#ssh server v2