line vty Configuration Command

line vty CISCO Switch Command in Linux

Explanation


line vty(Virtual Terminal lines) command is used to change the telnet connection settings.

Usage:

line vty

Example:

Enable 10 telnet session [ vty0 - vty9] for router and set their password to hioxindia,
HSCRIPTS#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
HSCRIPTS(config)#line vty 0 9
HSCRIPTS(config)#password hioxindia
HSCRIPTS(config)#login
HSCRIPTS(config)#exit
HSCRIPTS(config)#show running-config

Enable 6 telnet session [ vty10 - vty15] for router and set their password to hiox
HSCRIPTS#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
HSCRIPTS(config)#line vty 10 15
HSCRIPTS(config)#password hiox
HSCRIPTS(config)#login
HSCRIPTS(config)#exit
HSCRIPTS(config)#show running-config

Note:
To make any cofiguration changes, you need to log into 'configure terminal'.

Ask Questions

Ask Question