Targeting a login account in routers:


Router(config)# username root secret My$Password


After targeting a user name, you must enable the use of the user name of the port. For example:


Router(config)# line con 0
Router(config-line)# login local
Router(config)# line aux 0
Router(config-line)# login local
Router(config)# line vty 0 4
Router(config-line)# login local


Set up a host name in routers:


Router(config)# hostname Router-Branch-23


You can configure a domain name in routers, so that it knows which DNS domain it is in.


For example: Router-Branch-23(config)# ip domain name TechRepublic.com


To enter the privilege mode Password:


Router(config)# enable secret My$Password


Encryption router password:


Router(config)# service password-encryption


~ Asked by odelia, On: Jun 5, 2008