[c-nsp] acces list help and best way to do acess-list

adrian kok adriankok2000 at yahoo.com.hk
Sat Nov 1 07:51:51 EDT 2008


Hi

I have this original access-list in running config

access-list 20 deny 192.168.0.0
access-list 20 permit any
line vty 0 4
access-class 20 in



and want to change to add log "access-list 20 deny
192.168.0.0 0.0.0.255 log"

When I change 
router(config)#access-list 20 deny 192.168.0.0
0.0.0.255 log
I realize it can't be changed and have to use "no"
router(config)#no access-list 20 deny 192.168.0.0
0.0.0.255



When I use this command, I almost lost the connection
from anywhere. 

My questions

1/ how can I prevent it happens?

2/ What is the best way to do the access-list in "line
vty"?

3/ ls it good to use log in access-list?
Not sure how router busy or not?

thank you









Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the cisco-nsp mailing list