7-32
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 7 Administering the Switch
Configur ing the Switch for Local Authentica ti on and Authori z ation

Configuring the Switch for Local Authentication and

Authorization

You can configure AAA to operate without a server by setting the switch to implement AAA in local
mode. The switch then handles authentication and authorization. No accounting is available in this
configuration.
Beginning in privileged EXEC mode, follow these steps to configure the switch for local AAA:
To disable AAA, use the no aaa new-model global configur ati on comm a nd. To disable aut hori zat ion,
use the no aaa autho rizat ion {network | exec} method1 gl obal configura tio n com mand .
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 aaa new-model Enable AAA.
Step 3 aaa authentication login default local Set the logi n authe nticat ion to use the l ocal userna me data base. Th e
default keyword applies the local user database authentication to all
interfaces.
Step 4 aaa aut hori zat ion exe c loc al Configure user AA A authoriza tion to determin e if the user is allowed to
run an EXEC shell by checking the local database.
Step 5 aaa authori zation network loca l Configure user AAA aut horizat ion for all net work-rela ted service
requests.
Step 6 username name [privilege level]
{password encryption-type password}Enter the local database, and establish a username-based authentication
system.
Repeat this command for each user.
For name, specify the u ser ID as o ne wor d. Spac es an d quot at ion
marks are not allowed.
(Optiona l) For level, specify the privilege level the user has after
gainin g access. The range is 0 to 15. Lev el 15 gi ves pri vile ged EXEC
mode access. Level 0 gives user EXEC mode access.
For encryption-type, enter 0 to specify that an unencrypted password
follows. Enter 7 to specify that a hidden password follows.
For password, specify the password the user must enter to gain access
to the switc h. The passwor d must be from 1 to 25 char acters , can
contain embedded spaces, and must be the last option specified in the
username command.
Step 7 end Return to privileged EXEC mode.
Step 8 show running-config Verify yo ur ent rie s.
Step 9 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.