cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
398
Views
1
Helpful
7
Replies

need to configure line vty connect n540x router remotely

poojaryp1974
Level 1
Level 1

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

7 Replies 7

Harold Ritter
Level 12
Level 12

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
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi Harold,

that means I don’t have to configuration 

By default it will it take the line vty 04.

 

thanks

prashanth

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 ?

Hi ,

I am trying to connect router through ssh remotely and so I need to
configure line vty or not.

Thanks
Prashant

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
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi

Is vrf configure is must and if yes please provide me
Exact command.

Thanks
Prashant

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
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card