By syntax, this would include the range from 0 to 4, so it includes
all ?¬?ve logical VTY ports, 0??“4.
Use the line console 0 command, followed by the password and login subcommands, to
require login and establish a login password on the console terminal or on a VTY port. By
default, login is not enabled on the console or on VTY ports.
Note that you cannot establish a Telnet connection unless you ?¬?rst set all the vty passwords.
If there are no vty passwords set, when you try to telnet in, you get a ???password required
. . . but none set . . .??? error message, and your attempt to telnet is rejected.
The line vty 0 4 command, followed by the password and login subcommands, requires
login and establishes a login password on incoming Telnet sessions.
Again, for Telnet VTY ports to accept a Telnet EXEC session, you must set the vty
passwords.
The login local command can be used to enable password checking on a per-user basis
using the username and password speci?¬?ed with the username global con?¬?guration
command. The username command establishes username authentication with encrypted
passwords.
Example 2-6 Switch Password Con?¬?guration: Enable Password Con?¬?guration
SwitchX(config)# eennaabbllee ppaasssswwoorrdd cciissccoo
Example 2-7 Switch Password Con?¬?guration: Secret Password Con?¬?guration
SwitchX(config)# eennaabbllee sseeccrreett ssaannffrraann
CAUTION The passwords used in this text are for instructional purposes only.
Pages:
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261