How to Create Cisco Router Password for Different Modes?
I want to show you in this article basic routing configuration. But before this ı must explain the mod of routing. Now let starting.
There are 3 main modes of routing. User mode, privileged mode, global configuration mode. there are some more modes but all of them are under the global configuration mode.
route>This mode is named user mode. Provides only some basic monitoring commands such as; show version, show flash, show IP interface brief and ping, traceroute. modifications and configuration are not allowed in this mode.
1 2 3 | route> enable route# |
route# This mode is named privileged mode. İn this mode is passed from the user-mode with the enable command. provide monitoring and some troubleshooting.
1 | router#configure terminal |
router(config)# This mode is named global configuration mode. provide all configuration that affects the entire router.
CHANG HOSTNAME:
1 2 3 4 5 6 7 | route> enable router#configure terminal router(config)#Hostname R-1 R-1(config)# |
ASSİGNİNG CONSOLE PASSWORD: This password is for the console connection.
1 2 3 4 5 6 7 8 9 | route> enable router#configure terminal Router(config)#line console 0 Router(config-line)#password CONSOLE (LİNE MODE) Router (config-line)#login |
ENABLE PASSWORD: This is for the enable mode.
1 2 3 4 5 | route> enable router#configure terminal Router(config)#enable password 1881 |
ENABLE SECRET PASSWORD: This password is for the enable mode as well but this is invisible. if this is used, the enable password becomes invalid.
1 2 3 4 5 | route> enable router#configure terminal Router(config)#enable secret 2020 |
ASSİGNİNG AUX PASSWORD: This password for the access on the modem
1 2 3 4 5 6 7 8 9 | route> enable router#configure terminal Router(config)#line aux 0 Router(config-line)#password AUX (LİNE MODE) Router (config-line)#login |
ASSİGNİNG TELNET PASSWORD: This password for the remote access
1 2 3 4 5 6 7 8 9 | route> enable router#configure terminal Router(config)#line vty 0 4 How many user can connection.(most 4 user ) Router(config-line)#password TELNET (Line Mode) Router (config-line)#login |
SOME USEFUL COMMANDS:
1 | Router(config-line)#exec-timeout 10 10 |
This command sets the timeout for the console connection. The first number After the exec-timeout is minute, the second number is the second.
1 | Router(config-line)#logging syncronous |
This command blocks console messages that suddenly pop up and interrupt your entries you try to write.
1 | Router(config-if)#description THİS İS MY DESCRİPTİON |
used to put any interface comments
1 | Router(config)#banner motd *..........message............* |
banner message for the caution
1 | Router(config)#service password-encryption |
All messages are visible except the enable secret password. When someone uses show running-config
command on the router. This command is used to make passwords invisible.
I hope it was a useful article.