📅  最后修改于: 2022-03-11 14:58:34.152000             🧑  作者: Mango
// 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