create console line password packet tracer
// This will set the console line password as "cisco"
// And also then enable login
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#line con 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end