cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4969
Views
5
Helpful
18
Replies

how to log the trials of telnet access on my router ?

Dr.X
Level 2
Level 2

hi ,

im using telnet access , with no access list nor any restrictions .to telnet .

i want to log all the trials of access my telnet router whatever it succeded or  failed .

i want the ips of who has tried to access my telnet with wrong passwords ,

could i know who tried to guess the password  ????

wt commands i need ???

regards

18 Replies 18

hi ahmed,

unfortunately, you won't see the incorrect password typed-in using a show command for this kind of setup.

hi ,

another question

how to let the login failure line consolse at max

i mean it just display only about 50 lines in login failures attempts and after that it override the old lines

my request is how to increase the login failures lines when i type the command sh login failures ???

regards

hi ,

i have a  aother problem ,

when i perform

login block-for 10 attempts 3 within 60

command , and some body lock the telnet access by exceeding the number of trails ,

when i type the commadn sh login failures , it seems to be empty !!!!!!!!!!!

i mean that if i configured  

login block-for 10 attempts 3 within 60

for command and somebody exceeded the trials , and  i tried to showe the failed logins , ========> it just show the last login and clear the previous   failed logins ,

my question is how to still let it showing the previuos failed logins  after applying

login block-for 10 attempts 3 within 60

  command ???

regards

To log all the trials of access my telnet router do

username ciscoxxx privil 15 passw 0 ciscoxxx

!

access-list 23 permit any log

!

line vty 0 4

access-class 23 in

  login local

transport input all

line vty 5 15

access-class 23 in

login local

transport input all

this will log all telnet attempts like

2960_48#sh logg

.......

Aug  9 15:27:53.844: %SEC-6-IPACCESSLOGS: list 23 permitted 192.168.2.1 2 packets

amd dont forget to rate post when you check config

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: