# Exercise 5 (1/2) configure passwords

- ## there are (at least) 6 passwords to be set: console login password, 4 vty passwords, and the enable password

  - set the console password

    > router(config)#line con 0
    > router(config-line)#password mysecret

  - set the vty passwords

    > router(config-line)#line vty 0 4
    > router(config-line)#password mysecret
    > router(config-line)#exit

  - set the enable password

    > router(config)#enable password mysecret
    > router(config)#^Z

Previous slide | Next slide | Back to first slide | View graphic version