need to configure line vty connect n540x router remotely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
WAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Harold Ritter, CCIE #4168 (EI, SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 07:20 PM
I am trying to connect router through ssh remotely and so I need to
configure line vty or not.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Harold Ritter, CCIE #4168 (EI, SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 08:15 PM
Is vrf configure is must and if yes please provide me
Exact command.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Harold Ritter, CCIE #4168 (EI, SP)
