Purpose
Command or Action
(Optional)
Displays the login failure message configuration.
switch#
show aaa authentication
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch#
copy running-config
startup-config
Step 5
Logging Successful and Failed Login Attempts
You can configure the switch to log all successful and failed login attempts to the configured syslog server.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
Step 1
Logs all failed authentication messages to the configured
syslog server. With this configuration, the following syslog
message appears after the failed login:
[
no
]
login on-failure log
Example:
switch(config)#
login
on-failure log
Step 2
AUTHPRIV-3-SYSTEM_MSG: pam_aaa:Authentication
failed for user admin from 172.22.00.00
When logging level authpriv is 6, additional Linux
kernel authentication messages appear along with
the previous message. If these additional messages
need to be ignored, the authpriv value should be set
to 3.
Note
Logs all successful authentication messages to the configured
syslog server. With this configuration, the following syslog
message appears after the successful login:
[
no
]
login on-success log
Example:
switch(config)#
login
on-success log
Step 3
AUTHPRIV-6-SYSTEM_MSG: pam_aaa:Authentication
success for user admin from 172.22.00.00
When logging level authpriv is 6, additional Linux
kernel authentication messages appear along with
the previous message.
Note
(Optional)
Displays whether the switch is configured to log failed
authentication messages to the syslog server.
show login on-failure log
Example:
switch(config)#
show login
on-failure log
Step 4
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
15
Configuring AAA
Logging Successful and Failed Login Attempts
Содержание Nexus 3600 NX-OS
Страница 10: ...Cisco Nexus 3600 NX OS Security Configuration Guide Release 7 x x Contents ...
Страница 20: ...Cisco Nexus 3600 NX OS Security Configuration Guide Release 7 x 6 Overview IP ACLs ...
Страница 42: ...Cisco Nexus 3600 NX OS Security Configuration Guide Release 7 x 28 Configuring AAA Default AAA Settings ...