local makes you use a username and password assigned locally to a user
Local means to check the user/pass against the locally configured database (configured on that router). The login command just asks for the password you have on the vty line like others have stated.