04-11-2024 09:11 PM
Hi,
Is I need to configure line vty connect on cisco n540x router remotely through ssh.If yes please provide the command. This is really help me.
Thanks,
Prashanth
04-12-2024 08:22 AM
Hi @poojaryp1974 ,
This is on by default. You just need to enable ssh on per VRF basis.
ssh server vrf default (for global)
or
ssh server vrf XXX (where XXX is the specific vrf name)
Regards,
04-14-2024 05:02 AM
Hi Harold,
that means I don’t have to configuration
By default it will it take the line vty 04.
thanks
prashanth
04-14-2024 05:34 AM
Hello,
--> Is I need to configure line vty connect on cisco n540x router remotely through ssh.If yes please provide the command. This is really help me.
What exactly are you trying to accomplish ? Configure the VTY for SSH ? Login through SSH and then configure a VTY line ?
04-14-2024 07:20 PM
04-14-2024 07:53 PM
Hi @poojaryp1974 ,
As stated in my last message, just enable the "ssh server vrf" command and you should be good to go.
Regards,
04-14-2024 08:15 PM
04-14-2024 09:12 PM - edited 04-14-2024 09:13 PM
Hi @poojaryp1974 ,
Yes, the VRF keyword is required. It has to be default, if the ssh server needs to be accessible from the global routing table or the name of the specific vrf for which the ssh server needs to be accessible.
You can have more than one "ssh server vrf" commands if the ssh server needs to be enabled for more then one vrf, for example:
ssh server vrf default
ssh server vrf MGMT
ssh server vrf test
Regards,
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