Answer to your question is yes you can encrypt usernames -
First, enable password encryption to hide the clear-text passwords in the configuration.
> service password-encryption
Now define the password,
i.e. username admin password admin1
So now admins password is now admin1 and when displayed on the routerss configuration, youll see the passwords in their encrypted form:
Username admin password 7 045673A0CBX1
The only drawback to this is that its not manageable, for instance if you need to work with more than a few users and one or two routers.
The better solution to this is to make a central authentication repository using authentication protocol, and configure the router to use the authentication server. There are several different protocols that you can use but the most popular are XTACACS, Radius, and TACACS+.TACACS+ uses the AAA protocol and is supported by the CiscoSecure product.
To answer your original question, no , there is no way to encrypt the username in a router config. Also, keep in mind that encrypting the passwords using level 7 is *very* insecure also and they can be easily unencrypted in about half a second.
You're better off storing all these on a separate authentication server. If you have Win2K server then it comes with a free Radius server that you can use.
DocumentationCode download linksGoalRequirementLimitationsSupported ISR
and UCS-E ModelSupported ISRG2 and UCS-E Blades:Supported ISR4K and
UCS-E Blades:Step by Step ConfigurationConfigure one of the connectivity
options to access the Cisco IMC from the n...
Firepower Threat Defense (NGFWv) on UCS E-series - Transparent Mode in
HA DocumentationCode download linksGoalRequirementLimitationsSupported
ISR and UCS-E ModelSupported ISRG2 and UCS-E Blades:Supported ISR4K and
UCS-E Blades:Step by Step ConfigurationCo...
Question I am currently unable to specify "crypto keyring" command when
configuring VPN connection on my cisco 2901 router. The following
licenses have been activated on my router :