D. M. K. M dissanayake


Configure the router to log login activity



Download 409.56 Kb.
View original pdf
Page15/27
Date16.12.2020
Size409.56 Kb.
#54802
1   ...   11   12   13   14   15   16   17   18   ...   27
LABS 1-4 ans 1 2
Configure the router to log login activity.
• Configure the router to generate system logging messages for both successful and failed login attempts. The following commands log every successful login and log failed login attempts after every second failed login.
R1(config)# login on-success log
R1(config)# login on-failure log every 2
R1(config)# exit
• Issue the show login command. What additional information is displayed All failed login is logged. All successful login is logged

Test the enhanced login security login configuration.
• From PC-A, establish a Telnet session with R.
PC-A> telnet 10.1.1.1
• Attempt to login with the wrong user ID or password two times. What message was displayed on
PC-A after the second failed attempt Connection to 10.1.1.1 closed by foreign host What message was displayed on the router R console after the second failed login attempt
R1#%SEC_LOGIN-5-LOGIN_FAILED: Login failed user usad] Source 192.168.1.3] [localport:
23] Reason Login Authentication Failed at 02:44:38 UTC Mon Mar 1 1993________________________________________________________________________
• From PC-A, attempt to establish another Telnet session to R within 60 seconds. What message was displayed on PC-A after the attempted Telnet connection Connection refused by remote host What message was displayed on router Rafter the attempted Telnet connection


%SEC_LOGIN-1-QUIET_MODE_ON: Still timeleft for watching failures is 0 secs, user udsasd] Source 192.168.1.3] [localport: 23] Reason Login Authentication Failed [ACL: sl_def_acl] at
02:44:49 UTC Mon Mar 1 1993
_____________________________________________________________________________
_______
• Issue the show login command within 60 seconds. What additional information is displayed
Router presently in Quiet-Mode.
Will remain in Quiet-Mode for 54 seconds.
Denying logins from all sources
_____________________________________________________________________________
_______


Download 409.56 Kb.

Share with your friends:
1   ...   11   12   13   14   15   16   17   18   ...   27




The database is protected by copyright ©ininet.org 2024
send message

    Main page