Show current authentication configurations

Syntax

show authentication

Description

This command lists the number of login attempts the switch allows in a single login session, and the primary/secondary access methods configured for each type of access.

show authentication

switch(config)# show authentication
Status and Counters - Authentication Information
  login Attempts : 3 
  Lockout Delay : 0   
  Respect Privilege : Disabled 
  Bypass Username For Operator and Manager Access : Disabled

                 | Login          Login        Login
  Access Task    | Primary        Server Group Secondary
  -------------- + -----------    ------------ ----------
  Console        | Local                        None
  Telnet         | Local                        None
  Port-Access    | Local                        None
  Webui          | Local                        None
  SSH            | Two-factor                   None
  Web-Auth       | ChapRadius      radius       None
  MAC-Auth       | ChapRadius      radius       None
  SNMP           | Local                        None 
  Local-MAC-Auth | Local                        None

  Enable         | Enable         Enable
  Access Task    | Primary        Server Group Secondary
  -------------- + -----------    ------------ ----------
  Console        | Local                        None
  Telnet         | Local                        None
  Webui          | Local                        None
  SSH            | Two-factor      tacacs       None

show authentication two-factor

switch(config)# show authentication 
 last-login            Show, for each switch user, information about the last 
                       successful login and unsuccessful login attempts.
 locked-out-users      Show, all the users which are in locked state.
 two-factor            Show, for the two-factor, first and second 
                       authentication methods
switch(config)# show authentication two-factor
                 | Login          Login        
  Access Task    | First          Second
  -------------- + -----------    ------------ 
  SSH            | public-key     local

                 | Enable         Enable        
  Access Task    | First          Second
  -------------- + -----------    ------------ 
  SSH            | public-key     local

                 | Login          Login        
  Access Task    | First          Second
  -------------- + -----------    ------------ 
  SSH            | certificate    local

                 | Enable         Enable        
  Access Task    | First          Second
  -------------- + -----------    ------------ 
  SSH            | certificate    local