Sunteți pe pagina 1din 1

User EXEC mode privilege level 1

Privileged EXEC mode privilege level 15

To set or change a static password that controls access to privileged EXEC (


enable) mode, use the following command in global configuration mode:
Router(config)# enable password password
Router(config)# enable secret password

to define a password for a specific privilege level


Router(config)# enable password level 5 password
Router(config)# enable secret level 5 password

this command will encrypt your passwords


#service password-encryption

To show privilege level


#show privilege

Create users:
router(config)# username hashmat password test privilege 3
router(config)# user support privilege 3 password support

Assign commands to this level:


router(config)# privilege exec level 3 show startup-config

Saves configurations:
Router# do copy running-config startup-config

This will exit console connection after 30 seconds.


#line console 0
#password cisco
#login
#exec-timeout 0 30

Enable password
router(config)# enable secret cisco
to show running configuration
#show running-config

how to set banner


router(config)#banner motd @

S-ar putea să vă placă și