Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

LMS 3.2 netconfig telnet password configuration customization

I am trying to configure telnet vty password using netconfig. I want to make the configuration only for line vty 0-4 however I am not able to find a way to define the line numbers. Moreover it also has the login command added by itself.

The default configuration it shows is as follows -

line vty 0 %MAXLINENUMBER%
password *******
login %authentication default%
exit

 

And how I want to configure is as follows - 

 

line vty 0 4
password *******
exit

 

Please suggest if there is any way.

 

 

 

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Hi SoniyaYour're quite

Hi Soniya

Your're quite correct, in thinking that this might not work. But lucky for you - it does work.

Simply paste the whole config you need in the ad-hoc tasks and deply it.

Like this:

 

line vty 0 4

password cisco12345

login

 

That's it, - no need to add "exit" either.

 

hope it helps. cheers.

Pierre

5 REPLIES
Cisco Employee

Try to select the Adhoc task

Try to select the Adhoc task under General where you dont have to configure as per a predefined template, instead you can configure your own CLI command lines to be deployed on device.

-Thanks

Vinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Thanks Vinod for the

Thanks Vinod for the suggestion. However, I had checked the adhoc option as well. In adhoc I have options to configure commands in enable mode or config mode but for vty I need to enter the line mode before i give the password command. Or may be I miss something here.

 

Regards,

Soniya

Bronze

Hi SoniyaYour're quite

Hi Soniya

Your're quite correct, in thinking that this might not work. But lucky for you - it does work.

Simply paste the whole config you need in the ad-hoc tasks and deply it.

Like this:

 

line vty 0 4

password cisco12345

login

 

That's it, - no need to add "exit" either.

 

hope it helps. cheers.

Pierre

New Member

 Thanks Pierre. It worked :

 

Thanks Pierre. It worked :)

Soniya

Cisco Employee

Great to know it worked. I

Great to know it worked. I was sure you can simply configure it without thinking of submode.

-Thanks

Vinod

 

-Thanks Vinod **Rating Encourages contributors, and its really free. **
45
Views
0
Helpful
5
Replies