10-01-2009 01:07 PM - edited 03-04-2019 06:13 AM
I have a 3825 running c3825-advipservicesk9-mz.124-13b.bin. I have multiple VRFs defined on it. Is there a way to ssh from the router to a host inside a VRF similar to:
telnet 192.168.1.5 /vrf word
10-01-2009 08:41 PM
As of 12.4(20)T, the ssh command supports a -vrf option. It has not been merged into other trains.
10-02-2009 08:43 AM
Would this be the correct syntax?
ssh -l user 192.168.1.5 -vrf
When I do this, it gives me the error:
% Destination unreachable; gateway or host down
However, I can ping inside the VRF and get a reply.
10-02-2009 08:52 AM
You're missing the actual VRF name. The syntax would be:
ssh -l user -vrf NAME 192.168.1.5
Where NAME is the name of the VRF.
10-02-2009 09:04 AM
I get the following error:
router#ssh -l user -vrf name 192.168.1.5
^
% Invalid input detected at '^' marker.
10-02-2009 09:06 AM
Unless you're running 12.4(20)T or higher, you don't have this command. I had assumed you upgraded, but if you're still on 12.4(13b), then you will not be able to use SSH with VRF support.
10-02-2009 09:47 AM
Thanks for heads up, I will give this a try in the lab. This will certainly help if I can make it work.
11-24-2009 01:21 PM
jclarke,
We're trying to do the same thing except with a 6509-E running 12.2(33)SXH4. Is there an IOS for the 6509-E that will allow us to SSH through a VRF?
Thanks,
Jesse
11-24-2009 01:28 PM
I do not see a version of CatIOS which supports this command. I only see that it was integrated into 12.4(20)T.
11-24-2009 03:12 PM
Ok, thanks.
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