Configuring authentication in the devices

About this task

To configure the authentication in the switches, use the following steps:

Procedure

  1. Configure the username and password with privilege by using the following command,
    device(config)# username <username> privilege <0> password 
    (Enter new password:)*******
    Note

    Note

    Each privilege has roles defined. For example: 0: read/write, 4: port configuration, 5: Read only.
  2. Use following configuration to configure different authentication methods (Radius, Local):
    device(config)# aaa authentication login default radius local-auth-fallback
  3. Use following configuration to configure one or more Radius servers:
    device(config)# radius-server host <ip> ssl-auth-port <ssl-port> default key <keystring>